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
This commit is contained in:
Joseph Myers 2014-09-22 12:08:03 +01:00 committed by Joseph Myers
parent 932b6d6161
commit 1a849e50d7
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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