aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/fpu/multiarch/e_asin.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-10-28 16:55:01 -0400
committerUlrich Drepper <drepper@gmail.com>2011-10-28 16:55:01 -0400
commita5b81e1fb7c6a5e323785598767460fe040ca778 (patch)
treefcc77bd050b6f81ecd8fce64840bf03decc6e501 /sysdeps/x86_64/fpu/multiarch/e_asin.c
parent0c92d8a87a47ab3276b4591bd084001053c5af2d (diff)
downloadglibc-a5b81e1fb7c6a5e323785598767460fe040ca778.zip
glibc-a5b81e1fb7c6a5e323785598767460fe040ca778.tar.gz
glibc-a5b81e1fb7c6a5e323785598767460fe040ca778.tar.bz2
Remove code without too much effects
Some of the AVX-specific code is not giving enough speed-up to justify the extra code.
Diffstat (limited to 'sysdeps/x86_64/fpu/multiarch/e_asin.c')
-rw-r--r--sysdeps/x86_64/fpu/multiarch/e_asin.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/sysdeps/x86_64/fpu/multiarch/e_asin.c b/sysdeps/x86_64/fpu/multiarch/e_asin.c
index bb711b1..e742a9c 100644
--- a/sysdeps/x86_64/fpu/multiarch/e_asin.c
+++ b/sysdeps/x86_64/fpu/multiarch/e_asin.c
@@ -1,29 +1,18 @@
-#if defined HAVE_FMA4_SUPPORT || defined HAVE_AVX_SUPPORT
+#ifdef HAVE_FMA4_SUPPORT
# include <init-arch.h>
# include <math_private.h>
extern double __ieee754_acos_sse2 (double);
extern double __ieee754_asin_sse2 (double);
-extern double __ieee754_acos_avx (double);
-extern double __ieee754_asin_avx (double);
-# ifdef HAVE_FMA4_SUPPORT
extern double __ieee754_acos_fma4 (double);
extern double __ieee754_asin_fma4 (double);
-# else
-# undef HAS_FMA4
-# define HAS_FMA4 0
-# define __ieee754_acos_fma4 ((void *) 0)
-# define __ieee754_asin_fma4 ((void *) 0)
-# endif
libm_ifunc (__ieee754_acos,
- HAS_FMA4 ? __ieee754_acos_fma4
- : (HAS_AVX ? __ieee754_acos_avx : __ieee754_acos_sse2));
+ HAS_FMA4 ? __ieee754_acos_fma4 : __ieee754_acos_sse2);
strong_alias (__ieee754_acos, __acos_finite)
libm_ifunc (__ieee754_asin,
- HAS_FMA4 ? __ieee754_asin_fma4
- : (HAS_AVX ? __ieee754_asin_avx : __ieee754_asin_sse2));
+ HAS_FMA4 ? __ieee754_asin_fma4 : __ieee754_asin_sse2);
strong_alias (__ieee754_asin, __asin_finite)
# define __ieee754_acos __ieee754_acos_sse2