xref: /haiku/src/system/libroot/posix/glibc/arch/x86/s_finitel.S (revision 5412911f7f8ca41340b0f5cb928ed9726322ab44)
1*5412911fSJérôme Duval/*
2*5412911fSJérôme Duval * Written by Joe Keane <jgk@jgk.org>.
3*5412911fSJérôme Duval */
4*5412911fSJérôme Duval
5*5412911fSJérôme Duval#include <machine/asm.h>
6*5412911fSJérôme Duval
7*5412911fSJérôme DuvalENTRY(__finitel)
8*5412911fSJérôme Duval	movl	12(%esp),%eax
9*5412911fSJérôme Duval	orl	$0xffff8000, %eax
10*5412911fSJérôme Duval	incl	%eax
11*5412911fSJérôme Duval	shrl	$31, %eax
12*5412911fSJérôme Duval	ret
13*5412911fSJérôme DuvalEND (__finitel)
14*5412911fSJérôme Duvalweak_alias (__finitel, finitel)
15*5412911fSJérôme Duvalhidden_def (__finitel)
16