diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-06-19 23:24:36 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-06-19 23:24:36 +0000 |
commit | 6c2ec6677bb06c51f4d8f4084212a83aad6a38e9 (patch) | |
tree | 32b64be7ec2d38ae0abc8bc4813d7e8e190e8e5e /sysdeps/mips/math-tests.h | |
parent | 37e9dc814636915afb88d0779e5e897e90e7b8c0 (diff) | |
download | glibc-6c2ec6677bb06c51f4d8f4084212a83aad6a38e9.tar.gz glibc-6c2ec6677bb06c51f4d8f4084212a83aad6a38e9.tar.xz glibc-6c2ec6677bb06c51f4d8f4084212a83aad6a38e9.zip |
Remove pre-GCC-4.9 MIPS code.
This patch removes some MIPS code in glibc that was conditional on old GCC versions no longer supported for building glibc. Tested with build-many-glibcs.py. * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove. [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional. [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code. * sysdeps/mips/math-tests.h [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove conditional code.
Diffstat (limited to 'sysdeps/mips/math-tests.h')
-rw-r--r-- | sysdeps/mips/math-tests.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sysdeps/mips/math-tests.h b/sysdeps/mips/math-tests.h index 7680db21ee..8a1055f4d7 100644 --- a/sysdeps/mips/math-tests.h +++ b/sysdeps/mips/math-tests.h @@ -19,10 +19,7 @@ #include <features.h> #include <sgidefs.h> -/* MIPS soft float does not support exceptions and rounding modes, and - before GCC 4.9 long double when wider than double is implemented - using fp-bit which does not integrate with hardware exceptions and - rounding modes. */ +/* MIPS soft float does not support exceptions and rounding modes. */ #ifdef __mips_soft_float # define ROUNDING_TESTS_float(MODE) ((MODE) == FE_TONEAREST) # define ROUNDING_TESTS_double(MODE) ((MODE) == FE_TONEAREST) @@ -30,9 +27,6 @@ # define EXCEPTION_TESTS_float 0 # define EXCEPTION_TESTS_double 0 # define EXCEPTION_TESTS_long_double 0 -#elif _MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9) -# define ROUNDING_TESTS_long_double(MODE) ((MODE) == FE_TONEAREST) -# define EXCEPTION_TESTS_long_double 0 #endif /* NaN payload preservation when converting a signaling NaN to quiet |