From: Dmitry Selyutin Date: Sun, 18 Sep 2022 16:05:11 +0000 (+0300) Subject: power_insn: fix Rc operand accessor X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c4a41c639a14722625e9be0cea85dfc203afdcc3;p=openpower-isa.git power_insn: fix Rc operand accessor --- diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index 97a42196..1f216388 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -1924,7 +1924,7 @@ class SVP64Instruction(PrefixedInstruction): Rc = False if record.mdwn.operands["Rc"] is not None: - Rc = bool(self.suffix[record.fields["Rc"]]) + Rc = bool(record.mdwn.operands["Rc"].value) rm = self.prefix.rm.select(record=record, Rc=Rc) specifiers = tuple(rm.specifiers(record=record))