summaryrefslogtreecommitdiff
path: root/ports/sysdeps/mips/fpu_control.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sysdeps/mips/fpu_control.h')
-rw-r--r--ports/sysdeps/mips/fpu_control.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/sysdeps/mips/fpu_control.h b/ports/sysdeps/mips/fpu_control.h
index a318ade9bc..ee774153f2 100644
--- a/ports/sysdeps/mips/fpu_control.h
+++ b/ports/sysdeps/mips/fpu_control.h
@@ -90,6 +90,8 @@ extern fpu_control_t __fpu_control;
#define _FPU_RC_ZERO 0x1
#define _FPU_RC_UP 0x2
#define _FPU_RC_DOWN 0x3
+/* Mask for rounding control. */
+#define _FPU_RC_MASK 0x3
#define _FPU_RESERVED 0xfe840000 /* Reserved bits in cw, incl NAN2008. */