2001-04-12  Paul Bame  <paul_bame@hp.com>

	* sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
	enable flags.
This commit is contained in:
Ulrich Drepper 2001-04-25 18:29:10 +00:00
parent d95f785397
commit 69d8605e84
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-04-12 Paul Bame <paul_bame@hp.com>
* sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
enable flags.
2001-04-24 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,

View File

@ -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. */