about summary refs log tree commit diff
path: root/sysdeps/libm-i387/s_finitel.S
blob: 7af80475ae05053a8096f3a21e1b65fe78df02fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Written by J.T. Conklin <jtc@netbsd.org>.
 * Public domain.
 *
 * Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
 */

#include <machine/asm.h>

RCSID("$NetBSD: $")

ENTRY(__finitel)
	movl	12(%esp),%eax
	andl	$0x7fff, %eax
	cmpl	$0x7fff, %eax
	setne	%al
	andl	$0x000000ff, %eax
	ret
PSEUDO_END (__finitel)
weak_alias (__finitel, finitel)