gcc/libgcc/config/i386
Joseph Myers e770bfd997 Fix i386 FP_TRAPPING_EXCEPTIONS.
The i386 sfp-machine.h defines FP_TRAPPING_EXCEPTIONS in a way that is
always wrong: it treats a set bit as indicating the exception is
trapping, when actually a set bit (both for 387 and SSE floating
point) indicates it is masked, and a clear bit indicates it is
trapping.  This patch fixes this bug.

Bootstrapped with no regressions on x86_64-unknown-linux-gnu.

libgcc:
	* config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
	bits not set bits as indicating trapping exceptions.

gcc/testsuite:
	* gcc.dg/torture/float128-exact-underflow.c: New test.

From-SVN: r215347
2014-09-18 13:00:21 +01:00
..
32
64
cpuinfo.c
crtfastmath.c
crti.S
crtn.S
crtprec.c
cygming-crtbegin.c Use -fbuilding-libgcc for more target macros used in libgcc. 2014-09-05 13:03:46 +01:00
cygming-crtend.c Use -fbuilding-libgcc for more target macros used in libgcc. 2014-09-05 13:03:46 +01:00
cygwin.S
darwin-lib.h
dragonfly-unwind.h
enable-execute-stack-mingw32.c
gthr-win32.c
gthr-win32.h
libgcc-bsd.ver
libgcc-cygming.ver
libgcc-darwin.10.4.ver
libgcc-darwin.10.5.ver
libgcc-glibc.ver
libgcc-sol2.ver
linux-unwind.h
morestack.S
sfp-exceptions.c
sfp-machine.h Fix i386 FP_TRAPPING_EXCEPTIONS. 2014-09-18 13:00:21 +01:00
sol2-c1.S
sol2-unwind.h
t-chkstk
t-cpuinfo
t-crtfm
t-crtpc
t-crtstuff
t-cygming cygming-crtend.c (register_frame_ctor): Move atexit call from here... 2014-08-19 17:22:59 +02:00
t-cygwin
t-darwin
t-dlldir
t-dlldir-x
t-dw2-eh
t-freebsd
t-gthr-win32
t-interix
t-linux
t-mingw-pthread
t-mingw32
t-nto
t-seh-eh
t-sjlj-eh
t-slibgcc-cygming
t-softfp
t-sol2
t-stack-i386
value-unwind.h
w32-unwind.h