This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Enable AVX2 optimized memset only if -mavx2 works
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: myllynen at redhat dot com, Ling Ma <ling dot ma dot program at gmail dot com>, GNU C Library <libc-alpha at sourceware dot org>, Ondrej Bilka <neleai at seznam dot cz>, Liubov Dmitrieva <liubov dot dmitrieva at gmail dot com>, Ling Ma <ling dot ml at alibaba-inc dot com>
- Date: Thu, 10 Jul 2014 11:29:38 -0700
- Subject: Re: [PATCH] Enable AVX2 optimized memset only if -mavx2 works
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOq0SeKyFN0f_7AT_xMP2zyDD6gUQG3Jdv+NSTf5VO=0XQ at mail dot gmail dot com> <53B2DD8D dot 4030908 at redhat dot com> <CAMe9rOpxfyxoet24+pbihErfgnYDDZ=kCCjeUSXt_HVsKfwVhg at mail dot gmail dot com> <20140710182437 dot 8708F2C39CC at topped-with-meat dot com>
On Thu, Jul 10, 2014 at 11:24 AM, Roland McGrath <roland@hack.frob.com> wrote:
> Changes that claim to be performance improvements always must be
> accompanied by reports of benchmark data.
This patch disables AVX2 optimization if AVX2 isn't supported. Otherwise,
glibc fails to build:
https://sourceware.org/ml/libc-alpha/2014-07/msg00007.html
--
H.J.