[PATCH] x86_64: memcpy/memmove family optimized with AVX512
H.J. Lu
hjl.tools@gmail.com
Fri Jan 15 22:36:00 GMT 2016
On Fri, Jan 15, 2016 at 2:24 PM, Florian Weimer <fweimer@redhat.com> wrote:
> On 01/15/2016 10:47 PM, Andrew Senkevich wrote:
>> diff --git a/sysdeps/x86_64/multiarch/memcpy_chk.S b/sysdeps/x86_64/multiarch/memcpy_chk.S
>> index 6476c62..a0d56d4 100644
>> --- a/sysdeps/x86_64/multiarch/memcpy_chk.S
>> +++ b/sysdeps/x86_64/multiarch/memcpy_chk.S
>> @@ -30,7 +30,15 @@
>> ENTRY(__memcpy_chk)
>> .type __memcpy_chk, @gnu_indirect_function
>> LOAD_RTLD_GLOBAL_RO_RDX
>> - leaq __memcpy_chk_sse2(%rip), %rax
>> +#ifdef HAVE_AVX512_ASM_SUPPORT
>> + HAS_ARCH_FEATURE (AVX512F_Usable)
>> + jz 1f
>> +# HAS_ARCH_FEATURE (Prefer_No_VZEROUPPER)
>> +# jz 1f
>
> The two lines starting with “#” look somewhat out of place. Is this
> really intended?
>
Looks like typo to me.
--
H.J.
More information about the Libc-alpha
mailing list