From: Dmitry Selyutin Date: Wed, 7 Sep 2022 20:22:46 +0000 (+0300) Subject: power_insn: dump operand type (scalar/vector) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14928b69de6d46e27ddd32eb9d3002cb3ba8d8e9;p=openpower-isa.git power_insn: dump operand type (scalar/vector) --- 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)}"