isa/test_runner: support initial_msr parameter
authorDmitry Selyutin <ghostmansd@gmail.com>
Sun, 22 Oct 2023 06:44:37 +0000 (09:44 +0300)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Dec 2023 19:26:21 +0000 (19:26 +0000)
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,