Veselin Georgiev
b0cc93a253
Merge pull request #92 from X0rg/master
...
AMD Ryzen support (RDMSR)
2017-04-26 15:50:02 +01:00
Xorg
6574ce29e8
RDMSR: add Ryzen support
...
Close #86
2017-04-26 15:40:46 +02:00
Veselin Georgiev
b9a85805d2
Add "Multiprecision Computing Toolbox for MATLAB" to libcpuid users.
...
As suggested in issue #89 .
2017-04-04 17:31:03 +03:00
Veselin Georgiev
8fe734c493
Fix previous commit based on comments in issue #89 thread.
...
This should be correct now.
2017-04-04 06:18:47 +03:00
Veselin Georgiev
88483aaba0
Possibly fix #89 : Build failes with MSVC
...
Fix non-C89 constructs. Not really verified to compile fine on MSVC,
since I don't have one right now, but will check later.
2017-04-03 13:24:57 +03:00
Veselin Georgiev
94507ded22
Fixed issue #86 : AMD Ryzen support
...
Also add a test of Ryzen 7 (1800X).
2017-03-20 02:28:28 +02:00
Veselin Georgiev
779b403aa0
Matchtable refactoring for AMD (see previous commit).
2017-03-20 01:47:28 +02:00
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
Veselin Georgiev
037245032e
Merge pull request #88 from X0rg/master
...
Update CPUs database
2017-03-15 12:23:24 +00:00
Xorg
bb4141a25a
Enforce Python 2.7 in tests
2017-03-12 09:34:26 +01:00
Xorg
803a062479
Doesn't specify l2_cache value for Llano CPUs and newer
2017-03-12 09:32:28 +01:00
Xorg
8f94a9d88a
Partially revert 9f391244bc
about Skylake Core i[357] changes
2017-03-12 09:29:49 +01:00
Xorg
76d5892bbe
Reorganise AMD CPUs/APUs by family, fix wrong extended family
2017-03-11 19:19:58 +01:00
Xorg
9f391244bc
Recognise more Intel CPUs, fix Skylake detection
2017-03-11 16:55:19 +01:00
Xorg
d212585d51
Align some misaligned brackets in databases
2017-03-11 15:44:40 +01:00
Veselin Georgiev
3272be1d21
Add comment about cpu_msrinfo() being not-threadsafe.
2017-03-04 20:22:13 +02:00
Veselin Georgiev
2a2d43b9a3
Merge pull request #87 from X0rg/master
...
Fixes related to #84
2017-03-04 18:18:56 +00:00
Xorg
45158da967
RDMSR: fix wrong values after using cpu_msr_driver_close()
2017-03-04 19:06:27 +01:00
Xorg
660cde12c7
cpuid_tool: fix multipliers format since 6ae7e344be
2017-03-04 19:04:17 +01:00
Veselin Georgiev
1e597b9d25
Merge pull request #85 from X0rg/master
...
Fixes for #84
2017-03-04 16:19:25 +00:00
Xorg
e5193b0163
RDMSR: fix last P-state calculation with AMD CPUs
2017-03-04 16:40:46 +01:00
Xorg
6ae7e344be
cpuid_tool: fix output with --rdmsr option
2017-03-04 14:34:38 +01:00
Veselin Georgiev
c96ae6f8fc
Merge pull request #83 from X0rg/master
...
Various changes for RDMSR
2017-02-15 01:44:51 +00:00
Xorg
eac52e7f04
RDMSR: fix bus speed computing with AMD CPUs
2017-02-12 21:51:04 +01:00
Xorg
09a75e95f2
RDMSR: fix returned value on NULL handler
...
It should return CPU_INVALID_VALUE on error, not ERR_HANDLE
2017-02-12 20:17:56 +01:00
Xorg
e7bfcc3651
RDMSR: add an internal structure to pass arguments
2017-02-12 20:17:56 +01:00
Xorg
d5c892e002
RDMSR: fix cpu_msrinfo() function with AMD CPUs
2017-02-12 20:17:51 +01:00
Veselin Georgiev
0cb7023828
Merge pull request #82 from X0rg/master
...
Add a switch to cpuid_tool to dump MSR values to a file.
This is very similar to the --save=... feature.
2017-02-10 01:55:05 +00:00
Veselin Georgiev
86bf8e8269
Fixed issue #81 : Misdiagnosis microarchitecture for i3-3220T
...
It's a mystery to me why this CPU doesn't have RdRand.
A quick-n-dirty workaround is inserted to fix that.
2017-02-10 03:48:00 +02:00
Xorg
9b038c94c4
Add a msr_serialize_raw_data() function
2017-02-09 20:55:28 +01:00
Veselin Georgiev
fa87a5e183
Fixed issue #78 : date in changelog is wrong
2016-11-13 02:54:52 +02:00
Veselin Georgiev
e36a08deb9
Fixed issue #76 : Skylake Core i5 badly recognized
...
Add support for detecting RDSEED and ADX instructions.
Use RDSEED instead of RTM to ascertain that the CPU is
Broadwell or later in recog_intel.c. This fixes
detection discrepancies on Linux, where RTM is not
made available (I guess there's no kernel support for it).
The two new flags are also now detected in the Broadwell
and Skylake tests. Update them as well.
2016-10-25 05:16:44 +03:00
Veselin Georgiev
ee88463079
Fix a compilation error on MSVC.
2016-10-18 02:15:36 +02:00
Veselin Georgiev
6907241564
Related to issue #75 : Improve documentation of cpuid_get_total_cpus().
2016-10-18 01:54:27 +03:00
Veselin Georgiev
4c776cb465
cpuid_tool: proper indentation for printing EPC sections.
2016-10-04 00:37:10 +03:00
Veselin Georgiev
722a12bad2
cpuid_tool: document the `--sgx' option, and make it special.
...
Other, non-special options like `--cache' output strictly one line.
--sgx is not like that, because how much data it will print depends
on the machine it is being run.
2016-10-04 00:04:56 +03:00
Veselin Georgiev
f10e8c79ee
Fix an error with printing SGX values, and a few warnings.
2016-10-03 22:34:22 +03:00
Veselin Georgiev
937586037a
Merge pull request #74 from eloaders/master
...
Fix #72
2016-10-03 19:15:05 +01:00
eloaders
b5bd535582
Fix #72
...
let libcpuid 0.4.0 and brethen conflict with libcpuid 0.3.0 and its
brethen
2016-10-03 20:10:02 +02:00
Veselin Georgiev
12849cea60
Merge pull request #70 from eloaders/master
...
Fix Launchpad Build
2016-10-03 17:47:36 +01:00
eloaders
14cd4421b5
Fix Launchpad Build
...
debian/changelog didn't contain any parseable stanzas
2016-10-03 18:31:06 +02:00
Veselin Georgiev
e632d1287c
Fix issue #69 : clang LTO error
...
Replace named asm label with unnamed (local) label.
2016-10-03 13:17:01 +03:00
Veselin Georgiev
4cf8cfa862
Related to issue #67 : Information about the availability of SGX
...
Initial commit adding support for detection of SGX. Not tested yet.
Increment version number due to binary incompatibility of the
sizes of cpu_raw_data_t and cpu_id_t.
2016-10-03 13:07:22 +03:00
Veselin Georgiev
94843e8fd5
Merge pull request #68 from X0rg/master
...
Minor fixes
2016-09-22 16:31:14 +01:00
Xorg
af35c0a0dc
Fix Debian package
2016-09-22 17:11:47 +02:00
Xorg
4b4b49b288
Fix build on GhostBSD 10.3
2016-09-22 17:11:47 +02:00
Veselin Georgiev
240d1c2e1e
Merge pull request #65 from eloaders/patch-4
...
Update control
2016-09-20 13:38:23 +01:00
Veselin Georgiev
a7a31743a2
Fix issue #66 : Manpage for cpuid_tool
...
The man-page is generated with Doxygen, similar to the lib docs.
2016-09-20 15:36:40 +03:00
eloaders
05b0540b4b
Update control
2016-09-19 20:32:45 +02:00
Veselin Georgiev
a68792dc2c
Merge pull request #63 from eloaders/patch-3
...
Update control
2016-09-15 18:43:15 +01:00