mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-10 19:30:10 +00:00
[BZ #10]
Update. 2004-02-09 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Don't touch bits other than the status bits [BZ #10].
This commit is contained in:
parent
9e59d9cbd2
commit
ff136edd32
@ -1,3 +1,8 @@
|
||||
2004-02-09 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Don't touch bits
|
||||
other than the status bits [BZ #10].
|
||||
|
||||
2004-02-08 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
Make stream locking operations really work.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Clear given exceptions in current floating-point environment.
|
||||
Copyright (C) 1997,99,2000, 2001, 2003 Free Software Foundation, Inc.
|
||||
Copyright (C) 1997,99,2000, 2001, 2003, 2004 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||
|
||||
@ -50,7 +50,7 @@ __feclearexcept (int excepts)
|
||||
__asm__ ("stmxcsr %0" : "=m" (*&xnew_exc));
|
||||
|
||||
/* Clear the relevant bits. */
|
||||
xnew_exc &= excepts ^ FE_ALL_EXCEPT;
|
||||
xnew_exc &= ~excepts;
|
||||
|
||||
/* Put the new data in effect. */
|
||||
__asm__ ("ldmxcsr %0" : : "m" (*&xnew_exc));
|
||||
|
Loading…
Reference in New Issue
Block a user