aboutsummaryrefslogtreecommitdiff
path: root/differential-tests
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-03-17 08:49:55 +0000
committeriximeow <me@iximeow.net>2024-03-17 08:49:55 +0000
commit85456e92b038f6e7c75c8714fb8dd4331e813c79 (patch)
tree4b737cd903d4861f5cd7e9f239ead30d77641bc9 /differential-tests
parenta5742df07225c1063df5246b760951774290e87a (diff)
differential tests: more unneeded special cases
Diffstat (limited to 'differential-tests')
-rw-r--r--differential-tests/tests/capstone-differential.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/differential-tests/tests/capstone-differential.rs b/differential-tests/tests/capstone-differential.rs
index 459c9d6..bde624f 100644
--- a/differential-tests/tests/capstone-differential.rs
+++ b/differential-tests/tests/capstone-differential.rs
@@ -451,14 +451,6 @@ fn capstone_differential() {
}
}
- if yax_text.replace("lsl", "uxtw") == cs_text {
- return true;
- }
-
- if cs_text.starts_with("ubfx ") {
- return true;
- }
-
// some instructions like `11400000` have an immeidate lsl #12 as their
// last operand. yax normalizes this to an unshifted `imm << 12`, capstone
// just prints lsl #12.
@@ -466,13 +458,6 @@ fn capstone_differential() {
return true;
}
- // yax and capstone deal with immediates in `mov reg, imm` a little
- // differently. they're correct, but displayed differently (0xffffffff
- // instead of -1)
- if cs_text.starts_with("mov ") && yax_text.starts_with("mov ") {
- return true;
- }
-
// capstone just shows empty string for unrecognized prf{,u}m immediates,
// leaving broken text
if cs_text.starts_with("prfum ") && yax_text.starts_with("prfum ") {