On 2/17/25 04:50, Peter Maydell wrote:
In Intel terminology, a floatx80 Infinity with the explicit integer
bit clear is a "pseudo-infinity"; for x86 these are not valid
infinity values. m68k is looser and does not care whether the
Integer bit is set or clear in an infinity.
Move this setting to runtime rather than using an ifdef in
floatx80_is_infinity(). (This requires us to pass in the
float_status to that function now.)
Since this was the last use of the floatx80_infinity global constant,
we remove it and its definition here.
Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
---
include/fpu/softfloat-types.h | 5 +++++
include/fpu/softfloat.h | 20 ++++++++++++--------
target/i386/tcg/fpu_helper.c | 20 +++++++++++---------
target/m68k/cpu.c | 4 +++-
target/m68k/fpu_helper.c | 2 +-
fpu/softfloat-specialize.c.inc | 10 ----------
6 files changed, 32 insertions(+), 29 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~