diff options
Diffstat (limited to 'REORG.TODO/sysdeps/x86_64/fpu/multiarch/s_atan.c')
-rw-r--r-- | REORG.TODO/sysdeps/x86_64/fpu/multiarch/s_atan.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/x86_64/fpu/multiarch/s_atan.c b/REORG.TODO/sysdeps/x86_64/fpu/multiarch/s_atan.c new file mode 100644 index 0000000000..742e95cb96 --- /dev/null +++ b/REORG.TODO/sysdeps/x86_64/fpu/multiarch/s_atan.c @@ -0,0 +1,15 @@ +#include <init-arch.h> +#include <math.h> + +extern double __atan_sse2 (double); +extern double __atan_avx (double); +extern double __atan_fma4 (double); + +libm_ifunc (atan, (HAS_ARCH_FEATURE (FMA4_Usable) ? __atan_fma4 : + HAS_ARCH_FEATURE (AVX_Usable) + ? __atan_avx : __atan_sse2)); + +#define atan __atan_sse2 + + +#include <sysdeps/ieee754/dbl-64/s_atan.c> |