From 7f94b06feacde5556bf96de924068a28dc7afae5 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Mon, 12 Sep 2022 20:32:49 +0300 Subject: [PATCH] power_insn: fix RCOE check --- 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 f76e7715..6d9cf1ee 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -1713,7 +1713,7 @@ class PPCDatabase: if not key.endswith("."): return False - if not record.Rc is _RCOE.RC: + if record.Rc is _RCOE.NONE: return False return exact_match(key[:-1], record) -- 2.30.2