This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Group AVX512 functions in .text.avx512 section
- From: Florian Weimer <fweimer at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Mon, 7 Mar 2016 16:57:04 +0100
- Subject: Re: [PATCH] Group AVX512 functions in .text.avx512 section
- Authentication-results: sourceware.org; auth=none
- References: <1457289968-8965-1-git-send-email-hjl dot tools at gmail dot com> <56DD979E dot 7020009 at redhat dot com> <CAMe9rOpAo8E+SK=MV13k+=qOO2pn4Dfz_n+C3SdUZd5=bL_=Hg at mail dot gmail dot com>
On 03/07/2016 04:54 PM, H.J. Lu wrote:
> On Mon, Mar 7, 2016 at 7:00 AM, Florian Weimer <fweimer@redhat.com> wrote:
>> On 03/06/2016 07:46 PM, H.J. Lu wrote:
>>> * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
>>> Replace .text with .text.avx512.
>>> * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
>>> Likewise.
>>
>> What's the rationale for this change?
> All multiarch functions are grouped in .text.ISA sections so that
> the mos likely selected implementations are next to each other
> in memory. It will improve cache performance.
Makes sense (except the benefit is more avoiding page faults because
these functions are quite large).
Thanks,
Florian