diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-09-22 12:08:03 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2014-09-22 12:08:03 +0100 |
commit | 1a849e50d72a16045c089dae9773abb972faed12 (patch) | |
tree | 6aede62eb307df5277dc913a297c1a052db4569f /libgcc | |
parent | 932b6d616159e9f3d29d2eb04cb6c7915f28d752 (diff) | |
download | gcc-1a849e50d72a16045c089dae9773abb972faed12.zip gcc-1a849e50d72a16045c089dae9773abb972faed12.tar.gz gcc-1a849e50d72a16045c089dae9773abb972faed12.tar.bz2 |
re PR target/63312 (FAIL: gcc.dg/torture/float128-exact-underflow.c -O0 execution test)
PR target/63312
* config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
New macros.
From-SVN: r215458
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/config/ia64/sfp-machine.h | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 7c7d965..9eb57755 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2014-09-22 Joseph Myers <joseph@codesourcery.com> + + PR target/63312 + * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS): + New macros. + 2014-09-22 Hans-Peter Nilsson <hp@axis.com> * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS diff --git a/libgcc/config/ia64/sfp-machine.h b/libgcc/config/ia64/sfp-machine.h index 0769fc6..45e844d 100644 --- a/libgcc/config/ia64/sfp-machine.h +++ b/libgcc/config/ia64/sfp-machine.h @@ -56,6 +56,9 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); #define FP_EX_OVERFLOW 0x08 #define FP_EX_UNDERFLOW 0x10 #define FP_EX_INEXACT 0x20 +#define FP_EX_ALL \ + (FP_EX_INVALID | FP_EX_DENORM | FP_EX_DIVZERO | FP_EX_OVERFLOW \ + | FP_EX_UNDERFLOW | FP_EX_INEXACT) #define _FP_TININESS_AFTER_ROUNDING 1 @@ -67,6 +70,8 @@ void __sfp_handle_exceptions (int); __sfp_handle_exceptions (_fex); \ } while (0); +#define FP_TRAPPING_EXCEPTIONS (~_fcw & FP_EX_ALL) + #define FP_RND_NEAREST 0 #define FP_RND_ZERO 0xc00L #define FP_RND_PINF 0x800L |