diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-05-30 21:35:11 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-05-30 21:35:11 +0000 |
commit | 6334191e7f34f5fd4d12e034bcb46f68f89bd20e (patch) | |
tree | e415779e6addad7a0a74173b0a169448864b0c32 | |
parent | b9f936973547cb6d944723be4795980527a0c82c (diff) | |
download | glibc-6334191e7f34f5fd4d12e034bcb46f68f89bd20e.zip glibc-6334191e7f34f5fd4d12e034bcb46f68f89bd20e.tar.gz glibc-6334191e7f34f5fd4d12e034bcb46f68f89bd20e.tar.bz2 |
Define FP_TRAPPING_EXCEPTIONS for MIPS.
-rw-r--r-- | ChangeLog.mips | 3 | ||||
-rw-r--r-- | sysdeps/mips/mips64/soft-fp/sfp-machine.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips index 7d07aa6..a63f051 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -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. diff --git a/sysdeps/mips/mips64/soft-fp/sfp-machine.h b/sysdeps/mips/mips64/soft-fp/sfp-machine.h index 9c1ee3b..c81067d 100644 --- a/sysdeps/mips/mips64/soft-fp/sfp-machine.h +++ b/sysdeps/mips/mips64/soft-fp/sfp-machine.h @@ -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 |