This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH rsa/power8_partial]


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]