mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-07 13:09:33 -04:00
19 lines
292 B
ArmAsm
19 lines
292 B
ArmAsm
/* $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)
|