1/* 2 * Public domain. 3 */ 4 5#include <machine/asm.h> 6#include <i386-math-asm.h> 7#include <libm-alias-finite.h> 8 9RCSID("$NetBSD: e_atan2.S,v 1.4 1995/05/08 23:46:28 jtc Exp $") 10 11DEFINE_DBL_MIN 12 13#ifdef PIC 14# define MO(op) op##@GOTOFF(%ecx) 15#else 16# define MO(op) op 17#endif 18 19 .text 20ENTRY(__ieee754_atan2) 21#ifdef PIC 22 LOAD_PIC_REG (cx) 23#endif 24 fldl 4(%esp) 25 fldl 12(%esp) 26 fpatan 27 DBL_CHECK_FORCE_UFLOW_NARROW 28 ret 29END (__ieee754_atan2) 30libm_alias_finite (__ieee754_atan2, __atan2) 31