Re: [PATCH 09/10] target/arm: Add cpu local variable to exception_return helper

2025-03-07 Thread Richard Henderson
On 3/6/25 08:39, Peter Maydell wrote: We already call env_archcpu() multiple times within the exception_return helper function, and we're about to want to add another use of the ARMCPU pointer. Add a local variable cpu so we can call env_archcpu() just once. Signed-off-by: Peter Maydell --- ta

[PATCH 09/10] target/arm: Add cpu local variable to exception_return helper

2025-03-06 Thread Peter Maydell
We already call env_archcpu() multiple times within the exception_return helper function, and we're about to want to add another use of the ARMCPU pointer. Add a local variable cpu so we can call env_archcpu() just once. Signed-off-by: Peter Maydell --- target/arm/tcg/helper-a64.c | 7 --- 1