Commit 1a849e50 by Joseph Myers Committed by Joseph Myers

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
parent 932b6d61
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> 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
* crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
......
...@@ -56,6 +56,9 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); ...@@ -56,6 +56,9 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__)));
#define FP_EX_OVERFLOW 0x08 #define FP_EX_OVERFLOW 0x08
#define FP_EX_UNDERFLOW 0x10 #define FP_EX_UNDERFLOW 0x10
#define FP_EX_INEXACT 0x20 #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 #define _FP_TININESS_AFTER_ROUNDING 1
...@@ -67,6 +70,8 @@ void __sfp_handle_exceptions (int); ...@@ -67,6 +70,8 @@ void __sfp_handle_exceptions (int);
__sfp_handle_exceptions (_fex); \ __sfp_handle_exceptions (_fex); \
} while (0); } while (0);
#define FP_TRAPPING_EXCEPTIONS (~_fcw & FP_EX_ALL)
#define FP_RND_NEAREST 0 #define FP_RND_NEAREST 0
#define FP_RND_ZERO 0xc00L #define FP_RND_ZERO 0xc00L
#define FP_RND_PINF 0x800L #define FP_RND_PINF 0x800L
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment