remove unneeded svstate from test
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 11 Oct 2022 20:14:34 +0000 (21:14 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 11 Oct 2022 20:14:34 +0000 (21:14 +0100)
src/openpower/decoder/isa/test_caller_svp64_ldst.py

index e1a686e6029eba5831a5f432aee0447e3b429e1b..2fde652acba9b3b33dacf285304245dc86806adb 100644 (file)
@@ -56,12 +56,6 @@ class DecoderTestCase(FHDLTestCase):
             )
         lst = list(lst)
 
-        # SVSTATE (in this case, VL=2)
-        svstate = SVP64State()
-        svstate.vl = 4 # VL
-        svstate.maxvl = 4 # MAXVL
-        print ("SVSTATE", bin(svstate.asint()))
-
         tst_string = "hello\x00bye\x00"
         initial_regs = [0] * 32
         initial_regs[3] = len(tst_string) # including the zero
@@ -90,8 +84,7 @@ class DecoderTestCase(FHDLTestCase):
                 break
 
         with Program(lst, bigendian=False) as program:
-            sim = self.run_tst_program(program, svstate=svstate,
-                                                initial_mem=initial_mem,
+            sim = self.run_tst_program(program, initial_mem=initial_mem,
                                                 initial_regs=initial_regs)
             mem = sim.mem.dump(printout=True, asciidump=True)
             #print (mem)