Re: [PATCH 30/71] target/arm: Implement SMSTART, SMSTOP

2022-06-06 Thread Peter Maydell
On Thu, 2 Jun 2022 at 23:09, Richard Henderson wrote: > > These two instructions are aliases of MSR (immediate). > Use the two helpers to properly implement svcr_write. > > Signed-off-by: Richard Henderson > +/* ResetSVEState */ > +void arm_reset_sve_state(CPUARMState *env) > +{ > +memset(en

[PATCH 30/71] target/arm: Implement SMSTART, SMSTOP

2022-06-02 Thread Richard Henderson
These two instructions are aliases of MSR (immediate). Use the two helpers to properly implement svcr_write. Signed-off-by: Richard Henderson --- target/arm/cpu.h | 1 + target/arm/helper-sme.h| 21 + target/arm/helper.h| 1 + target/arm/helper.c| 6 +