from openpower.decoder.selectable_int import (FieldSelectableInt,
SelectableInt, selectconcat,
EFFECTIVELY_UNLIMITED)
+from openpower.consts import DEFAULT_MSR
from openpower.fpscr import FPSCRState
from openpower.xer import XERState
from openpower.util import LogKind, log
if initial_insns is None:
initial_insns = {}
assert self.respect_pc == False, "instructions required to honor pc"
+ if initial_msr is None:
+ initial_msr = DEFAULT_MSR
log("ISACaller insns", respect_pc, initial_insns, disassembly)
log("ISACaller initial_msr", initial_msr)
self.__subtest_args = old_subtest_args
def add_case(self, prog, initial_regs=None, initial_sprs=None,
- initial_cr=0, initial_msr=DEFAULT_MSR,
+ initial_cr=0, initial_msr=None,
initial_mem=None,
initial_svstate=0,
expected=None,