From: Luke Kenneth Casson Leighton Date: Sat, 17 Sep 2022 18:53:34 +0000 (+0100) Subject: remove sv.setvl/pk/up/pu - these are all gone in favour of using X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af35dd151046d1cf5233e59de19132a47c93df03;p=openpower-isa.git remove sv.setvl/pk/up/pu - these are all gone in favour of using a hack-job on svstep 0b11nn --- 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