bsps/powerpc: Fix ppc_exc_interrupt not saving r3 correctly

On SPE enabled builds the extended bits of r3 need to be saved
separately to the stack. Make ppc_exc_interrupt to do that correctly.

Fixes #5389
This commit is contained in:
Thomas Wucher
2025-11-04 11:43:41 +00:00
parent 2179cd2fee
commit af75447c1a

View File

@@ -106,7 +106,7 @@ ppc_exc_interrupt:
* Save high order part of SCRATCH_1_REGISTER here. The low order part * Save high order part of SCRATCH_1_REGISTER here. The low order part
* was saved in the minimal prologue. * was saved in the minimal prologue.
*/ */
evmergehi SCRATCH_1_REGISTER, SCRATCH_1_REGISTER, FRAME_REGISTER evmergehi FRAME_REGISTER, SCRATCH_1_REGISTER, SCRATCH_1_REGISTER
PPC_REG_STORE FRAME_REGISTER, GPR3_OFFSET(r1) PPC_REG_STORE FRAME_REGISTER, GPR3_OFFSET(r1)
#endif #endif