diff options
Diffstat (limited to 'lib/libm/arch/x86_64/e_atan2.S')
-rw-r--r-- | lib/libm/arch/x86_64/e_atan2.S | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/libm/arch/x86_64/e_atan2.S b/lib/libm/arch/x86_64/e_atan2.S new file mode 100644 index 00000000000..d6d9fa24248 --- /dev/null +++ b/lib/libm/arch/x86_64/e_atan2.S @@ -0,0 +1,18 @@ +/* + * Written by J.T. Conklin <jtc@NetBSD.org>. + * Public domain. + */ + +#include <machine/asm.h> + +#include "abi.h" + +RCSID("$NetBSD: e_atan2.S,v 1.6 2003/07/26 19:24:58 salo Exp $") + +ENTRY(__ieee754_atan2) + XMM_TWO_ARG_DOUBLE_PROLOGUE + fldl ARG_DOUBLE_ONE + fldl ARG_DOUBLE_TWO + fpatan + XMM_DOUBLE_EPILOGUE + ret |