From a6fd9857cdbe8fad21578a2e3cae644c44a9c376 Mon Sep 17 00:00:00 2001 From: Shriya Sharma Date: Thu, 7 Dec 2023 20:15:13 +0000 Subject: [PATCH] added a log func on the expected results for scalar ddffirst --- src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2