mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
target/xtensa: Set Float3NaNPropRule explicitly
Set the Float3NaNPropRule explicitly for xtensa, 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-24-peter.maydell@linaro.org
This commit is contained in:
parent
3a45371291
commit
8e6915645e
2 changed files with 2 additions and 8 deletions
|
@ -505,15 +505,7 @@ static int pickNaNMulAdd(FloatClass a_cls, FloatClass b_cls, FloatClass c_cls,
|
|||
}
|
||||
|
||||
if (rule == float_3nan_prop_none) {
|
||||
#if defined(TARGET_XTENSA)
|
||||
if (status->use_first_nan) {
|
||||
rule = float_3nan_prop_abc;
|
||||
} else {
|
||||
rule = float_3nan_prop_cba;
|
||||
}
|
||||
#else
|
||||
rule = float_3nan_prop_abc;
|
||||
#endif
|
||||
}
|
||||
|
||||
assert(rule != float_3nan_prop_none);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue