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

171 commits

Author SHA1 Message Date
The Tumultuous Unicorn Of Darkness
5553b37043
Tests: fix test result for AMD EPYC Genoa
amd_ext_topology Git branch not merged yet.
2023-05-08 16:35:31 +02:00
The Tumultuous Unicorn Of Darkness
5789a6e297
Support another variant of AIDA64 dumps in cpuid_deserialize_raw_data_internal()
It support lines like 'CPU#000 AffMask: 0x0000000000000001'
2023-05-08 16:35:11 +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
b4aa93f204
DB: add AMD Genoa
Related to InstLatx64/InstLatx64@7faa0c2306
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
a4fd6b5ecb
DB: add AMD Rembrandt APU
Related to InstLatx64/InstLatx64@a9b0a0f160
2023-04-01 16:43:58 +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
e94d675039
DB: add AMD 4700S, rename 4800S
https://www.amd.com/fr/desktop-kits/amd-4700s
2022-11-11 19:27:57 +01:00
The Tumultuous Unicorn Of Darkness
94930cb891
DB: add AMD Athlon 64 Sherman
Related to TheTumultuousUnicornOfDarkness/CPU-X#255
2022-11-11 16:59:21 +01:00
The Tumultuous Unicorn Of Darkness
ac084cc6e9
DB: add more AMD Renoir
Ryzen 7 4800S Desktop Kit
Refer to InstLatx64/InstLatx64@2cdaa4a2ec
https://www.amd.com/en/product/9081
2022-11-11 16:42:09 +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
The Tumultuous Unicorn Of Darkness
c839e597ae
DB: add AMD Mendocino
Refer to InstLatx64/InstLatx64@936e7e1c80
https://www.anandtech.com/show/17584/amd-launches-mendocino-apus-zen-2-ryzen-and-athlon-7020-series-with-rdna-2-graphics
2022-11-11 16:23: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
afd80271bd
DB: add AMD Van Gogh
This APU is used by Steam Deck
2022-10-01 18:07:13 +02:00
Xorg
3524cb5203
DB: add AMD Dali
https://en.wikichip.org/wiki/amd/cores/dali
2022-10-01 18:07:00 +02:00
Xorg
863bf79bc9
DB: add AMD Raphael 2022-10-01 17:36:40 +02:00
Xorg
7ab6b3273c
DB: add AMD custom APU for Steam Deck
Fix X0rg/CPU-X#236
2022-09-27 20:19:12 +02:00
Xorg
3ed66b7613
Treat others CPU packages as different CPU types
If a RAW dump is containing for instance 256 logical CPUs (2 sockets with 64 cores and SMT), they should not be considered as a 128 cores CPU with SMT.
2022-09-22 21:50:08 +02:00
Xorg
1a0eb95d02
DB: add more AMD Kabini 2022-09-22 20:54:25 +02:00
Xorg
f23a2e3a41
DB: add AMD Steppe Eagle 2022-09-22 20:46:36 +02:00
Xorg
e591e52245
DB: add AMD Beema 2022-09-22 20:46:23 +02:00
Xorg
a3b9b7a798
DB: add AMD Abu Dhabi 2022-09-22 20:27:08 +02:00
Xorg
401a56e4cb
DB: add AMD Interlagos 2022-09-22 20:26:55 +02:00
Xorg
ee97ed213a
DB: rename AMD Bulldozer to Zambezi 2022-09-22 20:17:33 +02:00
Xorg
a98817b804
DB: add AMD Bald Eagle 2022-09-22 20:10:36 +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
0c9ef3249c Decode deterministic cache info for AMD CPUs too
Since Zen-based CPUs, cpu_id_t::l3_cache is the size of the total L3 cache for the whole chip, while cpu_id_t::l1_cache and cpu_id_t::l2_cache are size for each instances.
This change provide L3 cache size per instance.
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
1575ce49fd
Tests: add return code in run_tests.py
The goal is to fail CI jobs if tests fail
2022-09-20 06:53:16 +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
9710e7c0ba
DB: add AMD Athlon Godavari
Fix X0rg/CPU-X#232
2022-09-07 18:37:14 +02:00
Xorg
660126c55d
Tests: add AMD A10 Pro-7350B (Kaveri) from InstLatx64 2022-08-28 11:42:25 +02:00
Xorg
ca0327d621
DB: add Warhol 2022-08-28 11:41:28 +02:00
Xorg
cbaa02a966
DB: add Rembrandt 2022-08-28 11:22:03 +02:00
Xorg
ecd45bb276
Tests: add more Zen2 tests from InstLatx64 2022-02-06 11:52:55 +01:00
Xorg
5ce462c32c
DB: add Lucienne
https://en.wikichip.org/wiki/amd/cores/lucienne
Fix X0rg/CPU-X#209
2022-02-06 11:29:46 +01: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
1843292dba
Tests: fix truncation warnings in convert_instlatx64 2021-03-20 18:14:06 +01: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
c8238acd0a
DB: add Milan
https://en.wikichip.org/wiki/amd/cores/milan
InstLatx64/InstLatx64@2dc186e948
2021-03-20 17:10:07 +01:00