[PATCH] aarch64: Optimized implementation of memmove for Qualcomm Falkor

Szabolcs Nagy szabolcs.nagy@arm.com
Wed Oct 4 14:01:00 GMT 2017


On 19/09/17 16:20, Siddhesh Poyarekar wrote:
> This is an optimized memmove implementation for the Qualcomm Falkor
> processor core.  Due to the way the falkor memcpy needs to be written,
> code cannot be easily shared between memmove and memcpy like in case
> of other aarch64 memcpy implementations due to which this routine is
> separate.  The underlying principle is the same as that of memcpy
> where it tries to use registers with the same lower 4 bits for
> fetching the same stream, thus optimizing hardware prefetcher
> performance.
> 

i think adding a falkor specific memmove is ok,
can you expand on why is it difficult to share code
between memcpy and memmove?



More information about the Libc-alpha mailing list