1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-06-07 00:51:40 +00:00
Commit graph

249 commits

Author SHA1 Message Date
The Tumultuous Unicorn Of Darkness
2b2aeea9fa
Enable LFS for XZ files 2025-05-24 07:33:18 +02:00
The Tumultuous Unicorn Of Darkness
098d155c2c
DB: add AMD Strix Halo
Related to InstLatx64/InstLatx64@8107d5c93f
2025-05-24 07:25:07 +02:00
The Tumultuous Unicorn Of Darkness
b71d8216cb
Tests: add more AMD Strix Point
Related to InstLatx64/InstLatx64@fd320d2182
2025-05-24 07:19:29 +02:00
The Tumultuous Unicorn Of Darkness
9ace81dce7
DB: add Intel Skylake-X Core 9th
Fix #215
2025-05-22 18:33:25 +02:00
The Tumultuous Unicorn Of Darkness
56ed6bd7bf
DB: add AMD Krackan Point
Related to InstLatx64/InstLatx64@7127e3f99a
2025-05-17 15:24:28 +02:00
The Tumultuous Unicorn Of Darkness
87bc719460
DB: add more AMD CPUs from K5 to Zen 3 2025-05-03 21:46:06 +02:00
The Tumultuous Unicorn Of Darkness
16c7048883
Update docs 2025-05-03 13:17:45 +02:00
The Tumultuous Unicorn Of Darkness
b1bd10d6f6
DB: add more Intel CPUs from P6 to Westmere 2025-05-03 12:43:28 +02:00
The Tumultuous Unicorn Of Darkness
933f9cccb6
DB: add more Intel CPUs from Westmere to Ice Lake 2025-05-02 23:51:41 +02:00
The Tumultuous Unicorn Of Darkness
25f3c6f29c
Tests: remove frequency from test names 2025-05-02 18:24:39 +02:00
The Tumultuous Unicorn Of Darkness
074f9d7ae1
DB: fix Kaby Lake/Whiskey Lake detection 2025-05-02 18:11:16 +02:00
The Tumultuous Unicorn Of Darkness
44e611c792
DB: add more Intel CPUs from Kaby Lake to Tiger Lake 2025-05-01 21:05:34 +02:00
The Tumultuous Unicorn Of Darkness
f992cc8804
Tests: ignore more fields in create_test.py 2025-05-01 21:03:57 +02:00
The Tumultuous Unicorn Of Darkness
9608fab785
Tests: fix run_tests.py for filenames containing dots 2025-05-01 21:03:18 +02:00
The Tumultuous Unicorn Of Darkness
ae5b2a24c9
Add support for ARMv9.5-A CPUs
New AArch64 registers:
- ID_AA64DFR2_EL1
- ID_AA64FPFR0_EL1
- ID_AA64ISAR3_EL1
2025-05-01 15:21:39 +02:00
The Tumultuous Unicorn Of Darkness
790c067401
Tests: rename all files according to brand string 2025-05-01 09:30:29 +02:00
The Tumultuous Unicorn Of Darkness
0ce318ee58
Add technology_node field to struct cpu_id_t 2025-04-30 21:33:05 +02:00
The Tumultuous Unicorn Of Darkness
8ba8465bb1
Tests: allow to fix compressed files 2025-04-30 21:31:56 +02:00
The Tumultuous Unicorn Of Darkness
aeb788c723
Use f-strings in Python scripts 2025-04-28 21:34:53 +02:00
The Tumultuous Unicorn Of Darkness
c818294b89
Use argparse in Python scripts 2025-04-28 20:33:15 +02:00
The Tumultuous Unicorn Of Darkness
dc06877f4f
Update match_entry_t to remove internal codes and bits
Remove brand_code, model_bits and model_code fields, add a new brand sub-struct.

There fields were complicated to manage, adding complex functions to make it work.
amd_bits_t and intel_bits_t enums were truncated, I had to replace them with #define in 2e01aa0303.

Some of these #define were conflicting with other C headers (ctype.h on OpenBSD, corecrt_wctype.h on Windows), that is why I wanted to get rid of it.

I updated some CPU codenames meanwhile for more consistency.

