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