diff options
Diffstat (limited to 'lib/libm/arch/amd64/s_lrint.S')
-rw-r--r-- | lib/libm/arch/amd64/s_lrint.S | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libm/arch/amd64/s_lrint.S b/lib/libm/arch/amd64/s_lrint.S new file mode 100644 index 00000000000..5cc27122fad --- /dev/null +++ b/lib/libm/arch/amd64/s_lrint.S @@ -0,0 +1,12 @@ +/* $OpenBSD: s_lrint.S,v 1.1 2009/04/10 11:30:33 martynas Exp $ */ + +/* + * Written by Martynas Venckus. Public domain + */ + +#include <machine/asm.h> + +ENTRY(lrint) + cvtsd2si %xmm0, %rax + ret + |