mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
target/arm: Clear FPMR on ResetSVEState
FPMR is cleared when entering or exiting Streaming Mode. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20260522220306.235200-12-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
committed by
Peter Maydell
parent
3a2ef816ee
commit
80e1cfc7ec
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user