target/ppc: Update sqrt for new flags
commit3d3050cc8d12ad4a59c0f0b952f8e85e0212d2b6
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 17 Dec 2021 16:57:15 +0000 (17 17:57 +0100)
committerCédric Le Goater <clg@kaod.org>
Fri, 17 Dec 2021 16:57:15 +0000 (17 17:57 +0100)
treea1b6f21cbe19369e161fdb8ebaae606123745c67
parent58c7edef6163dd9a136e64149b08eec3f5778f37
target/ppc: Update sqrt for new flags

Now that vxsqrt and vxsnan are computed directly by softfloat,
we don't need to recompute it.  Split out float_invalid_op_sqrt
to be used in several places.  This fixes VSX_SQRT, which did
not order its tests correctly to eliminate NaN with sign set.

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