softfloat: Pass have_snan to pickNaNMulAdd
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 11 Dec 2024 15:30:57 +0000 (15:30 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 11 Dec 2024 15:30:57 +0000 (15:30 +0000)
commitd62c734d52147ec312d1ada0e1bc7fa479838575
tree1d1e389fbfe47a9354df7de0a6dae9bac3c4e701
parent2bf5629c97af5aa57f8524af92f5459f1d2ceeac
softfloat: Pass have_snan to pickNaNMulAdd

The new implementation of pickNaNMulAdd() will find it convenient
to know whether at least one of the three arguments to the muladd
was a signaling NaN. We already calculate that in the caller,
so pass it in as a new bool have_snan.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20241202131347.498124-15-peter.maydell@linaro.org
fpu/softfloat-parts.c.inc
fpu/softfloat-specialize.c.inc