From fd6e52adb03a963020b458a89430766ea1bda53b Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 13 Apr 2016 17:30:09 +0200 Subject: [PATCH] "xori" is sometimes disassembled as "not" (with -1 imm) --- scripts/torture/asmcheck.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/torture/asmcheck.py b/scripts/torture/asmcheck.py index 4e5e4e3..8a22c67 100644 --- a/scripts/torture/asmcheck.py +++ b/scripts/torture/asmcheck.py @@ -9,6 +9,7 @@ def match_insns(s1, s2): if s1 == "*" or s1 == s2: return True if s1 == "jal" and s2.startswith("j"): return True if s1 == "addi" and s2 in ["li", "mv"]: return True + if s1 == "xori" and s2 == "not": return True if s1 == "sub" and s2 == "neg": return True if s1.startswith("b") and s2.startswith("b"): return True if s1.startswith("s") and s2.startswith("s"): return True