1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-10-03 11:01:30 +00:00

DB: add AMD Steppe Eagle

This commit is contained in:
Xorg 2022-09-22 20:45:41 +02:00
commit f23a2e3a41
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A
3 changed files with 135 additions and 0 deletions

View file

@ -37,3 +37,4 @@
CODE(FUSION_Z),
CODE(FUSION_A),
CODE(FUSION_RX),
CODE(FUSION_GX),

View file

@ -270,6 +270,8 @@ const struct match_entry_t cpudb_amd[] = {
{ 15, 0, -1, 22, 48, 4, -1, -1, FUSION_A, 0 , 0, "Mullins X4" },
{ 15, 0, 1, 22, 48, 2, -1, -1, FUSION_A, 0 , 0, "Beema X2" },
{ 15, 0, 1, 22, 48, 4, -1, -1, FUSION_A, 0 , 0, "Beema X4" },
{ 15, 0, 1, 22, 48, 2, -1, -1, FUSION_GX, 0 , 0, "Steppe Eagle X2" },
{ 15, 0, 1, 22, 48, 4, -1, -1, FUSION_GX, 0 , 0, "Steppe Eagle X4" },
/* Family 17h: Zen Architecture (2017) => https://en.wikichip.org/wiki/amd/microarchitectures/zen */
{ 15, -1, -1, 23, 1, -1, -1, -1, NC, EPYC_ , 0, "EPYC (Naples)" },
@ -499,6 +501,7 @@ static struct amd_code_and_bits_t decode_amd_codename_part1(const char *bs)
{ FUSION_Z, "Z-##" },
{ FUSION_EA, "[EA]#-####" },
{ FUSION_RX, "RX-###" },
{ FUSION_GX, "GX-###" },
};
const struct { uint64_t bit; const char *search; } bit_matchtable[] = {