[PATCH rsa/power8_partial]

Ryan S Arnold rsa@linux.vnet.ibm.com
Sat Jun 22 14:04:00 GMT 2013


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




More information about the Libc-alpha mailing list