[PATCH 0/2] Multiarch hooks for memcpy variants

Wilco Dijkstra Wilco.Dijkstra@arm.com
Fri Aug 11 11:11:00 GMT 2017


Siddhesh Poyarekar wrote:
> Functions like mempcpy, __mempcpy_chk and __memcpy_chk continue to call the
> generic memcpy implementation.  These two patches fix this by adding ifunc
> entry points for these functions for generic, thunderx and falkor.

I don't understand what the goal of this is since on AArch64 we always transform
mempcpy to memcpy. Also why use ifuncs on the _chk variants? Are they ever
used in cases where the last 1% of performance matters?

Wilco


More information about the Libc-alpha mailing list