From af35dd151046d1cf5233e59de19132a47c93df03 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 17 Sep 2022 19:53:34 +0100 Subject: [PATCH] remove sv.setvl/pk/up/pu - these are all gone in favour of using a hack-job on svstep 0b11nn --- src/openpower/sv/trans/svp64.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/openpower/sv/trans/svp64.py b/src/openpower/sv/trans/svp64.py index c9436e9c..bd5f9b76 100644 --- a/src/openpower/sv/trans/svp64.py +++ b/src/openpower/sv/trans/svp64.py @@ -1094,13 +1094,6 @@ class SVP64Asm: destwid = decode_elwidth(encmode[3:]) elif encmode.startswith("sw="): srcwid = decode_elwidth(encmode[3:]) - # HACK! using destwid for pack/unpack TODO, separate setvl RM - elif encmode == 'pk': - destwid = 0b10 - elif encmode == 'up': - destwid = 0b01 - elif encmode == 'pu': - destwid = 0b11 # element-strided LD/ST elif encmode == 'els': ldst_elstride = 1 @@ -1654,12 +1647,6 @@ if __name__ == '__main__': 'sv.ffmadds 6.v, 2.v, 4.v, 6.v', # correctly converted to .long 'svshape2 8, 1, 31, 7, 1, 1', ] - lst = [ - 'sv.setvl 2, 3, 4, 0, 1, 1', - 'sv.setvl/pk 2, 3, 4, 0, 1, 1', - 'sv.setvl/up 2, 3, 4, 0, 1, 1', - 'sv.setvl/pu 2, 3, 4, 0, 1, 1', - ] isa = SVP64Asm(lst, macros=macros) log("list:\n", "\n\t".join(list(isa))) # running svp64.py is designed to test hard-coded lists -- 2.30.2