mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
Define FP_TRAPPING_EXCEPTIONS for MIPS.
This commit is contained in:
parent
b9f9369735
commit
6334191e7f
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user