From 8f30b08db114ecec985b3718e504813c6a6e9cbf Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Mon, 14 Nov 2022 00:10:47 +0300 Subject: [PATCH] power_insn: fix Rc record property --- 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 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) -- 2.30.2