added a log func on the expected results for scalar ddffirst
authorShriya Sharma <shriya@redsemiconductor.com>
Thu, 7 Dec 2023 20:04:04 +0000 (20:04 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Dec 2023 19:26:22 +0000 (19:26 +0000)
src/openpower/decoder/isa/test_caller_svp64_dd_ffirst.py

index df399a671fb44f34d77c09b3150eac4dff1d42a7..fa784c45ccacd60ecf4916e386dfe68ccb437a44 100644 (file)
@@ -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)