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

#include <machine/asm.h>

ENTRY(__finite)
	movl	8(%esp),%eax
	orl	$0x800fffff, %eax
	incl	%eax
	shrl	$31, %eax
	ret
END (__finite)
weak_alias (__finite, finite)