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:48:21 +0000 (17:48 +0000)
src/openpower/decoder/isa/caller.py

index be7850287f9f2fc7153a30276388c032b938e04a..e32116b2d7bcbf6d008628df4ad4871d64540d5c 100644 (file)
@@ -2105,7 +2105,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"