156bcacd6aca4642a5e8d383923531a04e3d7003
[dragonfly.git] / lib / libm / arch / i386 / s_significand.S
1 /*
2  * Written by J.T. Conklin <jtc@NetBSD.org>.
3  * Public domain.
4  *
5  * $NetBSD: s_significand.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(significand)
13         XMM_ONE_ARG_DOUBLE_PROLOGUE
14         fldl    ARG_DOUBLE_ONE
15         fxtract
16         fstp    %st(1)
17         XMM_DOUBLE_EPILOGUE
18         ret
19 END(significand)