about summary refs log tree commit diff
path: root/sysdeps/sh/sh4/fpu/fegetround.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sh/sh4/fpu/fegetround.c')
-rw-r--r--sysdeps/sh/sh4/fpu/fegetround.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/sh/sh4/fpu/fegetround.c b/sysdeps/sh/sh4/fpu/fegetround.c
index 7368383114..adaeb8a858 100644
--- a/sysdeps/sh/sh4/fpu/fegetround.c
+++ b/sysdeps/sh/sh4/fpu/fegetround.c
@@ -28,5 +28,5 @@ fegetround (void)
   /* Get control word.  */
   _FPU_GETCW (cw);
 
-  return cw & 0x3;
+  return cw & 0x1;
 }