From: Dmitry Selyutin Date: Sun, 13 Nov 2022 21:10:47 +0000 (+0300) Subject: power_insn: fix Rc record property X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f30b08db114ecec985b3718e504813c6a6e9cbf;p=openpower-isa.git power_insn: fix Rc record property --- diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index 323969d3..c54c4141 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -866,7 +866,7 @@ class Record: def Rc(self): if "Rc" not in self: return False - return bool(self["Rc"]) + return self["Rc"].value @_dataclasses.dataclass(eq=True, frozen=True)