From 9e642a2ea88d5011a64b22dee99903478aeba0bd Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 26 Oct 2022 14:15:06 +0100 Subject: [PATCH] restore Z23 shadd/shadduw --- src/openpower/sv/trans/svp64.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/openpower/sv/trans/svp64.py b/src/openpower/sv/trans/svp64.py index 1a7bade8..fb9dc6e2 100644 --- a/src/openpower/sv/trans/svp64.py +++ b/src/openpower/sv/trans/svp64.py @@ -591,7 +591,7 @@ def va_form(fields, XO): _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 # 1.6.27 Z23-FORM @@ -603,8 +603,8 @@ def Z23(fields, PO, XO, Rc): (RT, 6, 10), (RA, 11, 15), (RB, 16, 20), - (RC, 21, 25), - (XO, 26, 30), + (sm, 21, 22), + (XO, 23, 30), (Rc, 31, 31), ) -- 2.30.2