blob: b58b8953cd3a02cd25d8b56d9717adfdf6afa6a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* $OpenBSD: s_lrint.S,v 1.3 2018/07/03 22:43:34 mortimer Exp $ */
/*
* Written by Martynas Venckus. Public domain
*/
#include <machine/asm.h>
ENTRY(lrint)
RETGUARD_SETUP(lrint, r11)
cvtsd2si %xmm0, %rax
RETGUARD_CHECK(lrint, r11)
ret
END(lrint)
|