mirror of
https://github.com/anrieff/libcpuid
synced 2024-12-16 16:35:45 +00:00
a small C library for x86 CPU detection and feature extraction
f750dde2c0
- Move detection of constant_tsc to common; it is spec'd in Intel docs - Fix broken interpretation of EAX in leaf 80000000h: it shows max 800000xx-value, not max xx-value. This causes, for example, to seek for extended features on Pentium II, where the extended leafs aren't supported by the CPU at all. This is only in common feature detection. AMD detection is fine. - Add detection of a few new features in AMD leaf 80000007h: cbp (core performance boost), aperfmperf (APERF/MPERF MSRs supported), pfi (processor feedback interface) and pa (processor accumulator). "make test" is broken right now, to be fixed in a subsequent commit. |
||
---|---|---|
contrib/MSR Driver | ||
cpuid_tool | ||
libcpuid | ||
tests | ||
AUTHORS | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
libcpuid.dsw | ||
libcpuid.pc.in | ||
libcpuid_vc9.sln | ||
libcpuid_vc71.sln | ||
Makefile.am | ||
NEWS | ||
README |
libcpuid --------- libcpuid provides CPU identification for the x86 (and x86_64). For details about the programming API, please see the docs on the project's site (http://libcpuid.sourceforge.net/) Configuring after checkout -------------------------- Under linux, where you download the sources, there's no configure script to run. This is because it isn't a good practice to keep such scripts in a source control system. To create it, you need to run the following commands once, after you checkout the libcpuid sources from github: 1. run "libtoolize" 2. run "autoreconf --install" You need to have autoconf, automake and libtool installed. After that you can run "./configure" and "make" - this will build the library. "make dist" will create a tarball (with "configure" inside) with the sources.