1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-12-16 16:35:45 +00:00
libcpuid/libcpuid
Veselin Georgiev 94fc6ae36a Modify the table matcher a bit. Put some weights on the different fields.
Priously all fields in the matchtable were treated equal in importance.
With this change, the cache size a taken with half the weight in the decision.

Also add detection entries for some more recent Haswells, and the respective
tests. These are an i5 Haswell from a Mac Book Pro, and a i7 Haswel from
Thinkpad T540.
2015-04-17 01:21:30 +03:00
..
asm-bits.c Fix some line endings (make them consistent on each mixed-EOL file). 2014-09-27 17:49:23 +03:00
asm-bits.h Fix some line endings (make them consistent on each mixed-EOL file). 2014-09-27 17:49:23 +03:00
check-consistency.py Updated checking scripts 2012-09-09 22:29:12 +00:00
cpuid_main.c Better support for AVX, AVX2, BMI1 and BMI2 instruction set detection. 2015-04-16 20:54:37 +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 Export the new API function, cpuid_get_total_cpus, in win32 DLLs. 2014-09-27 18:14:06 +03:00
libcpuid.dsp Fix some line endings (make them consistent on each mixed-EOL file). 2014-09-27 17:49:23 +03:00
libcpuid.h Better support for AVX, AVX2, BMI1 and BMI2 instruction set detection. 2015-04-16 20:54:37 +03:00
libcpuid.sym Export the new API function, cpuid_get_total_cpus, in win32 DLLs. 2014-09-27 18:14:06 +03: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 Fix some line endings (make them consistent on each mixed-EOL file). 2014-09-27 17:49:23 +03:00
libcpuid_util.c Modify the table matcher a bit. Put some weights on the different fields. 2015-04-17 01:21:30 +03: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 Fix some line endings (make them consistent on each mixed-EOL file). 2014-09-27 17:49:23 +03:00
Makefile.am Add *.sln, *.vcproj files to automake for "make dist" to work. 2014-06-25 13:54:41 +03: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 Fix some line endings (make them consistent on each mixed-EOL file). 2014-09-27 17:49:23 +03:00
rdtsc.c Shut up a warning in cpu_clock_by_ic(). 2014-08-18 18:24:44 +03:00
rdtsc.h Forgot to add the new header file for rdtsc.c 2010-04-20 09:03:57 +00:00
recog_amd.c Recognize presence of RDTSCP on Intel CPUs as well. 2014-09-23 15:11:00 +03: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 Modify the table matcher a bit. Put some weights on the different fields. 2015-04-17 01:21:30 +03: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