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: Include hwcap as ifunc argument


On 06/04/2012 02:21 PM, Ryan S. Arnold wrote:
> Peter Bergner reminded me today that on PowerPC the IFUNC resolver
> will most likely/often use the value in AT_PLATFORM rather than
> AT_HWCAP to determine which optimized function to use.  I suppose this
> would diminish the necessity of passing the hwcap to the ifunc
> resolver.

It depends on what's being tested, I suppose.

Within glibc itself you've got lots of platform-specific tuning, so 
you may well use AT_PLATFORM more.

Outside glibc, it might just be a test for Altivec or VDX or whatever.


r~


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