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:
2bde04b
)
add original instruction as a comment, improving debuggability
author
Jacob Lifshay
<programmerjake@gmail.com>
Fri, 26 Aug 2022 08:46:41 +0000
(
01:46
-0700)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Fri, 26 Aug 2022 08:46:41 +0000
(
01:46
-0700)
src/openpower/sv/trans/svp64.py
patch
|
blob
|
history
diff --git
a/src/openpower/sv/trans/svp64.py
b/src/openpower/sv/trans/svp64.py
index a9fe231be69354311233a3526671ca6de2696079..31d5f0609b91a21b3ccef306730a2b83cc60545b 100644
(file)
--- a/
src/openpower/sv/trans/svp64.py
+++ b/
src/openpower/sv/trans/svp64.py
@@
-640,9
+640,9
@@
class SVP64Asm:
custom_insn_hook = CUSTOM_INSNS.get(opcode)
if custom_insn_hook is not None:
fields = tuple(map(to_number, fields))
- insn = custom_insn_hook(fields)
- log(opcode, bin(insn))
- yield ".long 0x%
x" % insn
+ insn
_num
= custom_insn_hook(fields)
+ log(opcode, bin(insn
_num
))
+ yield ".long 0x%
X # %s" % (insn_num, insn)
return
# identify if is a svp64 mnemonic