about summary refs log tree commit diff
path: root/sysdeps/i386/fpu/s_finite.S
blob: 98f8262e26ed9d1593558ceb82ffe75baeda8047 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13

#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)
weak_alias (__finite, finite)
hidden_def (__finite)