VM: full munmap
[minix.git] / lib / libm / arch / i387 / e_remainder.S
blob70223b2ad79ee35f4648a6fb94b85c1c3a87e2f0
1 /*
2  * Written by J.T. Conklin <jtc@NetBSD.org>.
3  * Public domain.
4  */
6 #include <machine/asm.h>
8 #include "abi.h"
10 RCSID("$NetBSD: e_remainder.S,v 1.7 2003/07/26 19:24:59 salo Exp $")
12 ENTRY(__ieee754_remainder)
13         XMM_TWO_ARG_DOUBLE_PROLOGUE
14         fldl    ARG_DOUBLE_TWO
15         fldl    ARG_DOUBLE_ONE
16 1:      fprem1
17         fstsw   %ax
18         btw     $10,%ax
19         jc      1b
20         fstp    %st(1)
21         XMM_DOUBLE_EPILOGUE
22         ret