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