This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/12775] New: Typo in sysdeps/x86_64/fpu/e_powl.S


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]