about summary refs log tree commit diff
path: root/sysdeps/mips
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips')
-rw-r--r--sysdeps/mips/fpu/fesetenv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mips/fpu/fesetenv.c b/sysdeps/mips/fpu/fesetenv.c
index ab90e4d022..ff84a412a5 100644
--- a/sysdeps/mips/fpu/fesetenv.c
+++ b/sysdeps/mips/fpu/fesetenv.c
@@ -32,6 +32,8 @@ __fesetenv (const fenv_t *envp)
 
   if (envp == FE_DFL_ENV)
     _FPU_SETCW (_FPU_DEFAULT);
+  else if (envp == FE_NOMASK_ENV)
+    _FPU_SETCW (_FPU_IEEE);
   else
     _FPU_SETCW (envp->__fp_control_register);