From 3f4ed1f5c617b85ecac30ab60404cb2faa1f6f81 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 22 Jun 2022 14:26:55 +0100 Subject: [PATCH] add X-Form to svp64.py av opcode set (to be able to understand what the heck is going on) --- src/openpower/sv/trans/svp64.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/openpower/sv/trans/svp64.py b/src/openpower/sv/trans/svp64.py index d5c7842f..0c4b24e9 100644 --- a/src/openpower/sv/trans/svp64.py +++ b/src/openpower/sv/trans/svp64.py @@ -419,6 +419,9 @@ class SVP64Asm: # and min/max # XXX WARNING THESE ARE NOT APPROVED BY OPF ISA WG + # 1.6.7 X-FORM + # |0 |6 |7|8|9 |10 |11|12|13 |15|16|17 |20|21 |31 | + # | PO | RT | RA | RB | XO |Rc | if opcode in ['mins', 'maxs', 'minu', 'maxu', 'mins.', 'maxs.', 'minu.', 'maxu.']: if opcode[:4] == 'maxs': @@ -443,6 +446,9 @@ class SVP64Asm: # and avgadd, absdu, absdacu, absdacs # XXX WARNING THESE ARE NOT APPROVED BY OPF ISA WG + # 1.6.7 X-FORM + # |0 |6 |7|8|9 |10 |11|12|13 |15|16|17 |20|21 |31 | + # | PO | RT | RA | RB | XO |Rc | if opcode in ['avgadd', 'absdu', 'absds', 'absdacu', 'absdacs', 'cprop']: if opcode[:5] == 'absdu': -- 2.30.2