repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove building with NOCRYPTO option
[minix3.git]
/
lib
/
libm
/
arch
/
riscv
/
lrintf.S
blob
15201fde5d798c9f845ed81e9aa7fbc9be07267b
1
/* $NetBSD: lrintf.S,v 1.2 2015/03/27 23:35:40 matt Exp $ */
2
3
/* The contents of this file are in the public domain. */
4
5
#include <machine/asm.h>
6
7
#ifdef _LP64_X
8
STRONG_ALIAS(llrintf,lrintf)
9
#endif
10
11
ENTRY(lrintf)
12
#ifdef _LP64
13
fcvt.l.s a0, fa0
14
#else
15
fcvt.w.s a0, fa0
16
#endif
17
ret
18
END(lrintf)