mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
target/mips: Set FloatInfZeroNaNRule explicitly
Set the FloatInfZeroNaNRule explicitly for the MIPS target, so we can remove the ifdef from pickNaNMulAdd(). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20241202131347.498124-9-peter.maydell@linaro.org
This commit is contained in:
parent
6f759b179f
commit
a71492f726
3 changed files with 14 additions and 15 deletions
|
@ -74,4 +74,8 @@ void msa_reset(CPUMIPSState *env)
|
|||
|
||||
/* set proper signanling bit meaning ("1" means "quiet") */
|
||||
set_snan_bit_is_one(0, &env->active_tc.msa_fp_status);
|
||||
|
||||
/* Inf * 0 + NaN returns the input NaN */
|
||||
set_float_infzeronan_rule(float_infzeronan_dnan_never,
|
||||
&env->active_tc.msa_fp_status);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue