From 8cd6e98eb23a65e365d5f553711f1f6e4e41f0d2 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Mon, 12 Sep 2022 21:04:43 +0300 Subject: [PATCH] power_insn: call sv_spec_leave unconditionally --- src/openpower/decoder/power_insn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index 6d9cf1ee..58c759e7 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -644,8 +644,8 @@ class RegisterOperand(DynamicOperand): value = ((spec << scalar_shift) | value) span = ((spec_shift * ('{0}',)) + spec_span + span) - (value, span) = self.sv_spec_leave(value=value, span=span, - origin_value=origin_value, origin_span=origin_span) + (value, span) = self.sv_spec_leave(value=value, span=span, + origin_value=origin_value, origin_span=origin_span) return (vector, value, span) -- 2.30.2