bug 1228: dcbt* to match against nop, not dc* in ISACaller
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 3 Dec 2023 17:45:53 +0000 (17:45 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 3 Dec 2023 17:45:53 +0000 (17:45 +0000)
src/openpower/decoder/isa/caller.py

index 0c568908ec2cbeb2cc0c56a0112714256f371b35..46876cf94eaa3345745aecec8e07b77d1e9feca8 100644 (file)
@@ -2203,7 +2203,7 @@ class ISACaller(ISACallerHelper, ISAFPHelpers, StepLoop):
             ins_name = dotstrp
 
         # match against instructions treated as nop, see nop below
-        if asmop.startswith("dc"):
+        if asmop.startswith("dcbt"):
             illegal = False
             ins_name = "nop"