This is the mail archive of the libc-alpha@sources.redhat.com 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: The usage of _dl_hwcap and dl_hwcap_mask is confusing


> The usage of _dl_hwcap and dl_hwcap_mask is very confusing to me. If
> I understand right, dl_hwcap_mask is optional and each platform can
> decide which features are important. Igoring it shouldn't cause the
> correctness problem. 

That used to be the case.  

> sysdeps/i386/fpu/fe*.c checks dl_hwcap_mask
> to decide if MXCSR should be used or not. Is that intentional?

It seems to be the only thing to do.  The bit must come from somewhere for
it to behave correctly.


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