projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8545e2d
)
2002-12-02 Carlos O'Donell <carlos@baldric.uwo.ca>
author
Roland McGrath
<roland@gnu.org>
Tue, 3 Dec 2002 02:50:52 +0000
(
02:50
+0000)
committer
Roland McGrath
<roland@gnu.org>
Tue, 3 Dec 2002 02:50:52 +0000
(
02:50
+0000)
* sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both
bits of RM are cleared.
sysdeps/hppa/fpu/fesetround.c
patch
|
blob
|
history
diff --git
a/sysdeps/hppa/fpu/fesetround.c
b/sysdeps/hppa/fpu/fesetround.c
index
7634b1e
..
3687624
100644
(file)
--- 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_
UP
WARD;
+ sw[0] &= ~FE_
DOWN
WARD;
sw[0] |= round;
__asm__ ("fldd 0(%0),%%fr0" : : "r" (sw));