From: Dmitry Selyutin Date: Mon, 12 Sep 2022 17:32:49 +0000 (+0300) Subject: power_insn: fix RCOE check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f94b06feacde5556bf96de924068a28dc7afae5;p=openpower-isa.git power_insn: fix RCOE check --- 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)