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

820 commits

Author SHA1 Message Date
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
9333f8c0c3
DB: update ARM ID 2025-05-01 14:49:14 +02:00
The Tumultuous Unicorn Of Darkness
0b660474c5
Rsmdr: update pattern for 'is_apu'
Some APUs use the 'with Radeon', other APUs use 'with AMD Radeon'.
2025-05-01 09:33:04 +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
18fa3cf081
Use unknown string for missing ARM CPUs codenames 2025-04-30 21:45:39 +02:00
The Tumultuous Unicorn Of Darkness
e765137018
Use constant for 'unknown' word 2025-04-30 21:42:33 +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
447bc0d8d9
cpuid_tool: replace strcpy() by strncpy()
Warning on OpenBSD:
warning: strcpy() is almost always misused, please use strlcpy()
2025-04-27 16:23:30 +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
c611e880b3
Add a workaround to build on Windows 2025-04-25 21:28:43 +02:00
The Tumultuous Unicorn Of Darkness
2e01aa0303
Fix truncation of constant values for model_bits
56b0809cfa (commitcomment-155745765)
2025-04-25 18:27:32 +02:00
The Tumultuous Unicorn Of Darkness
9dc52f810d
Update .gitignore 2025-04-22 19:38:54 +02:00
The Tumultuous Unicorn Of Darkness
49ae659ff7
DB: add Intel Arrow Lake-H
https://valid.x86.fr/fkv9rb
2025-04-22 19:15:44 +02:00
The Tumultuous Unicorn Of Darkness
022e534401
DB: fix detection of Intel Arrow Lake-S
https://en.wikipedia.org/wiki/Arrow_Lake_(microprocessor)#Arrow_Lake-S
2025-04-22 19:09:00 +02:00
The Tumultuous Unicorn Of Darkness
3c46b08621
DB: add Intel Arrow Lake-U
https://lore.kernel.org/lkml/20240322161725.195614-1-tony.luck@intel.com/T/
2025-04-22 19:08:06 +02:00
The Tumultuous Unicorn Of Darkness
c5da20e8e1
utils: add decode_cpuid_revision 2025-04-22 19:07:29 +02:00
The Tumultuous Unicorn Of Darkness
c5b95b5f81
DB: add Intel Raptor Lake-H Re-refresh
https://en.wikipedia.org/wiki/Raptor_Lake#Raptor_Lake-H_Re-refresh
2025-04-21 19:16:48 +02:00
The Tumultuous Unicorn Of Darkness
66c04dc3d5
DB: add Intel Raptor Lake-U Re-refresh
https://en.wikipedia.org/wiki/Raptor_Lake#Raptor_Lake-U_Re-refresh
2025-04-21 19:14:01 +02:00
The Tumultuous Unicorn Of Darkness
47b9b6a1b0
DB: add Intel Raptor Lake-U Refresh
https://en.wikipedia.org/wiki/Raptor_Lake#Raptor_Lake-U_Refresh
2025-04-21 19:10:30 +02:00
The Tumultuous Unicorn Of Darkness
1ed31f6822
DB: add Intel Xeon E for Raptor Lake
https://en.wikipedia.org/wiki/Raptor_Lake#Server_processors
2025-04-21 19:05:25 +02:00
The Tumultuous Unicorn Of Darkness
8b8bd5dadd
DB: add more Raptor Lake-S
https://en.wikipedia.org/wiki/Raptor_Lake#Raptor_Lake-S_Refresh
2025-04-21 19:01:16 +02:00
The Tumultuous Unicorn Of Darkness
f60666409c
DB: fix detection of Intel CPUs prefixed by 'N' or 'U' 2025-04-21 18:22:10 +02:00
The Tumultuous Unicorn Of Darkness
2cf3965cbd
DB: add Alder Lake-PS
https://en.wikipedia.org/wiki/Alder_Lake#Processors_for_Internet_of_Things_(IoT)_devices_and_embedded_systems_(Alder_Lake-PS)
2025-04-21 17:50:41 +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
Brad Smith
e9cf64aeec Add CPU clock OS detection routine for OpenBSD 2025-04-17 21:22:56 +02:00
The Tumultuous Unicorn Of Darkness
9e1c332f52
CI: remove ubuntu-20.04
https://github.com/actions/runner-images/issues/11101
2025-04-17 21:09:33 +02:00
Brad Smith
4fe46c89d2 Use HW_NCPUONLINE for get_total_cpus on OpenBSD and NetBSD 2025-04-17 21:05:49 +02:00
dramforever
86c2bef72a Simplify exec_cpuid to use constraints
The existing implementation does not work when using the x32 ABI, which
has 32-bit addresses but otherwise can use 64-bit registers.

Use constraints to specify cpuid input and output instead, which is much
simpler anyway.
2025-04-16 19:02:15 +02:00
The Tumultuous Unicorn Of Darkness
ab2bb1e2a5
[CI] update hummeltech/*bsd-vagrant-action 2025-03-17 20:05:27 +01:00
The Tumultuous Unicorn Of Darkness
1ebaa845fb
Revert "[CI] Fix build for *BSD"
This reverts commit 6fe0d55cce.
2025-03-17 20:02:02 +01:00
The Tumultuous Unicorn Of Darkness
6fe0d55cce
[CI] Fix build for *BSD
Related to hummeltech/vagrant-action#2
2025-03-14 18:59:35 +01: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
Barak A. Pearlmutter
817e453e27 typo in string 2024-12-08 14:52:01 +01:00
The Tumultuous Unicorn Of Darkness
1761babac0
[CI] Update to hummeltech/openbsd-vagrant-action@v3
Related to hummeltech/openbsd-vagrant-action#1
2024-12-01 11:47:45 +01:00
The Tumultuous Unicorn Of Darkness
018a05372d
[CI] List artifacts before compression during Release 2024-11-30 16:00:13 +01:00
The Tumultuous Unicorn Of Darkness
fc7d17bd74
[CI] Allow to start Release workflow manually 2024-11-30 15:53:50 +01:00
The Tumultuous Unicorn Of Darkness
ce163b1eae
[CI] fix Windows x86_64 artifacts path again
It seems I forgot some parts in 06c5985dcb17aefbad5cc0dd6b5c55f9fac15c76...
2024-11-30 15:46:13 +01:00
The Tumultuous Unicorn Of Darkness
2b84c1ff02
Release version 0.7.1 2024-11-30 15:34:57 +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
d5a82d6f64
DB: use correct _intel_model_t enum value for Meteor Lake CPUs 2024-11-30 12:18:41 +01:00