glibc/sysdeps
Wilco Dijkstra 1e6d07234f Simplify C99 isgreater macros
Simplify the C99 isgreater macros.  Although some support was added
in GCC 2.97, not all targets added support until GCC 3.1.  Therefore
only use the builtins in math.h from GCC 3.1 onwards, and defer to
generic macros otherwise.  Improve the generic isunordered macro
to use compares rather than call fpclassify twice - this is not only
faster but also correct for signaling NaNs.

	* math/math.h: Improve handling of C99 isgreater macros.
	* sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
	* sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
	* sysdeps/powerpc/bits/mathinline.h: Likewise.
	* sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
	* sysdeps/x86/fpu/bits/mathinline.h: Likewise.
2017-09-28 19:43:54 +01:00
..
aarch64 AArch64: update libm-test-ulps 2017-09-28 15:28:46 +01:00
alpha Simplify C99 isgreater macros 2017-09-28 19:43:54 +01:00
arm Enable unwind info in libc-start.c and backtrace.c 2017-09-19 15:07:58 +01:00
generic Define and use libm_alias_float128. 2017-09-14 01:11:46 +00:00
gnu hurd: Fix getifaddrs' and freeifaddrs' symbol exposition 2017-09-28 01:05:18 +02:00
hppa
i386 Optimized generic expf and exp2f with wrappers 2017-09-25 10:44:39 +01:00
ia64 Fix ia64 executable stack default (bug 22156). 2017-09-26 16:30:46 +00:00
ieee754 Fix nearbyint arithmetic moved before feholdexcept (bug 22225). 2017-09-28 01:59:02 +00:00
init_array
m68k Simplify C99 isgreater macros 2017-09-28 19:43:54 +01:00
mach hurd: Fix seekdir' symbol exposition from rewinddir' 2017-09-28 00:49:59 +02:00
microblaze
mips Enable unwind info in libc-start.c and backtrace.c 2017-09-19 15:07:58 +01:00
nios2 Enable unwind info in libc-start.c and backtrace.c 2017-09-19 15:07:58 +01:00
nptl
posix hurd: Fix dirfd symbol exposition from ftw 2017-09-28 00:49:05 +02:00
powerpc Simplify C99 isgreater macros 2017-09-28 19:43:54 +01:00
pthread
s390
sh Enable unwind info in libc-start.c and backtrace.c 2017-09-19 15:07:58 +01:00
sparc Simplify C99 isgreater macros 2017-09-28 19:43:54 +01:00
tile
unix Update sysdeps/unix/sysv/linux/ifaddrs.c 2017-09-27 17:18:32 -07:00
wordsize-32
wordsize-64
x86 Simplify C99 isgreater macros 2017-09-28 19:43:54 +01:00
x86_64 Add SSE4.1 trunc, truncf (bug 20142). 2017-09-20 16:54:05 +00:00