From 82f45b280b265469177a776bb7475e278c52806d Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sun, 6 Nov 2022 12:29:55 +0300 Subject: [PATCH] power_insn: fix DOperandDX span --- 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 c7f856bc..f278de35 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -1249,7 +1249,7 @@ class EXTSOperandDQ(EXTSOperand, ImmediateOperand): class DOperandDX(SignedOperand): @cached_property def span(self): - cls = lambda name: DynamicOperand(name=name) + cls = lambda name: DynamicOperand(record=self.record, name=name) operands = map(cls, ("d0", "d1", "d2")) spans = map(lambda operand: operand.span, operands) return sum(spans, tuple()) -- 2.30.2