about summary refs log tree commit diff
path: root/sysdeps/libm-i387/s_finitef.S
blob: cb0caabf6f639bb20ebf71a4aa8df35a0c860c44 (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_finitef.S,v 1.3 1995/05/09 00:00:02 jtc Exp $")

ENTRY(__finitef)
	movl	4(%esp),%eax
	andl	$0x7f800000, %eax
	cmpl	$0x7f800000, %eax
	setne	%al
	andl	$0x000000ff, %eax
	ret
PSEUDO_END (__finitef)
weak_alias (__finitef, finitef)