This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH x86_64][BZ #20139] Don't allow configure with not supporting AVX512 assembler w/o --disable-avx512.
- From: Andrew Senkevich <andrew dot n dot senkevich at gmail dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, Florian Weimer <fweimer at redhat dot com>, libc-alpha <libc-alpha at sourceware dot org>
- Date: Tue, 28 Jun 2016 16:04:54 +0300
- Subject: Re: [PATCH x86_64][BZ #20139] Don't allow configure with not supporting AVX512 assembler w/o --disable-avx512.
- Authentication-results: sourceware.org; auth=none
- References: <CAMXFM3tJkhW78PPe4=FUhbm=8HoOY4iouSqXxLObA0GEMTxoZA at mail dot gmail dot com> <alpine dot DEB dot 2 dot 20 dot 1606271751470 dot 7438 at digraph dot polyomino dot org dot uk> <CAMXFM3t_92RMmU=u-70nCHqwXL0BsZ6=82Jn=neiDx82HxjjRg at mail dot gmail dot com> <96d24e9d-bf84-a43b-2860-c49d4fe341a4 at redhat dot com> <CAMe9rOqrRTTs=oMHoew3tUtS+ru2WvWfHuOyidOOMaV468SEZw at mail dot gmail dot com> <alpine dot DEB dot 2 dot 20 dot 1606272019240 dot 3978 at digraph dot polyomino dot org dot uk>
2016-06-27 23:22 GMT+03:00 Joseph Myers <joseph@codesourcery.com>:
> On Mon, 27 Jun 2016, H.J. Lu wrote:
>
>> >> May be it will be the best way. Needed version is 2.25 and it was
>> >> released at Mon, 5 Jan 2015.
>> >
>> >
>> > It's a fairly recent version.
>> >
>>
>> Binutils 2.24 released in Dec., 2013 supports AVX512.
>
> Time-based updates to the binutils requirements would indicate moving to
> requiring binutils 2.24 for building glibc 2.25 and later rather than
> requiring it now for building glibc 2.24, but given a clear reason for the
> requirement I wouldn't object to bringing it forward.
>
> Note: if we require a version with AVX512 support, we should also remove
> all the configure / preprocessor / makefile conditionals on such support,
> and all places where .byte directives are used for instruction encoding
> because of instructions not supported in older versions.
If current issue is enough reason for requiring binutils 2.24 now for
building Glibc 2.24 I can prepare this patch.
In existing Glibc release it should be fixed with .byte-based encodings I think.
--
WBR,
Andrew