blob: 15201fde5d798c9f845ed81e9aa7fbc9be07267b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* $NetBSD: lrintf.S,v 1.2 2015/03/27 23:35:40 matt Exp $ */
/* The contents of this file are in the public domain. */
#include <machine/asm.h>
#ifdef _LP64_X
STRONG_ALIAS(llrintf,lrintf)
#endif
ENTRY(lrintf)
#ifdef _LP64
fcvt.l.s a0, fa0
#else
fcvt.w.s a0, fa0
#endif
ret
END(lrintf)
|