1/* 2 * Written by Joe Keane <jgk@jgk.org>. 3 */ 4 5#include <machine/asm.h> 6 7ENTRY(__finite) 8 movl 8(%esp),%eax 9 movl $0xFFEFFFFF,%ecx 10 subl %eax,%ecx 11 xorl %ecx,%eax 12 shrl $31, %eax 13 ret 14END (__finite) 15weak_alias (__finite, finite) 16hidden_def (__finite) 17 18