From 1eb341eb2989a9511085f795782a6821a24657a7 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Tue, 25 Oct 2022 21:34:51 +0300 Subject: [PATCH] pysvp64asm: support shadd/shadduw instructions --- src/openpower/sv/trans/svp64.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2