Tue Jun 4 20:10:09 1996 J.T. Conklin <jtc@cygnus.com>
authorroland <roland>
Wed, 5 Jun 1996 01:05:26 +0000 (01:05 +0000)
committerroland <roland>
Wed, 5 Jun 1996 01:05:26 +0000 (01:05 +0000)
* sysdeps/libm-i387/s_finitef.S: Fix mask for exponent.

sysdeps/libm-i387/s_finitef.S

index f842d46..28a0a40 100644 (file)
@@ -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)