summary refs log tree commit diff
path: root/sysdeps/libm-i387/s_finitel.S
blob: acc5ad4cd04e495f5a0f5a8042614799de9bf73b (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(__finitel)
	movl	12(%esp),%eax
	orl	$0xffff8000, %eax
	incl	%eax
	shrl	$31, %eax
	ret
END (__finitel)
weak_alias (__finitel, finitel)