1
0
Fork 0
mirror of https://github.com/YosysHQ/picorv32.git synced 2025-01-03 03:43:38 -05:00

"xori" is sometimes disassembled as "not" (with -1 imm)

This commit is contained in:
Clifford Wolf 2016-04-13 17:30:09 +02:00
parent fb3178c4b7
commit fd6e52adb0

View file

@ -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