softfloat: Sink frac_cmp in parts_pick_nan until needed
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 11 Dec 2024 15:31:09 +0000 (15:31 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 11 Dec 2024 15:31:09 +0000 (15:31 +0000)
commit9778115ed780c8d8b027dea4125afb3890511797
tree7c801f1d23815ab0f712b188700aef7b94b32db2
parent2da7553f2ee818e98e69136ab02106f3bccddf68
softfloat: Sink frac_cmp in parts_pick_nan until needed

Move the fractional comparison to the end of the
float_2nan_prop_x87 case.  This is not required for
any other 2nan propagation rule.  Reorganize the
x87 case itself to break out of the switch when the
fractional comparison is not required.

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