[PATCH] Group AVX512 functions in .text.avx512 section

H.J. Lu hjl.tools@gmail.com
Mon Mar 7 15:54:00 GMT 2016


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.

-- 
H.J.



More information about the Libc-alpha mailing list