From 14928b69de6d46e27ddd32eb9d3002cb3ba8d8e9 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Wed, 7 Sep 2022 23:22:46 +0300 Subject: [PATCH] power_insn: dump operand type (scalar/vector) --- src/openpower/decoder/power_insn.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index 04e38e96..9cf9a2fd 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -611,6 +611,8 @@ class DynamicOperandReg(DynamicOperand): else: etype = repr(record.etype).lower() yield f"{indent}{indent}{etype}{extra_idx!r}" + yield f"{indent}type" + yield f"{indent}{indent}{'vector' if vector else 'scalar'}" else: vector = "*" if vector else "" yield f"{vector}{prefix}{int(value)}" -- 2.30.2