]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/x86_64/fpu/s_log1pl.S
(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
[thirdparty/glibc.git] / sysdeps / x86_64 / fpu / s_log1pl.S
index ac2bd22a4fc5fc31b758beafff689fb73fe070a2..7fbd0e5aaad08ef1a2b9cf52c7700b94f6c185aa 100644 (file)
@@ -45,7 +45,7 @@ ENTRY(__log1pl)
        fxam
        fnstsw
        fld     %st
-       testb   $1, %ah
+       andb    $1,%ah
        jnz     3f              // in case x is NaN or ±Inf
 4:
        fabs
@@ -62,8 +62,7 @@ ENTRY(__log1pl)
 2:     fyl2xp1
        ret
 
-3:     testb   $4, %ah
-       jnz     4b              // in case x is ±Inf
+3:     jp      4b              // in case x is ±Inf
        fstp    %st(1)
        fstp    %st(1)
        ret