[PATCH x86_64] Update memcpy, mempcpy and memmove selection order for Excavator CPU BZ #19583
H.J. Lu
hjl.tools@gmail.com
Tue Mar 22 15:03:00 GMT 2016
On Tue, Mar 22, 2016 at 7:57 AM, Pawar, Amit <Amit.Pawar@amd.com> wrote:
>>>>It was done based on assumption that AVX enabled machine has fast AVX unaligned load. If it isn't true for AMD CPUs, we can enable it for all Intel AVX CPUs and you can set it for AMD CPUs properly.
>>>
>>> Memcpy still needs to be fixed otherwise SSE2_Unaligned version is selected. Is it OK to fix in following way else please suggest.
>>
>>So AMD processor doesn't want Fast_Unaligned_Load. Why is it set?
>
> For this function it is not better but good for other routines like strcat, strncat, stpcpy, stpncpy, strcpy and strncpy.
Then we should add Fast_Unaligned_Copy and only use it in
memcpy.
--
H.J.
More information about the Libc-alpha
mailing list