This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add avx2 fake-capability, like tls
- From: "Rodriguez Bahena, Victor" <victor dot rodriguez dot bahena at intel dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Fri, 17 Mar 2017 19:18:09 +0000
- Subject: Re: [PATCH] Add avx2 fake-capability, like tls
- Authentication-results: sourceware.org; auth=none
- References: <20170103195311.22870-1-victor.rodriguez.bahena@intel.com> <20170317033949.GI24205@vapier>
On 3/16/17, 9:39 PM, "Mike Frysinger" <vapier@gentoo.org> wrote:
>On 03 Jan 2017 19:53, Victor Rodriguez wrote:
>> The idea of the patch is to provide AVX2 capability to glibc, original
>> patch from: Dimitri John Ledkov <dimitri.j.ledkov@intel.com>.
>> It has been proved that the use of AVX2 improves the performance of
>>current
>> numerical applications. With this patch the Linux distributions will be
>>able to
>> handle AVX2 in glibc
>
>i don't think this description is accurate/relevant. looks like you're
>trying to add a new search path to ldconfig/ld.so.cache so that people
>can build libs w/-mavx2 turned on and then put them under a path e.g.
>/lib64/avx2/ ?
>
>you can't add arch-specific functionality to common code like this.
>this patch will break all non-x86 arches.
>
>i think you want to actually be updating these files:
> sysdeps/i386/dl-procinfo.[ch]
> sysdeps/x86_64/dl-procinfo.[ch]
>-mike
Thanks for the feedback , working on V2
>