This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Question on hwcaps
On Wed, Apr 1, 2009 at 2:15 PM, Narayan Subramanian <nsubrama@gmail.com> wrote:
> On my debian 5.0 system using glibc-2.7, the set of important hwcaps
> identified by the system (apart from "tls" and i686) are sse2 and cmov
> respectively. I can see this with LD_DEBUG=all.
>
> However by examining the source code for glibc-2.7, the only default
> hwcaps mask should be sse2. So from where did the cmov mask come from?
>
> Any insight into this would be very helpful.
The linux kernel passes it to userspace via AT_HWCAP (see fs/binfmt_elf.c).
Cheers,
Carlos.