summaryrefslogtreecommitdiff
path: root/lib/libm/arch/amd64/s_lrintf.S
blob: 912e6b62064cd4e74f5a1627b636f534f4974a69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*	$OpenBSD: s_lrintf.S,v 1.1 2009/04/10 11:30:33 martynas Exp $	*/

/*
 * Written by Martynas Venckus.  Public domain
 */

#include <machine/asm.h>

ENTRY(lrintf)
	cvtss2si %xmm0, %rax
	ret