xref: /haiku/src/system/libroot/posix/glibc/arch/x86/s_finitel.S (revision e221c09e508ffc3c62738140c9b6fc4fa211662a)
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