From: Dmitry Selyutin Date: Tue, 25 Oct 2022 18:34:51 +0000 (+0300) Subject: pysvp64asm: support shadd/shadduw instructions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1eb341eb2989a9511085f795782a6821a24657a7;p=openpower-isa.git pysvp64asm: support shadd/shadduw instructions --- diff --git a/src/openpower/sv/trans/svp64.py b/src/openpower/sv/trans/svp64.py index 63266838..7587d856 100644 --- 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