target/mips: Set Float3NaNPropRule explicitly
Set the Float3NaNPropRule explicitly for Arm, and 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-23-peter.maydell@linaro.org
This commit is contained in:
parent
49866dcb59
commit
3a45371291
3 changed files with 8 additions and 7 deletions
|
|
@ -505,13 +505,7 @@ static int pickNaNMulAdd(FloatClass a_cls, FloatClass b_cls, FloatClass c_cls,
|
|||
}
|
||||
|
||||
if (rule == float_3nan_prop_none) {
|
||||
#if defined(TARGET_MIPS)
|
||||
if (snan_bit_is_one(status)) {
|
||||
rule = float_3nan_prop_s_abc;
|
||||
} else {
|
||||
rule = float_3nan_prop_s_cab;
|
||||
}
|
||||
#elif defined(TARGET_XTENSA)
|
||||
#if defined(TARGET_XTENSA)
|
||||
if (status->use_first_nan) {
|
||||
rule = float_3nan_prop_abc;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue