On Wed, 20 May 2026 at 19:25, Richard Henderson
<[email protected]> wrote:
>
> FPMR is cleared when entering or exiting Streaming Mode.
>
> Signed-off-by: Richard Henderson <[email protected]>
> ---
>  target/arm/helper.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/target/arm/helper.c b/target/arm/helper.c
> index 7eb7031294..3d6e7f1ccc 100644
> --- a/target/arm/helper.c
> +++ b/target/arm/helper.c
> @@ -4856,6 +4856,7 @@ static void arm_reset_sve_state(CPUARMState *env)
>      /* Recall that FFR is stored as pregs[16]. */
>      memset(env->vfp.pregs, 0, sizeof(env->vfp.pregs));
>      vfp_set_fpsr(env, 0x0800009f);
> +    env->vfp.fpmr = 0;
>  }
>
>  void aarch64_set_svcr(CPUARMState *env, uint64_t new, uint64_t mask)
> --

Reviewed-by: Peter Maydell <[email protected]>

thanks
-- PMM

Reply via email to