diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-04-25 18:29:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-04-25 18:29:10 +0000 |
commit | 69d8605e847999157ed38fdecc49dffb826cdd2a (patch) | |
tree | af51cd8b7d14b4893dde6cdc7de7e64815a978c3 /sysdeps/hppa/fpu | |
parent | d95f785397446b952748e029af45c7585db80e85 (diff) | |
download | glibc-69d8605e847999157ed38fdecc49dffb826cdd2a.tar.gz |
Update.
2001-04-12 Paul Bame <paul_bame@hp.com>
* sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
enable flags.
Diffstat (limited to 'sysdeps/hppa/fpu')
-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. */ |