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] aarch64: Optimized implementation of memmove for Qualcomm Falkor


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?


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