summary refs log tree commit diff
path: root/sysdeps/libm-i387/s_sin.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/s_sin.S')
-rw-r--r--sysdeps/libm-i387/s_sin.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/libm-i387/s_sin.S b/sysdeps/libm-i387/s_sin.S
index f06c9440ad..f048e5278b 100644
--- a/sysdeps/libm-i387/s_sin.S
+++ b/sysdeps/libm-i387/s_sin.S
@@ -11,7 +11,7 @@ ENTRY(__sin)
 	fldl	4(%esp)
 	fsin
 	fnstsw	%ax
-	andw	$0x400,%ax
+	testl	$0x400,%eax
 	jnz	1f
 	ret
 1:	fldpi
@@ -19,10 +19,10 @@ ENTRY(__sin)
 	fxch	%st(1)
 2:	fprem1
 	fnstsw	%ax
-	andw	$0x400,%ax
+	testl	$0x400,%eax
 	jnz	2b
 	fstp	%st(1)
 	fsin
 	ret
-PSEUDO_END (__sin)
+END (__sin)
 weak_alias (__sin, sin)