On 6/28/24 07:23, Peter Maydell wrote:
+void vfp_set_fpsr(CPUARMState *env, uint32_t val) +{ + ARMCPU *cpu = env_archcpu(env); + + vfp_set_fpsr_to_host(env, val); + + if (arm_feature(env, ARM_FEATURE_NEON) || + cpu_isar_feature(aa32_mve, cpu)) { + /* + * The bit we set within fpscr_q is arbitrary; the register as a + * whole being zero/non-zero is what counts. + */ + env->vfp.qc[0] = val & FPCR_QC;
While it's code movement, the comment is out of date. Update s/fpscr_q/vfp.qc[]/, possibly as a follow-up. Otherwise, Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~