1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-11-10 22:59:13 +00:00
libcpuid/libcpuid
Veselin Georgiev 8179882abb Major refactoring of the Intel match tables.
There were a lot of instances where there was additional code
written to detect certain features from the brand string
(e.g., does it have "Core (TM)"? if it has, does it have "i3"?).
It makes sense to only write code for detecting these features
in isolation, preventing the exponential blowup of possible
intel_code_t values (e.g. previously there were enum values
for CORE_{,IVY,HASWELL,BROADWELL,SKYLAKE}{,M}{3,5,7} - almost
20 separate enums items; these can now be expressed with the
respective bits (CORE_, _I_, _M_, _3, _5 and _7).

The change in matchtables is the addition of an extra field
after brand_code: it is called model_bits. The bits for each
vendor is defined in the beginning of recog_<<vendor>>.c

This is the first part of the overhaul, which handles the bits
detection and proper matchtables for Intel. Refactoring of
AMD detection code coming next...
2017-03-20 01:01:22 +02:00
..
amd_code_t.h Reorganize library a bit. 2016-06-03 03:30:36 +03:00
asm-bits.c Fix issue #69: clang LTO error 2016-10-03 13:17:01 +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 Related to issue #67: Information about the availability of SGX 2016-10-03 13:07:22 +03:00
cpuid_main.c Fixed issue #76: Skylake Core i5 badly recognized 2016-10-25 05:16:44 +03:00
Doxyfile.in Fix issue #66: Manpage for cpuid_tool 2016-09-20 15:36:40 +03: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 Add a msr_serialize_raw_data() function 2017-02-09 20:55:28 +01:00
intel_code_t.h Major refactoring of the Intel match tables. 2017-03-20 01:01:22 +02:00
libcpuid.dsp Related to issue #67: Information about the availability of SGX 2016-10-03 13:07:22 +03:00
libcpuid.h Add comment about cpu_msrinfo() being not-threadsafe. 2017-03-04 20:22:13 +02:00
libcpuid.sym Add a msr_serialize_raw_data() function 2017-02-09 20:55:28 +01:00
libcpuid_constants.h Related to issue #67: Information about the availability of SGX 2016-10-03 13:07:22 +03:00
libcpuid_internal.h Major refactoring of the Intel match tables. 2017-03-20 01:01:22 +02: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 Major refactoring of the Intel match tables. 2017-03-20 01:01:22 +02:00
libcpuid_util.h Major refactoring of the Intel match tables. 2017-03-20 01:01:22 +02:00
libcpuid_vc10.vcxproj Related to issue #67: Information about the availability of SGX 2016-10-03 13:07:22 +03:00
libcpuid_vc10.vcxproj.filters Replace VC9 project files with improved ones for VC10. 2016-07-10 02:51:23 +02:00
libcpuid_vc71.vcproj Related to issue #67: Information about the availability of SGX 2016-10-03 13:07:22 +03:00
Makefile.am Fix issue #66: Manpage for cpuid_tool 2016-09-20 15:36:40 +03:00
Makefile.x64 Related to issue #67: Information about the availability of SGX 2016-10-03 13:07:22 +03:00
Makefile.x86 Related to issue #67: Information about the availability of SGX 2016-10-03 13:07:22 +03:00
masm-x64.asm Fixed issue #18: Win64 issues 2015-05-07 17:16:46 +02:00
msrdriver.c Resolve warnings on Mac OS X. 2016-06-06 01:50:05 +03:00
rdmsr.c RDMSR: fix wrong values after using cpu_msr_driver_close() 2017-03-04 19:06:27 +01:00
rdtsc.c Fix cpu_clock_by_ic() for Skylake (it was 1.6 times too high). 2016-05-19 01:37:45 +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 Major refactoring of the Intel match tables. 2017-03-20 01:01:22 +02:00
recog_amd.h Reorganize library a bit. 2016-06-03 03:30:36 +03:00
recog_intel.c Major refactoring of the Intel match tables. 2017-03-20 01:01:22 +02:00
recog_intel.h Reorganize library a bit. 2016-06-03 03:30:36 +03:00