From: Richard Henderson <[email protected]> FPMR is cleared when entering or exiting Streaming Mode.
Reviewed-by: Peter Maydell <[email protected]> Signed-off-by: Richard Henderson <[email protected]> Message-id: [email protected] Signed-off-by: Peter Maydell <[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) -- 2.43.0
