From: Jacob Lifshay Date: Fri, 15 Sep 2023 03:06:59 +0000 (-0700) Subject: pass in stack pointer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2bfd298a3844af197d265b74c38094a5edc397b1;p=openpower-isa.git pass in stack pointer --- diff --git a/src/openpower/test/bigint/powmod.py b/src/openpower/test/bigint/powmod.py index 3b27ffbf..20014f83 100644 --- a/src/openpower/test/bigint/powmod.py +++ b/src/openpower/test/bigint/powmod.py @@ -87,6 +87,7 @@ class PowModCases(TestAccumulatorBase): def call_case(self, instructions, expected, initial_regs, src_loc_at=0): stop_at_pc = 0x10000000 sprs = {8: stop_at_pc} + expected.intregs[1] = initial_regs[1] = 0x1000000 # set stack pointer expected.pc = stop_at_pc expected.sprs['LR'] = None self.add_case(assemble(instructions),