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
..
2014-09-18 13:00:21 +01:00
2014-02-12 23:24:49 +00:00
2014-09-18 13:00:21 +01:00
2014-09-17 13:04:49 +00:00
2012-05-10 08:51:39 +00:00
2014-02-07 07:46:34 +00:00
2014-02-07 07:46:34 +00:00
2014-09-05 13:03:46 +01:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-05-21 12:08:58 +01:00
2014-01-02 22:25:22 +00:00
2014-09-12 13:05:18 +01:00
2012-08-23 15:41:03 +00:00
2014-09-08 13:22:56 +01:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-09-05 13:03:46 +01:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-09-08 13:25:35 +01:00
2014-09-12 13:05:18 +01:00
2014-01-02 22:25:22 +00:00
2014-07-27 07:22:47 +00:00
2014-09-17 20:13:17 +00:00
2014-09-17 20:13:17 +00:00
2014-07-11 05:48:07 +00:00
2014-09-05 13:03:46 +01:00
2014-07-27 07:22:47 +00:00
2014-09-17 20:13:17 +00:00
2014-09-17 20:13:17 +00:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2012-08-22 09:36:23 +01:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-05-21 12:08:58 +01:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-09-05 13:03:46 +01:00
2014-09-05 13:03:46 +01:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-06-23 18:20:31 +02:00
2014-09-05 13:03:46 +01:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00
2014-01-02 22:25:22 +00:00