From d35cbbd9634512b936ec664bf5e06d364bb6d8b7 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Fri, 7 Oct 2022 15:15:09 +0300 Subject: [PATCH] power_insn: fix AA match --- src/openpower/decoder/power_insn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2