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

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

#include <machine/asm.h>

ENTRY(llrint)
	cvtsd2si %xmm0, %rax
	ret