1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-02-22 20:25:04 +00:00
libcpuid/libcpuid
Veselin Georgiev 45651ef7bc Merge 141243f from http://github.com/eloaders/libcpuid
This adds support for x2apic detection. This is not a direct merge, since

- the feature is spelled as 'x2apic' instead of 'x2APIC', for consistency with other flags;
- tests are added
- the id of the feature is moved to the end of the cpu_feature_t enum, for binary
  compatibility.
2014-06-22 21:00:18 +03:00
..
asm-bits.c Fixed a crash with gcc-4.6.3 in 32-bit mode. The compiler aggressively optimizes exec_cpuid(), making the stack layout not exactly what the assembly expects. Rearranging instructions seems to fix things. The 64-bit changes aren't tested, though. 2013-01-18 22:32:44 +00:00
asm-bits.h Added cpu_clock_by_ic() function to measure cpu clock using instruction counting. Still not translated to MSVC, and isn't tested on CPUs other than Core i7 (but there it works beatifully). Bumped version to 0.1.3. 2010-04-20 09:01:07 +00:00
check-consistency.py Updated checking scripts 2012-09-09 22:29:12 +00:00
cpuid_main.c Merge 141243f from http://github.com/eloaders/libcpuid 2014-06-22 21:00:18 +03:00
Doxyfile * Support for stdin/stdout for (de)serializing cpu_raw_data_t; 2008-11-19 16:27:31 +00:00
embed_drivers.cpp The logic behind the big IFDEF at msrdriver.c was wrong. You could compile a 32-bit build and run it on 64-bit windows, and in this case you will still need the 64-bit driver. So the platform detection is made runtime, and the correct driver for the platform is extracted on demand. 2009-09-30 15:27:39 +00:00
exports.def Added cpu_clock_by_ic() function to measure cpu clock using instruction counting. Still not translated to MSVC, and isn't tested on CPUs other than Core i7 (but there it works beatifully). Bumped version to 0.1.3. 2010-04-20 09:01:07 +00:00
libcpuid.dsp Changed code generation to Multithreaded DLL 2012-08-26 20:29:44 +00:00
libcpuid.h Merge 141243f from http://github.com/eloaders/libcpuid 2014-06-22 21:00:18 +03:00
libcpuid.sym Added cpu_clock_by_ic() function to measure cpu clock using instruction counting. Still not translated to MSVC, and isn't tested on CPUs other than Core i7 (but there it works beatifully). Bumped version to 0.1.3. 2010-04-20 09:01:07 +00:00
libcpuid_constants.h Added SSE unit size detection, based on the AMD extended leaf 1a, bit 0. Added a field in cpu_id_t to specify SSE unit size. Also added a hints array, similar to the flags array, which will hold various detection-specific hints. The only currently present hint is about the way the SSE unit size is inferred - whether it is based on the old CPU family/model guesswork (which fails for the AMD Brazos-based cores). Also, added the features XOP, FMA4, TBM and F16C. Changed the library version due to breaking binary compatibility. 2011-10-11 16:38:41 +00:00
libcpuid_types.h VS 2002 also doesn't support long long natively (thanks to Andras Kenez for the pointer) 2012-09-19 16:53:09 +00:00
libcpuid_util.c Support for Core i5/i3. The matchtables now have a column for L3 cache 2010-10-13 09:18:07 +00:00
libcpuid_util.h Support for Core i5/i3. The matchtables now have a column for L3 cache 2010-10-13 09:18:07 +00:00
libcpuid_vc9.vcproj Bumped the version to 0.1.4 2011-01-14 05:28:31 +00:00
libcpuid_vc71.vcproj Version of the Windows build upped to 0.2.0 2011-10-14 03:02:50 +00:00
Makefile.am Added cpu_clock_by_ic() function to measure cpu clock using instruction counting. Still not translated to MSVC, and isn't tested on CPUs other than Core i7 (but there it works beatifully). Bumped version to 0.1.3. 2010-04-20 09:01:07 +00:00
Makefile.x64 Added cpu_clock_by_ic() function to measure cpu clock using instruction counting. Still not translated to MSVC, and isn't tested on CPUs other than Core i7 (but there it works beatifully). Bumped version to 0.1.3. 2010-04-20 09:01:07 +00:00
Makefile.x86 Added cpu_clock_by_ic() function to measure cpu clock using instruction counting. Still not translated to MSVC, and isn't tested on CPUs other than Core i7 (but there it works beatifully). Bumped version to 0.1.3. 2010-04-20 09:01:07 +00:00
masm-x64.asm Ported to win64. Assembly bits are taken out to external .asm file. Passes tests on Windows 2003 Server x64 2009-01-27 01:42:23 +00:00
msrdriver.c The logic behind the big IFDEF at msrdriver.c was wrong. You could compile a 32-bit build and run it on 64-bit windows, and in this case you will still need the 64-bit driver. So the platform detection is made runtime, and the correct driver for the platform is extracted on demand. 2009-09-30 15:27:39 +00:00
rdmsr.c Ported to Microsoft Visual C 6.0 2012-08-25 23:14:59 +00:00
rdtsc.c Added SSE unit size detection, based on the AMD extended leaf 1a, bit 0. Added a field in cpu_id_t to specify SSE unit size. Also added a hints array, similar to the flags array, which will hold various detection-specific hints. The only currently present hint is about the way the SSE unit size is inferred - whether it is based on the old CPU family/model guesswork (which fails for the AMD Brazos-based cores). Also, added the features XOP, FMA4, TBM and F16C. Changed the library version due to breaking binary compatibility. 2011-10-11 16:38:41 +00:00
rdtsc.h Forgot to add the new header file for rdtsc.c 2010-04-20 09:03:57 +00:00
recog_amd.c Added support for detecting the following processors: The newer 6 and 8-core Sandy Bridges (termed Sandy Bridge-E), Ivy Bridge, AMD Magny-Cours. Added support for detecting the rdrand instruction. Added tests. 2012-05-26 13:00:04 +00:00
recog_amd.h Added known-cpu-list function. Rearranged Intel CPU list to be better chronologically ordered 2008-12-27 15:46:03 +00:00
recog_intel.c Added support for Intel Atom Cedarview 2012-09-09 22:28:55 +00:00
recog_intel.h Added known-cpu-list function. Rearranged Intel CPU list to be better chronologically ordered 2008-12-27 15:46:03 +00:00