From 2bfd298a3844af197d265b74c38094a5edc397b1 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 14 Sep 2023 20:06:59 -0700 Subject: [PATCH] pass in stack pointer --- src/openpower/test/bigint/powmod.py | 1 + 1 file changed, 1 insertion(+) 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), -- 2.30.2