remove cruft, make comments clearer
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 11 Oct 2023 11:43:48 +0000 (12:43 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Dec 2023 19:26:21 +0000 (19:26 +0000)
src/openpower/decoder/isa/test_caller_svp64_matrix.py

index 9dc1ff9cc176973bec41bf1597767b43e94e37d7..f7d55cc33c28b5a2b0ba74c7d5e42b7792ecfed9 100644 (file)
@@ -73,17 +73,11 @@ class DecoderTestCase(FHDLTestCase):
         #result1 = [0] * (ydim1*xdim2)
 
         res = []
-        # store FPs
+        # store GPR x-flattened and y-flattened in GPRs
         for i, x in enumerate(xf):
             gprs[i+16] = x  # X matrix
         for i, y in enumerate(yf):
             gprs[i+32] = y  # Y matrix
-            continue
-            # t = DOUBLE2SINGLE(fp64toselectable(t)) # convert to Power single
-            # u = DOUBLE2SINGLE(fp64toselectable(u)) # from double
-            #res.append((t, u))
-            # print ("FFT", i, "in", a, b, "coeff", c, "mul",
-            #       mul, "res", t, u)
 
         with Program(lst, bigendian=False) as program:
             sim = self.run_tst_program(program, initial_regs=gprs)