| 1 | #include <init-arch.h> |
|---|---|
| 2 | #include <math.h> |
| 3 | #include <math_private.h> |
| 4 | |
| 5 | extern double __ieee754_log_sse2 (double); |
| 6 | extern double __ieee754_log_avx (double); |
| 7 | extern double __ieee754_log_fma4 (double); |
| 8 | |
| 9 | libm_ifunc (__ieee754_log, |
| 10 | HAS_ARCH_FEATURE (FMA4_Usable) ? __ieee754_log_fma4 |
| 11 | : (HAS_ARCH_FEATURE (AVX_Usable) |
| 12 | ? __ieee754_log_avx : __ieee754_log_sse2)); |
| 13 | strong_alias (__ieee754_log, __log_finite) |
| 14 | |
| 15 | #define __ieee754_log __ieee754_log_sse2 |
| 16 | |
| 17 | |
| 18 | #include <sysdeps/ieee754/dbl-64/e_log.c> |
| 19 |