projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f66730a
)
power_insn: dump operand type (scalar/vector)
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Wed, 7 Sep 2022 20:22:46 +0000
(23:22 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Wed, 7 Sep 2022 20:23:20 +0000
(23:23 +0300)
src/openpower/decoder/power_insn.py
patch
|
blob
|
history
diff --git
a/src/openpower/decoder/power_insn.py
b/src/openpower/decoder/power_insn.py
index 04e38e96a15b0fc4c36252556da5e79ffe5ec739..9cf9a2fd42aa3c9634383bd4f940f9b53419a526 100644
(file)
--- 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)}"