b84618c98c717a17c969226a9f02080a28efb4a3
[dragonfly.git] / lib / libm / arch / i386 / s_rint.S
1 /*
2  * Written by J.T. Conklin <jtc@NetBSD.org>.
3  * Public domain.
4  *
5  * $NetBSD: s_rint.S,v 1.6 2003/07/26 19:25:03 salo Exp $
6  */
7
8 #include <machine/asm.h>
9
10 #include "abi.h"
11
12 ENTRY(rint)
13         XMM_ONE_ARG_DOUBLE_PROLOGUE
14         fldl    ARG_DOUBLE_ONE
15         frndint
16         XMM_DOUBLE_EPILOGUE
17         ret
18 END(rint)