summaryrefslogtreecommitdiff
path: root/sysdeps/libm-i387/s_tan.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/s_tan.S')
-rw-r--r--sysdeps/libm-i387/s_tan.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/libm-i387/s_tan.S b/sysdeps/libm-i387/s_tan.S
index 9333671873..7b3547af4c 100644
--- a/sysdeps/libm-i387/s_tan.S
+++ b/sysdeps/libm-i387/s_tan.S
@@ -11,7 +11,7 @@ ENTRY(__tan)
fldl 4(%esp)
fptan
fnstsw %ax
- andw $0x400,%ax
+ testl $0x400,%eax
jnz 1f
fstp %st(0)
ret
@@ -20,11 +20,11 @@ ENTRY(__tan)
fxch %st(1)
2: fprem1
fstsw %ax
- andw $0x400,%ax
+ testl $0x400,%eax
jnz 2b
fstp %st(1)
fptan
fstp %st(0)
ret
-PSEUDO_END (__tan)
+END (__tan)
weak_alias (__tan, tan)