projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26a96aa
)
Shift the exception mask in the right position.
author
Ulrich Drepper
<drepper@redhat.com>
Fri, 11 Jul 1997 01:13:11 +0000
(
01:13
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Fri, 11 Jul 1997 01:13:11 +0000
(
01:13
+0000)
sysdeps/m68k/fpu/feholdexcpt.c
patch
|
blob
|
history
diff --git
a/sysdeps/m68k/fpu/feholdexcpt.c
b/sysdeps/m68k/fpu/feholdexcpt.c
index
351fa8a
..
d8e2d8a
100644
(file)
--- a/
sysdeps/m68k/fpu/feholdexcpt.c
+++ b/
sysdeps/m68k/fpu/feholdexcpt.c
@@
-32,7
+32,7
@@
feholdexcept (fenv_t *envp)
fpsr = envp->status_register & ~FE_ALL_EXCEPT;
__asm__ __volatile__ ("fmove%.l %0,%/fpsr" : : "dm" (fpsr));
/* And set all exceptions to non-stop. */
- fpcr = envp->control_register & ~(FE_ALL_EXCEPT <<
5
);
+ fpcr = envp->control_register & ~(FE_ALL_EXCEPT <<
6
);
__asm__ __volatile__ ("fmove%.l %0,%!" : : "dm" (fpcr));
return 1;