This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH rsa/power8_partial]
- From: Ryan S Arnold <rsa at linux dot vnet dot ibm dot com>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 21 Jun 2013 12:29:23 -0500
- Subject: Re: [PATCH rsa/power8_partial]
- References: <1371828104 dot 4379 dot 3 dot camel at localhost dot localdomain> <51C47DFF dot 2070000 at twiddle dot net>
On Fri, 2013-06-21 at 09:23 -0700, Richard Henderson wrote:
> On 06/21/2013 08:21 AM, Ryan S Arnold wrote:
> > This lacks hwcap bits for
> > power8 since those are blocked on AT_HWCAP2, which will slip into glibc
> > 2.19.
>
> You might as well commit the patch for elf.h that adds AT_HWCAP2.
Hi Richard, I haven't yet put together the patch for using
GLRO(dl_hwcap2) as you suggested Would adding dl_hwcap2 preclude this
from being backported to 2.18 (or earlier)?
> With only that, the feature is still usable for applications via
> getauxval. It'll go through the linear search path of that function,
> returning exactly what the kernel provided.
>
> For 2.19, and whatever stuff we wind up doing in ld.so, will simply
> make the getauxval function faster for hwcap2.
>
> Dunno what to do about versioning the ifunc arguments though...
Yes, this remains unsolved as of yet.
Ryan