This is the mail archive of the
mailing list for the glibc project.
Re: [RFC PATCH] aarch64: improve memset
- From: Richard Henderson <rth at twiddle dot net>
- To: Wilco Dijkstra <wdijkstr at arm dot com>
- Cc: will dot newton at linaro dot org, marcus dot shawcroft at gmail dot com, libc-alpha at sourceware dot org
- Date: Sat, 08 Nov 2014 11:05:21 +0100
- Subject: Re: [RFC PATCH] aarch64: improve memset
- Authentication-results: sourceware.org; auth=none
- References: <002701cffaa0$77623570$6626a050$ at com> <002801cffaa5$eb2852f0$c178f8d0$ at com>
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.
> * 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.