From: Dmitry Selyutin Date: Fri, 7 Oct 2022 12:15:09 +0000 (+0300) Subject: power_insn: fix AA match X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=475b30a43b9c6263ef57c609cbc80330614ed877;p=openpower-isa.git power_insn: fix AA match --- diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index ca90eb80..facfb1e0 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -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)