This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Remove -mavx2 configure tests
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 28 Oct 2015 06:23:06 -0700
- Subject: Re: Remove -mavx2 configure tests
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1510281317080 dot 30835 at digraph dot polyomino dot org dot uk>
On Wed, Oct 28, 2015 at 6:18 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> There are configure tests for the -mavx2 compiler option. AVX2
> support was added in GCC 4.7, so these tests are now obsolete; this
> patch removes them.
>
> Tested for x86_64 and x86 (testsuite, and that installed stripped
> shared libraries are unchanged by the patch).
>
> 2015-10-28 Joseph Myers <joseph@codesourcery.com>
>
> * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
> test.
> * sysdeps/i386/configure: Regenerated.
> * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
> test.
> * sysdeps/x86_64/configure: Regenerated.
> * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
> * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
> memset-avx2 unconditionally instead of conditionally on
> [$(config-cflags-avx2) = yes].
> * sysdeps/x86_64/multiarch/ifunc-impl-list.c
> (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
> unconditional.
> * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
> * sysdeps/x86_64/multiarch/memset_chk.S
> [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
> to [IS_IN (libc) && SHARED].
>
OK. Thanks.
--
H.J.