summaryrefslogtreecommitdiff
path: root/sysdeps/libm-i387/e_log10.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/e_log10.S')
-rw-r--r--sysdeps/libm-i387/e_log10.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/libm-i387/e_log10.S b/sysdeps/libm-i387/e_log10.S
index ecb691b905..2c8488c3a9 100644
--- a/sysdeps/libm-i387/e_log10.S
+++ b/sysdeps/libm-i387/e_log10.S
@@ -47,8 +47,8 @@ ENTRY(__ieee754_log10)
fabs // |x-1| : x-1 : x : log10(2)
fcompl MO(limit) // x-1 : x : log10(2)
fnstsw // x-1 : x : log10(2)
- sahf
- ja 2f
+ andb $0x45, %ah
+ jz 2f
fstp %st(1) // x-1 : log10(2)
fyl2xp1 // log10(x)
ret