added a log func on the expected results for scalar ddffirst
authorShriya Sharma <shriya@redsemiconductor.com>
Thu, 7 Dec 2023 20:15:13 +0000 (20:15 +0000)
committerShriya Sharma <shriya@redsemiconductor.com>
Thu, 7 Dec 2023 20:15:13 +0000 (20:15 +0000)
src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py

index fa784c45ccacd60ecf4916e386dfe68ccb437a44..f94b536e740b3650a91d5f5448b4a3a6514d7cbb 100644 (file)
@@ -26,6 +26,7 @@ def sv_cmpi(gpr, CR, vl, ra, si):
     i = 0
     while i < vl:
         CR[i] = cmpd(gpr[ra + i], si)
+        log("sv_cmpi test", i, gpr[ra + i], si, CR[i], CR[i].lt)
         if CR[i].lt:
             break
         i += 1
@@ -51,7 +52,7 @@ class DDFFirstTestCase(FHDLTestCase):
         print("SVSTATE", bin(svstate.asint()))
 
         gprs = [0] * 32
-        gprs[10] = 4
+        gprs[10] = 7
         gprs[11] = 5
         gprs[12] = 12