1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-12-16 16:35:45 +00:00
Commit graph

76 commits

Author SHA1 Message Date
The Tumultuous Unicorn Of Darkness
f1c96e1372
DB: add Intel Apollo Lake
Related to InstLatx64/InstLatx64@33c980db26
2023-09-23 10:14:30 +02:00
The Tumultuous Unicorn Of Darkness
af6bbc5e78
Tests: add Intel Alder Lake-U (Pentium)
Related to InstLatx64/InstLatx64@abb8eb8950
2023-07-26 14:26:00 +02:00
The Tumultuous Unicorn Of Darkness
a9925a4c19
Tests: add Intel Sapphire Rapids-WS (Xeon w9)
Related to InstLatx64/InstLatx64@fbda7ba291
2023-07-01 18:01:37 +02:00
The Tumultuous Unicorn Of Darkness
16fc6d5efa
DB: add Intel Raptor Lake-H/HX 2023-05-14 19:34:12 +02:00
The Tumultuous Unicorn Of Darkness
3dd6974b52
DB: fix entry for Intel Sandy Bridge-E (Core i7) 2023-05-08 22:24:02 +02:00
The Tumultuous Unicorn Of Darkness
55c7d9a22a
DB: fixes for Intel Conroe and Allendale
Source: https://en.wikipedia.org/wiki/Conroe_(microprocessor)#Variants
2023-05-08 22:24:02 +02:00
The Tumultuous Unicorn Of Darkness
1cac5b3eb0
DB: minor update for Intel Arrandale 2023-05-08 22:24:02 +02:00
The Tumultuous Unicorn Of Darkness
e0f02b8d4f
Tests: arranges Intel tests by micro-architecture 2023-05-08 22:24:02 +02:00
The Tumultuous Unicorn Of Darkness
d43fb11b47
DB: add Intel Sapphire Rapids-SP 2023-05-08 22:23:48 +02:00
The Tumultuous Unicorn Of Darkness
3411fe6fe5
DB: add Intel Ice-Lake (server) 2023-05-08 17:56:44 +02:00
The Tumultuous Unicorn Of Darkness
01ec8df7cb
DB: add Intel Cascade Lake 2023-05-08 17:42:30 +02:00
The Tumultuous Unicorn Of Darkness
0df7232da8
DB: add Intel Skylake (server) 2023-05-08 17:42:19 +02:00
The Tumultuous Unicorn Of Darkness
2317f40b36
DB: add Intel Sapphire Rapids-WS
Related to InstLatx64/InstLatx64@954a632d8a
2023-05-02 21:04:10 +02:00
The Tumultuous Unicorn Of Darkness
3bcb6fb72b
DB: add Intel Alder Lake-N
Related to InstLatx64/InstLatx64@2f348215fb
Wikipedia page: https://en.wikipedia.org/wiki/Alder_Lake#Alder_Lake-N
2023-04-01 17:51:20 +02:00
The Tumultuous Unicorn Of Darkness
52f6cb3506
DB: add Intel Rocket Lake-E
Related to InstLatx64/InstLatx64@72b95c2260
Wikipedia page: https://en.wikipedia.org/wiki/Rocket_Lake#Server_processors
2023-04-01 17:30:07 +02:00
The Tumultuous Unicorn Of Darkness
69dc881103
DB: add Intel Raptor Lake-U
Related to InstLatx64/InstLatx64@c63a23ffe8
Wikipedia page: https://en.wikipedia.org/wiki/Raptor_Lake#Raptor_Lake-U
2023-04-01 17:24:24 +02:00
The Tumultuous Unicorn Of Darkness
ba80796d3c
DB: add Intel Raptor Lake-P
Related to InstLatx64/InstLatx64@d4a4849a90
Wikipedia page: https://en.wikipedia.org/wiki/Raptor_Lake#Raptor_Lake-P
2023-04-01 17:20:55 +02:00
The Tumultuous Unicorn Of Darkness
3071037db4
DB: add more Intel Raptor Lake-S
Related to InstLatx64/InstLatx64@d4a4849a90
According to [Wikipedia](https://en.wikipedia.org/wiki/Raptor_Lake#Desktop_processors_(Raptor_Lake-S)):
> These are likely Alder Lake processors since they do not include increased L2 caches
Source: https://www.techpowerup.com/302937/intel-launches-lower-priced-13th-gen-core-desktop-processors-with-65w
2023-04-01 17:02:40 +02:00
The Tumultuous Unicorn Of Darkness
10bebe5d44
DB: fix extended model number for Intel Core i5 Lynnfield
Reported in https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/issues/276#issuecomment-1487740922
According to https://en.wikipedia.org/wiki/List_of_Intel_Core_i5_processors#%22Lynnfield%22_(45_nm), there are only 3 Lynnfield CPUs, but all of them are part of extended family 30 (0x1E), not 37.
Extended family 37 is Arrandale and Clarkdale.
2023-03-30 20:54:39 +02:00
The Tumultuous Unicorn Of Darkness
e8d31149a8
DB: add Intel Alder Lake-H, fix Alder Lake-P
According to Wikipedia (https://en.wikipedia.org/wiki/Alder_Lake#Alder_Lake-H), CPU names ending with 'H' or 'HK' are part of 'Alder Lake-H'.
Only CPU names ending with 'P' are part of 'Alder Lake-P'
2022-12-31 12:14:42 +01:00
The Tumultuous Unicorn Of Darkness
44bde9877a
DB: add Intel Alder Lake-HX
Refer to https://en.wikipedia.org/wiki/Alder_Lake#Alder_Lake-HX
2022-12-31 12:04:12 +01:00
The Tumultuous Unicorn Of Darkness
d984d4389f
DB: add Intel Pentium+Celeron for Alder Lake-S 2022-12-31 11:59:41 +01:00
The Tumultuous Unicorn Of Darkness
1977fb7131
DB: add Intel Ice Lake (Xeon-D)
Refer to InstLatx64/InstLatx64@936e7e1c80
2022-11-11 16:32:37 +01:00
Xorg
e0dce2b0ef
DB: add Intel Tremont
Fix X0rg/CPU-X#253
2022-10-29 15:41:59 +02:00
Xorg
6c9798c3b0
DB: add Intel Penryn L
Related to #176
https://www.intel.com/content/www/us/en/products/sku/41498/intel-celeron-processor-900-1m-cache-2-20-ghz-800-mhz-fsb/specifications.html
2022-10-25 22:53:16 +02:00
Xorg
008983930b
DB: add Intel Raptor Lake-S 2022-10-23 12:11:49 +02:00
Xorg
5b8d89a37d
Tests: replace converted RAW dumps from instlatx64 to AIDA64 format
Since 2b8023f733 and 6b742be8cb, it makes sense to update these tests to add:
- RAW CPUID for all CPU cores
- Number of caches instances
2022-09-22 19:36:48 +02:00
Xorg
6b742be8cb Add cache instances field in cpu_id_t and system_id_t 2022-09-22 17:49:38 +02:00
Xorg
b1732e4785
Tests: minor fixes
Since ff5aafb5f4, xeon-scalable-4114.test and qemu.test are failling because RAW came from a VM.
Since 2b8023f733, godavari-x4.test is failling due to the merge after 9710e7c0ba
2022-09-20 06:58:32 +02:00
Xorg
2b8023f733
Support for hybrid CPU (#166)
* Set CMAKE_C_FLAGS_DEBUG to display warnings during build

CI workflows are reporting warnings. Adding more C flags here help to avoid that.

* Add new types

* Add set_cpu_affinity function

* Add cpu_identify_all function

* Add cpu_request_core_type function

* Add cpuid_get_all_raw_data, cpuid_serialize_all_raw_data and cpuid_deserialize_all_raw_data functions

* Detect hybrid architecture for Intel CPUs

* Update cpuid_tool to detect all CPU logical cores

* Rename tests subdirectories for Intel Core

* Update all tests

Since e4309a6c4bc3ad875711a1599cba01a205b3103e, new fields are reported by cpuid_tool

* Add Intel Alder Lake

Fix #157

* Remove convert_instlatx64.c

This tool is not useful anymore because the cpuid_deserialize_raw_data_internal() function can natively parse them since 5667e1401c

* Fix affinity_mask computation

* Define _GNU_SOURCE in configure.ac

Forgotten in 4f80964db5

* Use dynamic raw array in cpu_raw_data_array_t

* Add cpu_affinity_mask_t type

* Improve set_cpu_affinity function

- Print a warning if logical CPU number is not supported on operating system
- Return a boolean value in case of success instead of an integer

* Improve cpu_identify_all and cpu_request_core_type functions

* Use dynamic array for cpu_types in system_id_t

This commit also adds cleanups, fixes and consistency

* Tests: update Ryzen 5 Matisse with all CPU cores

* Add affinity_mask_str_r function and address other comments

- Fixed cpuid_grow_raw_data_array and cpu_raw_data_array_t.logical_cpu_t with the correct type
- Added a note about hard limit of cpu_raw_data_array_t
- Fixed a typo in cpuid_deserialize_raw_data_internal

* Fix build on Windows
2022-09-15 18:37:08 +02:00
Xorg
0f1ad69145
DB: add Tiger Lake
https://en.wikipedia.org/wiki/Tiger_Lake
Related to X0rg/CPU-X#198
2021-05-26 06:57:04 +02:00
Xorg
167d059a6b
DB: add Rocket Lake
https://en.wikichip.org/wiki/intel/microarchitectures/rocket_lake
InstLatx64/InstLatx64@1bbddafe7b
2021-03-20 17:24:58 +01:00
Xorg
4382796761
DB: add Xeon E3 1275
Score for entry 'Bloomfield (Xeon)' is 10 with this CPU
So it does not match with entry 'Sandy Bridge (Xeon)' (also score 10)
Adding this new entry increase score to 12, and fixing this issue

Close X0rg/CPU-X#182
2021-01-28 20:24:06 +01:00
Xorg
9468598740
Tests: add Core i5 8265U (Whiskey Lake-U)
See f61e3f80db
2021-01-12 19:48:38 +01:00
Xorg
98c9b6ff53
DB: add Gemini Lake
https://en.wikichip.org/wiki/intel/cores/gemini_lake
Reported in X0rg/CPU-X#164
2020-11-14 13:45:15 +01:00
Xorg
672720c501
DB: add Comet Lake-U
https://en.wikipedia.org/wiki/Comet_Lake_(microprocessor)#U-series_(Medium_power)
Reported in X0rg/CPU-X#162
2020-11-14 13:45:14 +01:00
Xorg
4846161cfc
DB: add Kaby Lake-G
https://en.wikichip.org/wiki/intel/cores/kaby_lake_g
Test file converted from http://users.atw.hu/instlatx64/GenuineIntel/GenuineIntel00906E9_KabylakeG_CPUID.txt
2020-11-14 13:45:14 +01:00
Xorg
77dfe98a4c
DB: add Kaby Lake Refresh
https://en.wikichip.org/wiki/intel/cores/kaby_lake_r
Core i5 8250U was detected as Coffee Lake wrongly.
Reported in X0rg/CPU-X#161
2020-11-14 13:45:14 +01:00
Xorg
9abab57bdc
Fix code consistency
Result before this patch:

Checking enum `cpu_feature_t': 113 elements; max size (CPU_FLAGS_MAX=128)... OK
Checking enum `cpu_hint_t': 1 elements; max size (CPU_HINTS_MAX=16)... OK
Checking enum `cpu_sgx_feature_t': 2 elements; max size (SGX_FLAGS_MAX=14)... OK
Finding features:
..Mismatch - cpuid_main.c:688 - `AVX512VNNI' vs `avx512_vnni'
..Mismatch - cpuid_main.c:689 - `AVX512VBMI' vs `avx512_vbmi'
..Mismatch - cpuid_main.c:690 - `AVX512VBMI2' vs `avx512_vbmi2'
  cpuid_main.c: 113 features described
Found 113 total features and 113 named features
Checking whether all features have detection code... FAILED:
..No detection code for CPU_FEATURE_SSE5
2020-05-23 18:24:30 +02:00
Xorg
180154f03d
Detect AVX512VBMI and AVX512VBMI2 features on Intel CPUs
More information: https://en.wikichip.org/wiki/x86/avx-512
Resolve #134
2020-05-18 22:05:01 +02:00
Xorg
4b06a9a23e
Detect ABM feature on Intel CPUs
Resolve #144
2020-05-18 21:11:01 +02:00
Xorg
ef8986407f DB: add Ivy Bridge-E (Xeon) 2020-05-10 17:02:45 +00:00
Xorg
fb1deb1fef Tests: update all tests to add fields for L1I 2020-05-10 17:02:45 +00:00
Xorg
e592a83278 Tests: update to add L1I information
Related to 25d0614811
Dump of Core i5 520m from CPU-X#119
2020-05-10 17:02:45 +00:00
Xorg
8720a71b35
Tests: add Core i5 8250U
Related to X0rg/CPU-X#129
2020-05-09 14:46:59 +02:00
Veselin Georgiev
f6e4e23796 Add Xeon CLX (Cascade lake-based) using data from PR #129
Kudos to Leslie-Fang for providing it!
2019-08-09 11:18:20 +03:00
Xorg
7358232cc4 DB: Add Kaby Lake-U 2018-09-23 22:06:53 +02:00
Xorg
218015a983 Tests: Add Pentium 4405U 2018-08-08 15:02:08 +02:00
Xorg
9c382e33b3 DB: Add Skylake-X CPUs 2018-08-08 14:51:38 +02:00
Veselin Georgiev
45d04a9e4a Fix P-III Celeron misdetected as plain P-III (misreport id #8)
Reported via http://libcpuid.sourceforge.net/bugreport.php
The test in particular has no brand string, which was causing the
misdetection (as is the case with a lot of other models, libcpuid
relies on accurate brand string being programmed by the BIOS in
order to do the detection).

The actual CPU was a Pentium-III based Celeron (SL54Q), but it
was detected as "Pentium III (Coppermine)".

A bit of historical trivia: for the related Tualatin models, if
the BIOS doesn't enter a brand string, there might be NO WAY to
tell a regular P-3 and a P-3 Celeron apart: P-3s have variants
with 256KiB and 512KiB L2 cache, while the Celerons are 256 KiB, so
a 256KiB regular P3 is no different than its corresponding Celeron.
Only the FSB is different, but there's no way to detect this via
CPUID.

For the Coppermines its an easier case: Celerons are always 128KiB,
and Pentia are 256KiB, so I've added this distinction in the tables.
2018-05-02 11:05:25 +03:00