]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/loongarch: Explicitly set 2-NaN propagation rule
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Nov 2024 10:09:54 +0000 (10:09 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Nov 2024 10:09:54 +0000 (10:09 +0000)
commit1bb5257def132090bdff2cd1352841915553aaaf
treed3b60550d31c97b1549eb77ec0991f16fe927a06
parent0c587f13397a306f7ad4f8b0b7cb9184488012b5
target/loongarch: Explicitly set 2-NaN propagation rule

Set the 2-NaN propagation rule explicitly in the float_status word we
use.

(There are a couple of places in fpu_helper.c where we create a
dummy float_status word with "float_status *s = { };", but these
are only used for calling float*_is_quiet_nan() so it doesn't
matter that we don't set a 2-NaN propagation rule there.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20241025141254.2141506-6-peter.maydell@linaro.org
fpu/softfloat-specialize.c.inc
target/loongarch/tcg/fpu_helper.c