power_insn: fix AA match
authorDmitry Selyutin <ghostmansd@gmail.com>
Fri, 7 Oct 2022 12:15:09 +0000 (15:15 +0300)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 2 Jun 2023 18:51:15 +0000 (19:51 +0100)
src/openpower/decoder/power_insn.py

index ca90eb8032cf0f94769a5133c003d947d9be1c84..facfb1e0bb91360547cd83ec6dcaf3d990ee513b 100644 (file)
@@ -2220,7 +2220,7 @@ class PPCDatabase:
                 return None
             alias = LK_match(name[:-1])
             if alias is None:
-                return None
+                alias = name[:-1]
             record = records[alias]
             if record.intop not in {_MicrOp.OP_B, _MicrOp.OP_BC}:
                 raise ValueError(record)