aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/fpu/s_finitel.S
blob: 9e49796901992f2d6c134f5ebc63073e105b56b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Written by Joe Keane <jgk@jgk.org>.
 * Adopted for x86-64 by Andreas Jaeger <aj@suse.de>.
 */

#include <machine/asm.h>

ENTRY(__finitel)
	movl	16(%rsp),%eax
	orl	$0xffff8000, %eax
	incl	%eax
	shrl	$31, %eax
	ret
END (__finitel)
weak_alias (__finitel, finitel)
hidden_def (__finitel)