mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user