Include hwcap as ifunc argument
Richard Henderson
rth@twiddle.net
Mon Jun 4 22:14:00 GMT 2012
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~
More information about the Libc-alpha
mailing list