about summary refs log tree commit diff
path: root/sysdeps/libm-i387/s_finite.S
blob: 538fec94e15cbac569246f9cfd0c1adf2d7a55c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Written by J.T. Conklin <jtc@netbsd.org>.
 * Public domain.
 */

#include <machine/asm.h>

RCSID("$NetBSD: s_finite.S,v 1.4 1995/05/08 23:57:41 jtc Exp $")

ENTRY(__finite)
	movl	8(%esp),%eax
	andl	$0x7ff00000, %eax
	cmpl	$0x7ff00000, %eax
	setne	%al
	andl	$0x000000ff, %eax
	ret
PSEUDO_END (__finite)
weak_alias (__finite, finite)