From: Dmitry Selyutin Date: Sun, 6 Nov 2022 09:29:55 +0000 (+0300) Subject: power_insn: fix DOperandDX span X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82f45b280b265469177a776bb7475e278c52806d;p=openpower-isa.git power_insn: fix DOperandDX span --- 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())