gcc/libgcc
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
..
config Fix i386 FP_TRAPPING_EXCEPTIONS. 2014-09-18 13:00:21 +01:00
soft-fp float128-mul-underflow.c, [...]: New tests. 2014-02-12 23:24:49 +00:00
ChangeLog Fix i386 FP_TRAPPING_EXCEPTIONS. 2014-09-18 13:00:21 +01:00
config.host config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file and crtbegin.o + crtend.o to extra_parts. 2014-09-17 13:04:49 +00:00
config.in Use i386-cpuinfo.c on all i386 targets 2012-05-10 08:51:39 +00:00
configure configure.ac (libgcc_cv_mips_hard_float): New. 2014-02-07 07:46:34 +00:00
configure.ac configure.ac (libgcc_cv_mips_hard_float): New. 2014-02-07 07:46:34 +00:00
crtstuff.c Use -fbuilding-libgcc for more target macros used in libgcc. 2014-09-05 13:03:46 +01:00
dfp-bit.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
dfp-bit.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
divmod.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
empty.mk
emutls.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
enable-execute-stack-empty.c enable-execute-stack-empty.c (__enable_execute_stack): Add prototype. 2011-06-22 13:20:07 +02:00
enable-execute-stack-mprotect.c config.gcc (*-*-dragonfly*): New target. 2014-05-21 12:08:58 +01:00
fixed-bit.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
fixed-bit.h Remove LIBGCC2_HAS_?F_MODE target macros. 2014-09-12 13:05:18 +01:00
fixed-obj.mk Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out LIB2FUNCS_EXCLUDE before adding them to libgcc-objects, libgcc-s-objects. 2012-08-23 15:41:03 +00:00
floatunsidf.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
floatunsisf.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
floatunsitf.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
floatunsixf.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
fp-bit.c Remove no-longer-needed fp-bit target macros. 2014-09-08 13:22:56 +01:00
fp-bit.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
gbl-ctors.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
gen-fixed.sh fixed-obj.mk: New file to support fine-grain fixed-point functions. 2007-09-17 22:18:13 +00:00
generic-morestack-thread.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
generic-morestack.c Use -fbuilding-libgcc for more target macros used in libgcc. 2014-09-05 13:03:46 +01:00
generic-morestack.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
gstdint.h dfp.c (WORDS_BIGENDIAN): Define to 0 if not defined. 2008-06-11 00:43:09 +01:00
gthr-posix.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
gthr-single.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
gthr.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
libgcc2.c Remove SF_SIZE etc. target macros. 2014-09-08 13:25:35 +01:00
libgcc2.h Remove LIBGCC2_HAS_?F_MODE target macros. 2014-09-12 13:05:18 +01:00
libgcc-std.ver.in Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
libgcov-driver-system.c libgcov-driver.c (struct gcov_filename_aux): Rename ... 2014-07-27 07:22:47 +00:00
libgcov-driver.c Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ... 2014-09-17 20:13:17 +00:00
libgcov-interface.c Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ... 2014-09-17 20:13:17 +00:00
libgcov-merge.c Add gcov-tool: an offline gcda profile processing tool Support. 2014-07-11 05:48:07 +00:00
libgcov-profiler.c Use -fbuilding-libgcc for more target macros used in libgcc. 2014-09-05 13:03:46 +01:00
libgcov-util.c libgcov-driver.c (struct gcov_filename_aux): Rename ... 2014-07-27 07:22:47 +00:00
libgcov.h Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ... 2014-09-17 20:13:17 +00:00
Makefile.in Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ... 2014-09-17 20:13:17 +00:00
memcmp.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
memcpy.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
memmove.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
memset.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
mkheader.sh Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
mkmap-flat.awk Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
mkmap-symver.awk Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
shared-object.mk shared-object.mk (c_flags-$o): Save c_flags. 2011-06-21 14:26:13 +00:00
siditi-object.mk Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
static-object.mk Makefile.in (vis_hide, [...]): Do not make definitions depend on --enable-shared. 2012-08-22 09:36:23 +01:00
sync.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
udivmod.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
udivmodsi4.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-arm-common.inc Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-c.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-compat.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-compat.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-dw2-fde-compat.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-dw2-fde-dip.c config.gcc (*-*-dragonfly*): New target. 2014-05-21 12:08:58 +01:00
unwind-dw2-fde.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-dw2-fde.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-dw2.c Use -fbuilding-libgcc for more target macros used in libgcc. 2014-09-05 13:03:46 +01:00
unwind-dw2.h Use -fbuilding-libgcc for more target macros used in libgcc. 2014-09-05 13:03:46 +01:00
unwind-generic.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-pe.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-seh.c re PR libgcc/61585 (Subscript-out-of-range in unwind-seh.c?) 2014-06-23 18:20:31 +02:00
unwind-sjlj.c Use -fbuilding-libgcc for more target macros used in libgcc. 2014-09-05 13:03:46 +01:00
unwind.inc Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
vtv_end_preinit.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
vtv_end.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
vtv_start_preinit.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
vtv_start.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00