diff options
| author | Ulrich Drepper <drepper@redhat.com> | 2001-04-25 18:27:55 +0000 |
|---|---|---|
| committer | Ulrich Drepper <drepper@redhat.com> | 2001-04-25 18:27:55 +0000 |
| commit | aad4bb3a11398b8c9f579d1eb8a2aa9dbb8cfcea (patch) | |
| tree | cffc6958e42028fa4aed2fed7d7c018ffb71a5d7 /sysdeps | |
| parent | c9ae5095a4d3c9001de05bee0e21a5d681f5c2e2 (diff) | |
| download | glibc-aad4bb3a11398b8c9f579d1eb8a2aa9dbb8cfcea.tar.xz glibc-aad4bb3a11398b8c9f579d1eb8a2aa9dbb8cfcea.zip | |
Clear the exception flags, not the enable flags.
Diffstat (limited to 'sysdeps')
| -rw-r--r-- | sysdeps/hppa/fpu/fclrexcpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/hppa/fpu/fclrexcpt.c b/sysdeps/hppa/fpu/fclrexcpt.c index 4c64027310..e8049e6b44 100644 --- 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); + sw[0] &= ~(excepts & FE_ALL_EXCEPT) << 27; __asm__ ("fldd 0(%0),%%fr0" : : "r" (sw)); /* Success. */ |
