summaryrefslogtreecommitdiff
path: root/sysdeps/mips/fpu_control.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips/fpu_control.h')
-rw-r--r--sysdeps/mips/fpu_control.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/mips/fpu_control.h b/sysdeps/mips/fpu_control.h
index cfb4e6a0fd..3347c286e7 100644
--- a/sysdeps/mips/fpu_control.h
+++ b/sysdeps/mips/fpu_control.h
@@ -93,20 +93,20 @@ extern fpu_control_t __fpu_control;
/* Mask for rounding control. */
#define _FPU_RC_MASK 0x3
-#define _FPU_RESERVED 0xfe840000 /* Reserved bits in cw, incl NAN2008. */
+#define _FPU_RESERVED 0xfe8c0000 /* Reserved bits in cw, incl ABS/NAN2008. */
/* The fdlibm code requires strict IEEE double precision arithmetic,
and no interrupts for exceptions, rounding to nearest. */
#ifdef __mips_nan2008
-# define _FPU_DEFAULT 0x00040000
+# define _FPU_DEFAULT 0x000C0000
#else
# define _FPU_DEFAULT 0x00000000
#endif
/* IEEE: same as above, but exceptions. */
#ifdef __mips_nan2008
-# define _FPU_IEEE 0x00040F80
+# define _FPU_IEEE 0x000C0F80
#else
# define _FPU_IEEE 0x00000F80
#endif