From 3932723dbf4e43bb9becc1bfda19b41ce1fab409 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Tue, 12 Dec 2023 16:49:24 -0800 Subject: [PATCH] caller.py: XLEN must be accessed as self.XLEN --- src/openpower/decoder/isa/caller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index 2bb4b608..da73f98b 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -2607,7 +2607,7 @@ class ISACaller(ISACallerHelper, ISAFPHelpers, StepLoop): if name in fregs: fval = self.fpr(base, is_vec, offs, ew_src) reg_val = SelectableInt(fval) - assert ew_src == XLEN, "TODO fix elwidth conversion" + assert ew_src == self.XLEN, "TODO fix elwidth conversion" self.trace("r:FPR:%d:%d:%d " % (base, offs, ew_src)) log("read fp reg %d/%d: 0x%x" % (base, offs, reg_val.value), kind=LogType.InstrInOuts) -- 2.30.2