Update copyright notices with scripts/update-copyrights.
[glibc.git] / sysdeps / x86_64 / fpu / multiarch / e_log.c
blob05f36680be335074483540275794477daa946f6e
1 #if defined HAVE_FMA4_SUPPORT || defined HAVE_AVX_SUPPORT
2 # include <init-arch.h>
3 # include <math_private.h>
5 extern double __ieee754_log_sse2 (double);
6 extern double __ieee754_log_avx (double);
7 # ifdef HAVE_FMA4_SUPPORT
8 extern double __ieee754_log_fma4 (double);
9 # else
10 # undef HAS_FMA4
11 # define HAS_FMA4 0
12 # define __ieee754_log_fma4 ((void *) 0)
13 # endif
15 libm_ifunc (__ieee754_log,
16 HAS_FMA4 ? __ieee754_log_fma4
17 : (HAS_AVX ? __ieee754_log_avx : __ieee754_log_sse2));
18 strong_alias (__ieee754_log, __log_finite)
20 # define __ieee754_log __ieee754_log_sse2
21 #endif
24 #include <sysdeps/ieee754/dbl-64/e_log.c>