aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/fpu/s_finitef.S
blob: 69e72facffd13210c3900370207f0de464347f64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * 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)
hidden_def (__finitef)