about summary refs log tree commit diff
path: root/sysdeps/libm-i387/s_finite.S
blob: 198eb809a9ccf723e8475a83aaf277f0840649e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Written by Joe Keane <jgk@jgk.org>.
 */

#include <machine/asm.h>

ENTRY(__finite)
	movl	8(%esp)
	movl    $0xFFEFFFFF,%ecx
	subl    %eax,%ecx
	xorl    %ecx,%eax,%eax
	shrl	$31, %eax
	ret
END (__finite)
weak_alias (__finite, finite)