[PATCH x86_64][BZ #20139] Don't allow configure with not supporting AVX512 assembler w/o --disable-avx512.

Mike Frysinger vapier@gentoo.org
Mon Jun 27 19:04:00 GMT 2016


On 27 Jun 2016 11:25, H.J. Lu wrote:
> On Mon, Jun 27, 2016 at 11:16 AM, Mike Frysinger <vapier@gentoo.org> wrote:
> > On 27 Jun 2016 20:40, Andrew Senkevich wrote:
> >> +'--disable-avx512'
> >> +     By default for x86_64, the GNU C Library is built with
> >> +     '--enable-avx512'.  Configure with '--disable-avx512' if assembler
> >> +     doesn't support AVX512.
> >
> > people shouldn't have to pass configure flags like this to get a
> > successful build.  we have all the info in order to figure out a
> > sane default.  specifying enable/disable flags is purely to not
> > use the default autodetection.
> 
> We want to make sure that x86-64 glibc supports AVX512.  Any
> suggestions are welcome.

i don't see how that's relevant to what i said.  if the assembler can
be probed to see if it supports AVX512, then do that.  why do you need
a configure flag at all in that case ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160627/92e35851/attachment.sig>


More information about the Libc-alpha mailing list