aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-12-03 02:50:58 +0000
committerRoland McGrath <roland@gnu.org>2002-12-03 02:50:58 +0000
commitfa9a4ff0ba0b66f544bcd69e6bd0929f0a7fc7ff (patch)
tree413449448f0ca03a2a7601f58c77ce01c8927199 /sysdeps
parent2d14868942150183adaf0bc80b8ed6b70b65261e (diff)
downloadglibc-fa9a4ff0ba0b66f544bcd69e6bd0929f0a7fc7ff.tar
glibc-fa9a4ff0ba0b66f544bcd69e6bd0929f0a7fc7ff.tar.gz
glibc-fa9a4ff0ba0b66f544bcd69e6bd0929f0a7fc7ff.tar.bz2
glibc-fa9a4ff0ba0b66f544bcd69e6bd0929f0a7fc7ff.zip
* sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both
bits of RM are cleared.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/hppa/fpu/fesetround.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/hppa/fpu/fesetround.c b/sysdeps/hppa/fpu/fesetround.c
index 7634b1e1d7..3687624c2b 100644
--- a/sysdeps/hppa/fpu/fesetround.c
+++ b/sysdeps/hppa/fpu/fesetround.c
@@ -31,7 +31,7 @@ fesetround (int round)
/* Get the current status word. */
__asm__ ("fstd %%fr0,0(%1)" : "=m" (*sw) : "r" (sw));
- sw[0] &= ~FE_UPWARD;
+ sw[0] &= ~FE_DOWNWARD;
sw[0] |= round;
__asm__ ("fldd 0(%0),%%fr0" : : "r" (sw));