This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] x86_64: memset optimized with AVX512


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]