about summary refs log tree commit diff
path: root/sysdeps/i386/fpu/s_finite.S
blob: 52359acdc2d5f79ddd11b2f312e0d1c2ec4569dc (plain) (blame)
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(__finite)
	movl	8(%esp),%eax
	movl    $0xFFEFFFFF,%ecx
	subl    %eax,%ecx
	xorl    %ecx,%eax
	shrl	$31, %eax
	ret
END (__finite)
strong_alias(__finite, __finite_internal)
weak_alias (__finite, finite)