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:
f37e502
)
pysvp64asm: support shadd/shadduw instructions
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 25 Oct 2022 18:34:51 +0000
(21:34 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 25 Oct 2022 18:34:51 +0000
(21:34 +0300)
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 6326683823db2455e2e56de290c9c8c544e34b5f..7587d85625c524fed1941cccceeff92376233ce1 100644
(file)
--- a/
src/openpower/sv/trans/svp64.py
+++ b/
src/openpower/sv/trans/svp64.py
@@
-591,6
+591,10
@@
def va_form(fields, XO):
_insn("dsld.", PO=31, XO=0b00111001, Rc=1),
_insn("dsrd", PO=31, XO=0b10111001, Rc=0),
_insn("dsrd.", PO=31, XO=0b10111001, Rc=1),
+ _insn("shadd", PO=22, XO=0b01101110, Rc=0),
+ _insn("shadd.", PO=22, XO=0b01101110, Rc=1),
+ _insn("shadduw", PO=22, XO=0b11101110, Rc=0),
+ _insn("shadduw.", PO=22, XO=0b11101110, Rc=1),
)
def Z23(fields, PO, XO, Rc):
# XXX WARNING THESE ARE NOT APPROVED BY OPF ISA WG