blob: 6ada33eeca8f5426b4dfe38364f80473a0f9a0a0 (
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.
|