1 #if defined HAVE_FMA4_SUPPORT || defined HAVE_AVX_SUPPORT
2 # include <init-arch.h>
5 extern double __tan_sse2 (double);
6 extern double __tan_avx (double);
7 # ifdef HAVE_FMA4_SUPPORT
8 extern double __tan_fma4 (double);
12 # define __tan_fma4 ((void *) 0)
15 libm_ifunc (tan
, (HAS_FMA4
? __tan_fma4
:
16 HAS_AVX
? __tan_avx
: __tan_sse2
));
18 # define tan __tan_sse2
22 #include <sysdeps/ieee754/dbl-64/s_tan.c>