projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69751d3
)
(feclearexcept): Right shift FE_ALL_EXCEPT before complimenting.
author
Ulrich Drepper
<drepper@redhat.com>
Thu, 18 Dec 2003 03:56:15 +0000
(
03:56
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Thu, 18 Dec 2003 03:56:15 +0000
(
03:56
+0000)
sysdeps/hppa/fpu/fclrexcpt.c
patch
|
blob
|
history
diff --git
a/sysdeps/hppa/fpu/fclrexcpt.c
b/sysdeps/hppa/fpu/fclrexcpt.c
index
8ad67b9
..
a7c6982
100644
(file)
--- a/
sysdeps/hppa/fpu/fclrexcpt.c
+++ b/
sysdeps/hppa/fpu/fclrexcpt.c
@@
-29,7
+29,7
@@
feclearexcept (int excepts)
__asm__ ("fstd %%fr0,0(%1)" : "=m" (*sw) : "r" (sw));
/* Clear all the relevant bits. */
- sw[0] &= ~(
excepts & FE_ALL_EXCEPT) << 27
;
+ sw[0] &= ~(
(excepts & FE_ALL_EXCEPT) << 27)
;
__asm__ ("fldd 0(%0),%%fr0" : : "r" (sw));
/* Success. */