target/ppc: Update fres to new flags and float64r32
commit7d82ea34840e1d53bb173ad628b0f2371741d138
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 17 Dec 2021 16:57:16 +0000 (17 17:57 +0100)
committerCédric Le Goater <clg@kaod.org>
Fri, 17 Dec 2021 16:57:16 +0000 (17 17:57 +0100)
tree333d1f760f5b7998d738e48cb212dd2a06da1bcd
parentdedbfda765a74c3965c5dd676e64fc3afa15e963
target/ppc: Update fres to new flags and float64r32

There is no double-rounding bug here, because the result is
merely an estimate to within 1 part in 256, but perform the
operation with float64r32_div for consistency.

Use float_flag_invalid_snan instead of recomputing the
snan-ness of the operand.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211119160502.17432-34-richard.henderson@linaro.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
target/ppc/fpu_helper.c