This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Remove -mavx2 configure tests


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]