Define FP_TRAPPING_EXCEPTIONS for MIPS.

This commit is contained in:
Joseph Myers 2012-05-30 21:35:11 +00:00
parent b9f9369735
commit 6334191e7f
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2012-05-30 Joseph Myers <joseph@codesourcery.com>
* sysdeps/mips/mips64/soft-fp/sfp-machine.h
(FP_TRAPPING_EXCEPTIONS): Define.
* sysdeps/unix/sysv/linux/mips/Makefile (syscall-list-variants):
Rename to abi-variants.
(syscall-list-includes): Rename to abi-includes.

View File

@ -69,6 +69,7 @@ do { \
if (__builtin_expect (_fex, 0)) \
_FPU_SETCW (_fcw | _fex | (_fex << 10)); \
} while (0)
#define FP_TRAPPING_EXCEPTIONS ((_fcw >> 5) & 0x7c)
#else
#define FP_INIT_ROUNDMODE _fcw = FP_RND_NEAREST
#endif