From: Luke Kenneth Casson Leighton Date: Tue, 16 May 2023 01:30:40 +0000 (+0100) Subject: whoops no self.record, must be record argument X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31448f86fae7e46bd19c2d5379c2575843c3da2c;p=openpower-isa.git whoops no self.record, must be record argument --- diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index a1f37a06..e2d8ec3b 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -2068,7 +2068,7 @@ class WidthBaseRM(BaseRM): FP = False dw = WidthBaseRM.width(FP, int(self.elwidth)) sw = WidthBaseRM.width(FP, int(self.ewsrc)) - if self.record.svp64.mode is _SVMode.CROP: + if record.svp64.mode is _SVMode.CROP: if dw: yield ("dw=" + dw) else: