1/* $NetBSD: lrint.S,v 1.1 2004/07/01 19:08:21 drochner Exp $ */ 2 3#include <machine/asm.h> 4 5LEAF(lrint, 1) 6 cvttq fa0,ft0 7#if 0 8 ftoit ft0,v0 9#else 10 stt ft0,(-8)(sp) 11 ldq v0,(-8)(sp) 12#endif 13 ret 14