about summary refs log tree commit diff
path: root/sysdeps/sh/sh4/fpu/fegetround.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2012-06-09 18:46:01 +0200
committerThomas Schwinge <thomas@codesourcery.com>2012-06-09 18:46:01 +0200
commit99ff6e5c49c10bb1827e102c7a8eb6b504f0886f (patch)
treeb4b46c4f707a57b5a4c73f6fa6238774784f8a4b /sysdeps/sh/sh4/fpu/fegetround.c
parent366af02c96eea0a03ccd2fa187819d866ac49ba2 (diff)
downloadglibc-99ff6e5c49c10bb1827e102c7a8eb6b504f0886f.tar.gz
glibc-99ff6e5c49c10bb1827e102c7a8eb6b504f0886f.tar.xz
glibc-99ff6e5c49c10bb1827e102c7a8eb6b504f0886f.zip
SH: No FE_UPWARD, FE_DOWNWARD.
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;
 }