aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/fpu/s_finitef.S
blob: dabb71a115e88f298e99e0d8c97aa1da22b05f84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Written by Joe Keane <jgk@jgk.org>.
 */

#include <machine/asm.h>

ENTRY(__finitef)
	movl	4(%esp),%eax
	movl    $0xFF7FFFFF,%ecx
	subl    %eax,%ecx
	xorl    %ecx,%eax
	shrl    $31,%eax
	ret
END (__finitef)
weak_alias (__finitef, finitef)