Fix #212.
2025-04-27 19:22:11 +02:00
The Tumultuous Unicorn Of Darkness
4ca6174e70
Tests: remove unneeded header 2025-04-26 11:53:26 +02:00
The Tumultuous Unicorn Of Darkness
56b0809cfa
DB: fix Intel Core detection and add Twin Lake
Related to InstLatx64/InstLatx64@6708c70f10
2025-04-21 14:10:03 +02:00
The Tumultuous Unicorn Of Darkness
65884bf9b2
DB: add Intel Lunar Lake
Related to InstLatx64/InstLatx64@3b1455f1b5
2025-04-21 10:45:04 +02:00
The Tumultuous Unicorn Of Darkness
23f6b90230
Tests: add Intel Core Ultra 7 265K
Related to InstLatx64/InstLatx64@3b1455f1b5
2025-04-21 10:27:48 +02:00
The Tumultuous Unicorn Of Darkness
8e7e79c587
Tests: add Intel Xeon Platinum 8570
Related to InstLatx64/InstLatx64@3b1455f1b5
2025-04-21 10:24:26 +02:00
The Tumultuous Unicorn Of Darkness
4308bc4986
Tests: compress some big files with XZ 2025-02-23 10:56:52 +01:00
The Tumultuous Unicorn Of Darkness
44ba0e69a0
DB: add AMD Turin Dense
Related to InstLatx64/InstLatx64@6b10282fa6
2025-02-23 10:52:15 +01:00
The Tumultuous Unicorn Of Darkness
e46e346a50
Tests: support XZ files 2025-02-23 10:49:54 +01:00
The Tumultuous Unicorn Of Darkness
43be84460c
DB: add AMD Turin 2024-11-30 12:32:41 +01:00
The Tumultuous Unicorn Of Darkness
15cbda31bd
DB: add Intel Arrow Lake 2024-11-30 12:22:10 +01:00
The Tumultuous Unicorn Of Darkness
b121830b44
Tests: fix missing 'arch' field during test creation
Mistake done in 3b8b7dfaf8.
2024-08-29 16:44:32 +02:00
The Tumultuous Unicorn Of Darkness
4d4e342a4e
Tests: add ARM Cortex A72
From my Raspberry Pi 4 Model B Rev 1.1 running in AArch32 mode.
2024-08-29 16:42:07 +02:00
The Tumultuous Unicorn Of Darkness
39506501d5
Tests: fix the --fix option
--fix was removing delimiters from real output, but there are required.
2024-08-25 21:05:36 +02:00
The Tumultuous Unicorn Of Darkness
3b8b7dfaf8
Detect x2APIC and AVX512 for AMD CPUs and update tests
AVX512 is supported since Zen 4, meaning all Zen 4 CPUs are x86-64-v4.
x2APIC and AVX512 are present in 'Processor Programming Reference (PPR) for AMD Family 19h Model 11h, Revision B1'.
2024-08-25 20:49:56 +02:00
The Tumultuous Unicorn Of Darkness
ca5e1e399d
Tests: add more AMD Raphael 2024-08-25 20:16:19 +02:00
The Tumultuous Unicorn Of Darkness
0438cbaae5
Tests: add more AMD Vermeer 2024-08-25 20:16:04 +02:00
The Tumultuous Unicorn Of Darkness
a9ec98f2bf
DB: add AMD Granite Ridge 2024-08-25 20:09:32 +02:00
The Tumultuous Unicorn Of Darkness
543c3ac17d
Fix scanf() format for 'logical_cpu' in cpuid_deserialize_raw_data_internal()
logical_cpu is an uint16_t, so SCNu16 is the correct format. It was providing strange values with SCNi16, like with the Intel® Xeon® Platinum 8280 dump.
2024-07-31 15:12:30 +02:00
The Tumultuous Unicorn Of Darkness
c5d9b387d1
Improve ARM core ID identification and add cpuid_get_raw_data_core() 2024-07-07 17:48:41 +02:00
The Tumultuous Unicorn Of Darkness
ea9ada7118
Add initial support for ARM CPUs running in AArch32 mode
Related to #96
Kernel modules to access AArch32 registers will be added in a separate commit.
2024-07-07 16:47:59 +02:00
The Tumultuous Unicorn Of Darkness
ca7f84676b
Tests: put back delimiter when fixing test files 2024-07-01 09:44:07 +02:00
The Tumultuous Unicorn Of Darkness
48f82ab05a
Tests: do not print warnings 2024-06-30 20:05:10 +02:00
The Tumultuous Unicorn Of Darkness
7b87858dc2
Fix register type for match_arm_features()
D:\a\libcpuid\libcpuid\libcpuid\recog_arm.c(890,3): warning C4244: 'function': conversion from 'uint64_t' to 'uint32_t', possible loss of data [D:\a\libcpuid\libcpuid\libcpuid\libcpuid_vc10.vcxproj]

Indeed, it was an issue.
2024-06-30 20:04:35 +02:00
The Tumultuous Unicorn Of Darkness
2c42dba70a
Delete update_tests.sh
In fact, run_tests.py --fix can do the same thing.
2024-06-30 14:43:54 +02:00
The Tumultuous Unicorn Of Darkness
23b6674ba1
Fill CPU purpose for AMD in cpuid_identify_amd() 2024-06-29 17:45:36 +02:00
The Tumultuous Unicorn Of Darkness
f627d0ee6f
Tests: update CPUID 8FFFFFFF value
No comment.
2024-06-29 17:30:34 +02:00
The Tumultuous Unicorn Of Darkness
959edc34e7
Add cpu_feature_level_t enumerated values for x86 CPUs
I had to fix run_tests.py to update all test files properly.
Fix #177
2024-06-29 17:01:50 +02:00
The Tumultuous Unicorn Of Darkness
c5885699f0
Add initial support for ARM CPUs
Close #200
2024-06-28 20:41:00 +02:00
The Tumultuous Unicorn Of Darkness
9de7f85c80
Test: remove ice-lake-i3.test
Duplicate of tests/intel/x86-64/skylake/cannon-lake-core-i3-u.test
2024-06-24 16:36:45 +02:00