
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
19 lines
287 B
ArmAsm
19 lines
287 B
ArmAsm
/* $NetBSD: lrint.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(llrint,lrint)
|
|
#endif
|
|
|
|
ENTRY(lrint)
|
|
#ifdef _LP64
|
|
fcvt.l.d a0, fa0
|
|
#else
|
|
fcvt.w.d a0, fa0
|
|
#endif
|
|
ret
|
|
END(lrint)
|