bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bugs in x86 fedisblxcpt.c, feenablxcpt.c, feholdexcpt.c


From: Arnaud Desitter
Subject: bugs in x86 fedisblxcpt.c, feenablxcpt.c, feholdexcpt.c
Date: Fri, 13 Jun 2003 12:19:13 +0100

Hi,

Peering at libc/sysdeps/i386/fpu/fedisblxcpt.c, 
libc/sysdeps/i386/fpu/feenablxcpt.c and 
libc/sysdeps/i386/fpu/feholdexcpt.c within CVS, it seems that
the recently added (29 April 2003) SSE support is not correct. 

In fedisblxcpt.c, 
"xnew_exc |= excepts;" should be "xnew_exc |= excepts << 7;" 
In feenablxcpt.c,
"xnew_exc &= ~excepts;" should be "xnew_exc &= ~(excepts << 7)".
In feholdexcpt.c (a simple typo),
"work |= 0x1f80;" should be "xwork |= 0x1f80;"

(see  libc/sysdeps/x86_64/fpu routines for reference) 

Regards,






reply via email to

[Prev in Thread] Current Thread [Next in Thread]