This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/12775] New: Typo in sysdeps/x86_64/fpu/e_powl.S
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 17 May 2011 23:24:59 +0000
- Subject: [Bug math/12775] New: Typo in sysdeps/x86_64/fpu/e_powl.S
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12775
Summary: Typo in sysdeps/x86_64/fpu/e_powl.S
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: math
AssignedTo: aj@suse.de
ReportedBy: hjl.tools@gmail.com
This patch:
diff --git a/sysdeps/x86_64/fpu/e_powl.S b/sysdeps/x86_64/fpu/e_powl.S
index 4959bea..f6a09c8 100644
--- a/sysdeps/x86_64/fpu/e_powl.S
+++ b/sysdeps/x86_64/fpu/e_powl.S
@@ -154,7 +154,7 @@ ENTRY(__ieee754_powl)
fucompp // 1.0 : x : y
fnstsw
fxch // x : 1.0 : y
- test $4500,%eax
+ test $0x4500,%eax
jz 7f
fsub %st(1) // x-1 : 1.0 : y
fyl2xp1 // log2(x) : y
seems to fix the testcase in:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49031
It looks a like a typo to me.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.