isa/test_runner: support initial_msr parameter
authorDmitry Selyutin <ghostmansd@gmail.com>
Sun, 22 Oct 2023 06:44:37 +0000 (09:44 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Sun, 22 Oct 2023 13:11:21 +0000 (16:11 +0300)
src/openpower/decoder/isa/test_runner.py

index 819ccae93efd5ef80362a1378b66b48d94c48f51..201cac93af3c572d2da3d595aa93151db3122923 100644 (file)
@@ -101,6 +101,7 @@ def run_tst(generator, initial_regs,
             initial_cr=0,
             mem=None,
             initial_fprs=None,
+            initial_msr=0,
             pdecode2=None,
             state=None,
             use_mmap_mem=False,
@@ -124,6 +125,7 @@ def run_tst(generator, initial_regs,
                     initial_insns=gen, respect_pc=True,
                     initial_svstate=svstate,
                     initial_mem=mem,
+                    initial_msr=initial_msr,
                     fpregfile=initial_fprs,
                     disassembly=insncode,
                     bigendian=0,