[PATCH] x86_64: memset optimized with AVX512
H.J. Lu
hjl.tools@gmail.com
Thu Dec 10 19:34:00 GMT 2015
On Thu, Dec 10, 2015 at 10:28 AM, Andrew Senkevich
<andrew.n.senkevich@gmail.com> wrote:
>>> END (MEMSET)
>>> +libc_hidden_def (__memset_avx2)
>>
>> Why is this change needed? If it is needed, please submit
>> a separate patch.
>
> We can avoid this change if hide implementation, test and IFUNC branch
> under HAVE_AVX512_ASM_SUPPORT.
>
>> Should __memset_chk_avx512 also be provided?
>
> It will be the same as AVX2 version, is it really needed?
__memset_chk_avx2 calls __memset_avx2. Don't you want
__memset_chk to call __memset_avx512, instead of __memset_avx2,
on KNL?
--
H.J.
More information about the Libc-alpha
mailing list