]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/xtensa: Explicitly set 2-NaN propagation rule
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Nov 2024 10:09:55 +0000 (10:09 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Nov 2024 10:09:55 +0000 (10:09 +0000)
commit8d988eb44cd2723a6bd31a2895bdaba48524b6e0
treeb0e43aa3f9759a64cc9c453bbee79b14274d259b
parent80de5f24e09cd9885a5e8d72cc01c097c23bf227
target/xtensa: Explicitly set 2-NaN propagation rule

Set the NaN propagation rule explicitly in xtensa_use_first_nan().

(When we convert the softfloat pickNaNMulAdd routine to also
select a NaN propagation rule at runtime, we will be able to
remove the use_first_nan flag because the propagation rules
will handle everything.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20241025141254.2141506-15-peter.maydell@linaro.org
fpu/softfloat-specialize.c.inc
target/xtensa/fpu_helper.c