summaryrefslogtreecommitdiffstats
path: root/system/cpuinfo2cpuflags/README
blob: 1b0d12c68aff4370a788269199fbd9f751c79e35 (plain)
1
2
3
4
5
6
7
8
9
cpuinfo2cpuflags (guess CPU_FLAGS_X86 flags for the host)

cpuinfo2cpuflags is a tool to guess CPU_FLAGS_X86 flags for the host.

Call the cpuid instruction to obtain the supported CPU feature bits
instead of reading the preprocessed values from Linux-specific 
/proc/cpuinfo. This increases portability across systems and accuracy of
information -- supported instructions depend on the version of the
program rather than the Linux kernel.