| 1 | #include <init-arch.h> |
|---|---|
| 2 | #include <math.h> |
| 3 | #include <math_private.h> |
| 4 | |
| 5 | extern double __ieee754_acos_sse2 (double); |
| 6 | extern double __ieee754_asin_sse2 (double); |
| 7 | extern double __ieee754_acos_fma4 (double); |
| 8 | extern double __ieee754_asin_fma4 (double); |
| 9 | |
| 10 | libm_ifunc (__ieee754_acos, |
| 11 | HAS_ARCH_FEATURE (FMA4_Usable) |
| 12 | ? __ieee754_acos_fma4 |
| 13 | : __ieee754_acos_sse2); |
| 14 | strong_alias (__ieee754_acos, __acos_finite) |
| 15 | |
| 16 | libm_ifunc (__ieee754_asin, |
| 17 | HAS_ARCH_FEATURE (FMA4_Usable) |
| 18 | ? __ieee754_asin_fma4 |
| 19 | : __ieee754_asin_sse2); |
| 20 | strong_alias (__ieee754_asin, __asin_finite) |
| 21 | |
| 22 | #define __ieee754_acos __ieee754_acos_sse2 |
| 23 | #define __ieee754_asin __ieee754_asin_sse2 |
| 24 | |
| 25 | |
| 26 | #include <sysdeps/ieee754/dbl-64/e_asin.c> |
| 27 |