target/ppc: change xs[n]madd[am]sp to use float64r32_muladd
commit4e4b5a3eacc51e60cdf2dff585702e560d674268
authorMatheus Ferst <matheus.ferst@eldorado.org.br>
Sat, 5 Mar 2022 06:16:46 +0000 (5 07:16 +0100)
committerCédric Le Goater <clg@kaod.org>
Sat, 5 Mar 2022 06:16:46 +0000 (5 07:16 +0100)
treee4a2f8a5423a0becddbca697e49a1da3bac30706
parentd21939ca8b71a7c5479866e61a40d7b7b28a1bc0
target/ppc: change xs[n]madd[am]sp to use float64r32_muladd

Change VSX Scalar Multiply-Add/Subtract Type-A/M Single Precision
helpers to use float64r32_muladd. This method should correctly handle
all rounding modes, so the workaround for float_round_nearest_even can
be dropped.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20220304165417.1981159-3-matheus.ferst@eldorado.org.br>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
target/ppc/fpu_helper.c