From: Shriya Sharma Date: Thu, 7 Dec 2023 20:04:04 +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=7440ac2f6caf682d0bcafaf9a040145640d98a54;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 df399a67..fa784c45 100644 --- a/src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py +++ b/src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py @@ -7,7 +7,7 @@ from openpower.decoder.isa.test_caller import run_tst from openpower.decoder.selectable_int import SelectableInt from openpower.simulator.program import Program from openpower.insndb.asm import SVP64Asm - +from openpower.util import log def cmpd(x, y): class CRfield: @@ -59,7 +59,8 @@ class DDFFirstTestCase(FHDLTestCase): cr_res = [0]*8 newvl = sv_cmpi(gprs, cr_res, vl, 10, 5) - + log("sv_cmpi", newvl, cr_res) + with Program(lst, bigendian=False) as program: sim = self.run_tst_program(program, initial_regs=gprs, svstate=svstate)