From e039be3e0ab346a00cde982a61250ee3dc6705e3 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Wed, 31 May 2023 22:41:27 +0300 Subject: [PATCH] power_insn: guess extra from reg instead of sel --- src/openpower/decoder/power_insn.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index 299c57a2..cf22226f 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -405,11 +405,10 @@ class SVP64Record: @cached_property def extras(self): - keys = {} - for key in ("in1", "in2", "in3", "cr_in", "cr_in2"): - keys[key] = _SelType.SRC - for key in ("out", "out2", "cr_out"): - keys[key] = _SelType.DST + keys = ( + "in1", "in2", "in3", "cr_in", "cr_in2", + "out", "out2", "cr_out", + ) idxmap = ( _SVExtra.Idx0, -- 2.30.2