[RFC PATCH] aarch64: improve memset
Richard Henderson
rth@twiddle.net
Sat Nov 8 10:05:00 GMT 2014
On 11/07/2014 05:14 PM, Wilco Dijkstra wrote:
> * Do we really need variants for cache line sizes that are never going to be used?
> I'd say just support 64 and 128, and default higher sizes to no_zva.
We could.
> * Why special case line size=64 only?
Because that was all I could test.
> * Is the no-ifunc variant still required/used? We're now having at least 4 different
> variants which all need to be tested and maintained...
It's used within ld.so itself, though of course that too could go no_zva.
> * Finally, which version is used when linking statically? I presume there is some
> makefile magic that causes the no-zva version to be used, however that might not be
> optimal for all targets.
One can have ifuncs in statically linked programs. They get resolved at
startup; I forget the exact mechanism.
r~
More information about the Libc-alpha
mailing list