Re: [PATCH 07/18] target/arm: Hoist arm_current_el in arm_generate_debug_exceptions

2022-05-31 Thread Richard Henderson
On 5/31/22 05:04, Peter Maydell wrote: On Mon, 23 May 2022 at 21:58, Richard Henderson wrote: Read this value once in the main function, and pass it around between the subroutines. Signed-off-by: Richard Henderson --- What's the benefit from doing this ? Just trying to reduce the number

Re: [PATCH 07/18] target/arm: Hoist arm_current_el in arm_generate_debug_exceptions

2022-05-31 Thread Peter Maydell
On Mon, 23 May 2022 at 21:58, Richard Henderson wrote: > > Read this value once in the main function, and pass it > around between the subroutines. > > Signed-off-by: Richard Henderson > --- What's the benefit from doing this ? thanks -- PMM

[PATCH 07/18] target/arm: Hoist arm_current_el in arm_generate_debug_exceptions

2022-05-23 Thread Richard Henderson
Read this value once in the main function, and pass it around between the subroutines. Signed-off-by: Richard Henderson --- target/arm/debug_helper.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/target/arm/debug_helper.c b/target/arm/debug_helper.c