Re: AMD k6 cosmetic problems

Richard Henderson (rth@dot.cygnus.com)
Fri, 10 Oct 1997 13:53:09 -0700


On Fri, Oct 10, 1997 at 08:35:04AM -0700, H. Peter Anvin wrote:
> Neither does relying on uname. If you want to check for chip
> features, you should just read /proc/cpuinfo. With the "feature flag
> set" of the newer x86 chips, that's the *only* way you're gonna know
> what you have.

The feature set shown in /proc/cpuinfo is also passed to applications
as a bitmask as the value for Elf32_auxv_t tag AT_HWCAP. This is new
to very recent 2.1 kernels though.

r~