xref: /haiku/src/system/libroot/posix/glibc/arch/x86/s_finitel.S (revision b55a57da7173b9af0432bd3e148d03f06161d036)
1/*
2 * Written by Joe Keane <jgk@jgk.org>.
3 */
4
5#include <machine/asm.h>
6
7ENTRY(__finitel)
8	movl	12(%esp),%eax
9	orl	$0xffff8000, %eax
10	incl	%eax
11	shrl	$31, %eax
12	ret
13END (__finitel)
14weak_alias (__finitel, finitel)
15hidden_def (__finitel)
16