add missing case name RC_OE RC_ONLY in power_insn.py
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 1 Sep 2022 15:51:06 +0000 (16:51 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 1 Sep 2022 15:51:06 +0000 (16:51 +0100)
src/openpower/decoder/power_insn.py

index adb1c86afb620533d16f2f1305b1113a7fb4cef9..782175120d676448f55955b141d68e18ef586d96 100644 (file)
@@ -717,7 +717,7 @@ class Database:
                     svp64 = svp64db.get(identifier)
                     if ppc.rc is _RCOE.ONE:
                         variants = {name:True for name in ppc.names}
-                    elif ppc.rc is _RCOE.RC:
+                    elif ppc.rc in [_RCOE.RC_OE, _RCOE.RC_ONLY]:
                         variants = {name:False for name in ppc.names}
                         variants.update({f"{name}.":True for name in ppc.names})
                     else: