[Bug libc/19766] All machines should pass dl_hwcap to ifunc resolvers.
carlos at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Mar 4 17:16:00 GMT 2016
https://sourceware.org/bugzilla/show_bug.cgi?id=19766
--- Comment #2 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Jakub Jelinek from comment #1)
> Why? On i386/x86_64 it can (and usually does) just use the cpuid
> instruction to query the same information.
It's faster than cpuid and doesn't serialize the instruction stream. If you
really need cpuid then you're free to call it and process the information
yourself, but AT_HWCAP (merged with AT_HWCAP2 on 64-bit platforms) contains
useful information the ifunc resolver might need.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list