Update copyright notices with scripts/update-copyrights.
[glibc.git] / sysdeps / x86_64 / fpu / multiarch / s_tan.c
blob904308fadad9b640cfaa6ae5bab32252cdd96aa2
1 #if defined HAVE_FMA4_SUPPORT || defined HAVE_AVX_SUPPORT
2 # include <init-arch.h>
3 # include <math.h>
5 extern double __tan_sse2 (double);
6 extern double __tan_avx (double);
7 # ifdef HAVE_FMA4_SUPPORT
8 extern double __tan_fma4 (double);
9 # else
10 # undef HAS_FMA4
11 # define HAS_FMA4 0
12 # define __tan_fma4 ((void *) 0)
13 # endif
15 libm_ifunc (tan, (HAS_FMA4 ? __tan_fma4 :
16 HAS_AVX ? __tan_avx : __tan_sse2));
18 # define tan __tan_sse2
19 #endif
22 #include <sysdeps/ieee754/dbl-64/s_tan.c>