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

DB: add AMD Dali

https://en.wikichip.org/wiki/amd/cores/dali
This commit is contained in:
Xorg 2022-10-01 17:55:19 +02:00
parent 863bf79bc9
commit 3524cb5203
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A
2 changed files with 139 additions and 0 deletions

View file

@ -286,6 +286,9 @@ const struct match_entry_t cpudb_amd[] = {
{ 15, -1, -1, 23, 17, -1, -1, -1, NC, RYZEN_|_5 , 0, "Ryzen 5 (Raven Ridge)" },
{ 15, -1, -1, 23, 17, -1, -1, -1, NC, RYZEN_|_3 , 0, "Ryzen 3 (Raven Ridge)" },
{ 15, -1, -1, 23, 17, -1, -1, -1, NC, ATHLON_ , 0, "Athlon (Raven Ridge)" },
{ 15, -1, -1, 23, 32, -1, -1, -1, NC, RYZEN_|_3 , 0, "Ryzen 3 (Dali)" },
{ 15, -1, -1, 23, 32, -1, -1, -1, NC, ATHLON_ , 0, "Athlon (Dali)" },
{ 15, -1, 1, 23, 32, -1, -1, -1, NC, 0 , 0, "Dali" },
/* Zen+ (2018) => https://en.wikichip.org/wiki/amd/microarchitectures/zen%2B */
{ 15, -1, -1, 23, 8, -1, -1, -1, NC, RYZEN_TR_ , 0, "Threadripper (Colfax)" },
{ 15, -1, -1, 23, 8, -1, -1, -1, NC, RYZEN_|_7 , 0, "Ryzen 7 (Pinnacle Ridge)" },
@ -312,6 +315,7 @@ const struct match_entry_t cpudb_amd[] = {
{ 15, -1, -1, 23, 144, -1, -1, -1, NC, _APU_ , 0, "Zen 2" },
/* Zen 3 (2020) => https://en.wikichip.org/wiki/amd/microarchitectures/zen_3 */
{ 15, -1, -1, 25, 1, -1, -1, -1, NC, EPYC_ , 0, "EPYC (Milan)" },
{ 15, -1, -1, 25, 8, -1, -1, -1, NC, RYZEN_TR_ , 0, "Threadripper (Chagall)" },
{ 15, -1, -1, 25, 33, -1, -1, -1, NC, RYZEN_|_9 , 0, "Ryzen 9 (Vermeer)" },
{ 15, -1, -1, 25, 33, -1, -1, -1, NC, RYZEN_|_7 , 0, "Ryzen 7 (Vermeer)" },
{ 15, -1, -1, 25, 33, -1, -1, -1, NC, RYZEN_|_5 , 0, "Ryzen 5 (Vermeer)" },

135
tests/amd/zen/dali.test Normal file
View file

@ -0,0 +1,135 @@
------[ CPUID Registers / Logical CPU #0 ]------
CPUID 00000000: 0000000D-68747541-444D4163-69746E65 [AuthenticAMD]
CPUID 00000001: 00820F01-00020800-7ED8320B-178BFBFF
CPUID 00000002: 00000000-00000000-00000000-00000000
CPUID 00000003: 00000000-00000000-00000000-00000000
CPUID 00000005: 00000040-00000040-00000003-00000011
CPUID 00000006: 00000004-00000000-00000001-00000000
CPUID 00000007: 00000000-209C01A9-00000000-00000000
CPUID 00000008: 00000000-00000000-00000000-00000000
CPUID 00000009: 00000000-00000000-00000000-00000000
CPUID 0000000A: 00000000-00000000-00000000-00000000
CPUID 0000000C: 00000000-00000000-00000000-00000000
CPUID 0000000D: 00000007-00000340-00000340-00000000 [SL 00] [x87]
CPUID 0000000D: 0000000F-00000340-00000000-00000000 [SL 01] [SSE]
CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX]
CPUID 80000000: 8000001F-68747541-444D4163-69746E65 [AuthenticAMD]
CPUID 80000001: 00820F01-00000000-35C233FF-2FD3FBFF
CPUID 80000002: 20444D41-30323033-69772065-52206874 [AMD 3020e with R]
CPUID 80000003: 6F656461-7247206E-69687061-20207363 [adeon Graphics ]
CPUID 80000004: 20202020-20202020-20202020-00202020 [ ]
CPUID 80000005: FF40FF40-FF40FF40-20080140-40040140 [L1D: 32 KB / L1I: 64 KB]
CPUID 80000006: 26006400-66006400-02006140-00208140 [L2: 512 KB] / L3: 4096 KB]
CPUID 80000007: 00000000-0000001B-00000000-00006599
CPUID 80000008: 00003030-00029007-00004001-00000000
CPUID 80000009: 00000000-00000000-00000000-00000000
CPUID 8000000A: 00000001-00008000-00000000-0001BCFF
CPUID 8000000B: 00000000-00000000-00000000-00000000
CPUID 8000000C: 00000000-00000000-00000000-00000000
CPUID 8000000D: 00000000-00000000-00000000-00000000
CPUID 8000000E: 00000000-00000000-00000000-00000000
CPUID 8000000F: 00000000-00000000-00000000-00000000
CPUID 80000010: 00000000-00000000-00000000-00000000
CPUID 80000011: 00000000-00000000-00000000-00000000
CPUID 80000012: 00000000-00000000-00000000-00000000
CPUID 80000013: 00000000-00000000-00000000-00000000
CPUID 80000014: 00000000-00000000-00000000-00000000
CPUID 80000015: 00000000-00000000-00000000-00000000
CPUID 80000016: 00000000-00000000-00000000-00000000
CPUID 80000017: 00000000-00000000-00000000-00000000
CPUID 80000018: 00000000-00000000-00000000-00000000
CPUID 80000019: F040F040-00000000-00000000-00000000
CPUID 8000001A: 00000003-00000000-00000000-00000000
CPUID 8000001B: 000003FF-00000000-00000000-00000000
CPUID 8000001C: 00000000-00000000-00000000-00000000
CPUID 8000001D: 00000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB]
CPUID 8000001D: 00000122-00C0003F-000000FF-00000000 [SL 01] [L1I: 64 KB]
CPUID 8000001D: 00000143-01C0003F-000003FF-00000002 [SL 02] [L2U: 512 KB]
CPUID 8000001D: 00004163-03C0003F-00000FFF-00000001 [SL 03] [L3U: 4 MB]
CPUID 8000001E: 00000000-00000000-00000000-00000000
CPUID 8000001F: 0000000F-0000016F-0000000F-00000000
CPUID 8FFFFFFF: 00000000-00000000-00000000-00000000
------[ CPUID Registers / Logical CPU #1 ]------
CPUID 00000000: 0000000D-68747541-444D4163-69746E65 [AuthenticAMD]
CPUID 00000001: 00820F01-01020800-7ED8320B-178BFBFF
CPUID 00000002: 00000000-00000000-00000000-00000000
CPUID 00000003: 00000000-00000000-00000000-00000000
CPUID 00000005: 00000040-00000040-00000003-00000011
CPUID 00000006: 00000004-00000000-00000001-00000000
CPUID 00000007: 00000000-209C01A9-00000000-00000000
CPUID 00000008: 00000000-00000000-00000000-00000000
CPUID 00000009: 00000000-00000000-00000000-00000000
CPUID 0000000A: 00000000-00000000-00000000-00000000
CPUID 0000000C: 00000000-00000000-00000000-00000000
CPUID 0000000D: 00000007-00000340-00000340-00000000 [SL 00] [x87]
CPUID 0000000D: 0000000F-00000340-00000000-00000000 [SL 01] [SSE]
CPUID 0000000D: 00000100-00000240-00000000-00000000 [SL 02] [AVX]
CPUID 80000000: 8000001F-68747541-444D4163-69746E65 [AuthenticAMD]
CPUID 80000001: 00820F01-00000000-35C233FF-2FD3FBFF
CPUID 80000002: 20444D41-30323033-69772065-52206874 [AMD 3020e with R]
CPUID 80000003: 6F656461-7247206E-69687061-20207363 [adeon Graphics ]
CPUID 80000004: 20202020-20202020-20202020-00202020 [ ]
CPUID 80000005: FF40FF40-FF40FF40-20080140-40040140 [L1D: 32 KB / L1I: 64 KB]
CPUID 80000006: 26006400-66006400-02006140-00208140 [L2: 512 KB] / L3: 4096 KB]
CPUID 80000007: 00000000-0000001B-00000000-00006599
CPUID 80000008: 00003030-00029007-00004001-00000000
CPUID 80000009: 00000000-00000000-00000000-00000000
CPUID 8000000A: 00000001-00008000-00000000-0001BCFF
CPUID 8000000B: 00000000-00000000-00000000-00000000
CPUID 8000000C: 00000000-00000000-00000000-00000000
CPUID 8000000D: 00000000-00000000-00000000-00000000
CPUID 8000000E: 00000000-00000000-00000000-00000000
CPUID 8000000F: 00000000-00000000-00000000-00000000
CPUID 80000010: 00000000-00000000-00000000-00000000
CPUID 80000011: 00000000-00000000-00000000-00000000
CPUID 80000012: 00000000-00000000-00000000-00000000
CPUID 80000013: 00000000-00000000-00000000-00000000
CPUID 80000014: 00000000-00000000-00000000-00000000
CPUID 80000015: 00000000-00000000-00000000-00000000
CPUID 80000016: 00000000-00000000-00000000-00000000
CPUID 80000017: 00000000-00000000-00000000-00000000
CPUID 80000018: 00000000-00000000-00000000-00000000
CPUID 80000019: F040F040-00000000-00000000-00000000
CPUID 8000001A: 00000003-00000000-00000000-00000000
CPUID 8000001B: 000003FF-00000000-00000000-00000000
CPUID 8000001C: 00000000-00000000-00000000-00000000
CPUID 8000001D: 00000121-01C0003F-0000003F-00000000 [SL 00] [L1D: 32 KB]
CPUID 8000001D: 00000122-00C0003F-000000FF-00000000 [SL 01] [L1I: 64 KB]
CPUID 8000001D: 00000143-01C0003F-000003FF-00000002 [SL 02] [L2U: 512 KB]
CPUID 8000001D: 00004163-03C0003F-00000FFF-00000001 [SL 03] [L3U: 4 MB]
CPUID 8000001E: 00000001-00000001-00000000-00000000
CPUID 8000001F: 0000000F-0000016F-0000000F-00000000
CPUID 8FFFFFFF: 00000000-00000000-00000000-00000000
--------------------------------------------------------------------------------
x86
general
15
0
1
23
32
2
2
32
64
512
4096
-1
8
4
8
16
-1
64
64
64
64
-1
-1
-1
-1
-1
-1
128 (authoritative)
Dali
fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht pni pclmul monitor ssse3 cx16 sse4_1 sse4_2 syscall movbe popcnt aes xsave osxsave avx mmxext nx fxsr_opt rdtscp lm lahf_lm cmp_legacy svm abm misalignsse sse4a 3dnowprefetch osvw skinit wdt ts ttp tm_amd hwpstate constant_tsc fma3 f16c rdrand aperfmperf avx2 bmi1 bmi2 sha_ni rdseed adx