From: Shriya Sharma Date: Thu, 7 Dec 2023 20:15:13 +0000 (+0000) Subject: added a log func on the expected results for scalar ddffirst X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=931163c52de1de3fe80b6b1caa6f8458f43b3add;p=openpower-isa.git added a log func on the expected results for scalar ddffirst --- diff --git a/src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py b/src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py index fa784c45..f94b536e 100644 --- a/src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py +++ b/src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py @@ -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