aboutsummaryrefslogtreecommitdiff
path: root/system/cpuinfo2cpuflags/README
diff options
context:
space:
mode:
Diffstat (limited to 'system/cpuinfo2cpuflags/README')
-rw-r--r--system/cpuinfo2cpuflags/README9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/cpuinfo2cpuflags/README b/system/cpuinfo2cpuflags/README
new file mode 100644
index 0000000000000..1b0d12c68aff4
--- /dev/null
+++ b/system/cpuinfo2cpuflags/README
@@ -0,0 +1,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.