about summary refs log tree commit diff
path: root/sysdeps/libm-i387/s_finitef.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/s_finitef.S')
-rw-r--r--sysdeps/libm-i387/s_finitef.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/libm-i387/s_finitef.S b/sysdeps/libm-i387/s_finitef.S
index f842d468b9..28a0a40308 100644
--- a/sysdeps/libm-i387/s_finitef.S
+++ b/sysdeps/libm-i387/s_finitef.S
@@ -9,9 +9,9 @@ RCSID("$NetBSD: s_finitef.S,v 1.3 1995/05/09 00:00:02 jtc Exp $")
 
 ENTRY(__finitef)
 	movl	4(%esp),%eax
-	andl	$0x7ff00000, %eax
-	cmpl	$0x7ff00000, %eax
-	setnel	%al
+	andl	$0x7f800000, %eax
+	cmpl	$0x7f800000, %eax
+	setne	%al
 	andl	$0x000000ff, %eax
 	ret
 weak_alias (__finitef, finitef)