forked from TheTumultuousUnicornOfDarkness/CPU-X
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdatabases.h
More file actions
290 lines (274 loc) · 18.5 KB
/
Copy pathdatabases.h
File metadata and controls
290 lines (274 loc) · 18.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
/****************************************************************************
* Copyright © 2014-2024 The Tumultuous Unicorn Of Darkness
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
****************************************************************************/
/*
* PROJECT CPU-X
* FILE databases.h
*/
#ifndef _DATABASES_H_
#define _DATABASES_H_
/****************************** CPU Technology ******************************/
typedef struct
{
const int32_t cpu_model;
const int32_t cpu_ext_model;
const int32_t cpu_ext_family;
const char *process;
} Technology_DB;
const Technology_DB technology_unknown[] = { { -2, -2, -2, NULL } };
const Technology_DB technology_intel[] =
{
//Model E. Model E. Family Process
{ 0, 0, -1, "0.18 µm" }, // P4 Willamette
{ 1, 1, 6, "0.35 µm" }, // Pentium Pro
{ 1, 1, 15, "0.18 µm" }, // P4 Willamette
{ 2, 2, -1, "0.13 µm" }, // P4 Northwood / Gallatin
{ 3, 3, 5, "0.35 µm" }, // PII Overdrive
{ 3, 3, 6, "0.35 µm" }, // PII Klamath
{ 3, 3, 15, "90 nm" }, // P4 Prescott
{ 4, 4, -1, "90 nm" }, // P4 Prescott/Irwindale / PD Smithfield
{ 5, 5, 6, "0.25 µm" }, // PII Deschutes / Tonga / Xeon Drake / Celeron Covington
{ 5, 37, -1, "32 nm" }, // Westmere
{ 5, 53, -1, "32 nm" }, // Atom Cloverview
{ 5, 69, -1, "22 nm" }, // Haswell
{ 5, 85, -1, "14 nm" }, // Skylake-X / Skylake-W / Skylake-DE / Skylake-SP / Cascade Lake-X / Cascade Lake-W / Cascade Lake-SP
{ 5, 165, 6, "14 nm" }, // Comet Lake
{ 6, 6, 6, "0.25 µm" }, // PII Dixon / Celeron Mendocino
{ 6, 6, 15, "65 nm" }, // P4 Cedar Mill / PD Presler
{ 6, 22, -1, "65 nm" }, // C2 Conroe-L
{ 6, 54, -1, "32 nm" }, // Atom Cedarview
{ 6, 70, -1, "22 nm" }, // Haswell (Crystalwell, L4 cache)
{ 6, 102, -1, "10 nm" }, // Cannon Lake
{ 6, 150, -1, "10 nm" }, // Tremont (Elkhart Lake)
{ 7, 7, -1, "0.25 µm" }, // PIII Katmai
{ 7, 23, -1, "45 nm" }, // C2 Wolfdale / Yorkfield / Penryn
{ 7, 55, -1, "22 nm" }, // Atom Bay Trail
{ 7, 71, -1, "14 nm" }, // Broadwell
{ 7, 151, -1, "Intel 7" }, // Alder Lake-S / Alder Lake-HX
{ 7, 167, -1, "14 nm" }, // Rocket Lake
{ 7, 183, -1, "Intel 7" }, // Raptor Lake-S / Raptor Lake-HX
{ 8, 0, 0, "0.18 µm" }, // PIII Coppermine-T
{ 8, 8, -1, "0.18 µm" }, // PIII Coppermine
{ 9, 9, -1, "0.13 µm" }, // Pentium M Banias
{ 10, 26, -1, "45 nm" }, // Nehalem
{ 10, 30, -1, "45 nm" }, // Nehalem
{ 10, 42, -1, "32 nm" }, // Sandy Bridge
{ 10, 58, -1, "22 nm" }, // Ivy Bridge
{ 10, 106, -1, "10 nm" }, // Ice Lake-D / Ice Lake-W / Ice Lake-SP
{ 10, 122, -1, "14 nm" }, // Gemini Lake
{ 10, 138, -1, "10 nm" }, // Tremont (Lakefield)
{ 10, 154, -1, "Intel 7" }, // Alder Lake-P / Alder Lake-H
{ 10, 186, -1, "Intel 7" }, // Raptor Lake-P / Raptor Lake-U / Raptor Lake-H
{ 11, 11, -1, "0.13 µm" }, // PIII Tualatine
{ 12, 28, -1, "45 nm" }, // Atom Diamondville / Pineview / Silverthorne
{ 12, 44, -1, "32 nm" }, // Westmere
{ 12, 60, -1, "22 nm" }, // Haswell
{ 12, 76, -1, "14 nm" }, // Atom Cherry Trail
{ 12, 92, -1, "14 nm" }, // Apollo Lake
{ 12, 108, -1, "10 nm" }, // Ice Lake
{ 12, 140, -1, "10SF" }, // Tiger Lake
{ 12, 156, -1, "10 nm" }, // Tremont (Jasper Lake)
{ 13, 13, -1, "90 nm" }, // Pentium M Dothan
{ 13, 45, -1, "32 nm" }, // Sandy Bridge-E
{ 13, 61, -1, "14 nm" }, // Broadwell-U
{ 14, 14, -1, "65 nm" }, // Yonah (Core Solo)
{ 14, 30, -1, "45 nm" }, // Nehalem (Lynnfield)
{ 14, 62, -1, "22 nm" }, // Ivy Bridge-E
{ 14, 78, -1, "14 nm" }, // Skylake
{ 14, 94, -1, "14 nm" }, // Skylake
{ 14, 126, -1, "10 nm" }, // Ice Lake
{ 14, 142, -1, "14 nm" }, // Kaby Lake / Coffee Lake / Comet Lake-U
{ 14, 158, -1, "14 nm" }, // Kaby Lake / Coffee Lake
{ 14, 165, -1, "14 nm" }, // Comet Lake
{ 14, 190, -1, "Intel 7" }, // Alder Lake-N
{ 15, 15, -1, "65 nm" }, // C2 Conroe / Allendale / Kentsfield / Merom
{ 15, 63, -1, "22 nm" }, // Haswell-E
{ 15, 79, -1, "14 nm" }, // Broadwell-E
{ 15, 143, -1, "Intel 7" }, // Sapphire Rapids-WS / Sapphire Rapids-SP
{ 15, 191, -1, "Intel 7" }, // Raptor Lake-S ("Golden Cove" cores)
{ -2, -2, -2, NULL }
//Model E. Model E. Family Process
};
const Technology_DB technology_amd[] =
{
//Model E. Model E. Family Process
{ 0, 16, 21, "32 nm" }, // Bulldozer (Piledriver: Trinity)
{ 0, 48, 21, "28 nm" }, // Bulldozer (Steamroller: Kaveri)
{ 0, 112, 21, "28 nm" }, // Bulldozer (Excavator: Stoney Ridge)
{ 0, -1, 22, "28 nm" }, // Jaguar (Kabini/Mullins)
{ 1, -1, 18, "32 nm" }, // K10 (Llano)
{ 1, -1, 20, "40 nm" }, // Bobcat (Brazos Zacate)
{ 1, 1, 21, "32 nm" }, // Bulldozer
{ 1, 96, 21, "28 nm" }, // Bulldozer (Excavator: Carrizo)
{ 2, -1, 16, "65 nm" }, // K10 (Kuma/Agena)
{ 2, -1, 20, "40 nm" }, // Bobcat (Brazos Desna/Ontario)
{ 2, -1, 21, "32 nm" }, // Bulldozer (Piledriver: Vishera)
{ 3, -1, 15, "90 nm" }, // K8 (Toledo)
{ 3, -1, 21, "32 nm" }, // Bulldozer (Piledriver: Richland)
{ 4, -1, 15, "90 nm" }, // K8 (Lancaster)
{ 4, -1, 16, "45 nm" }, // K10 (Deneb/Heka)
{ 5, -1, 16, "45 nm" }, // K10 (Propus)
{ 5, -1, 21, "28 nm" }, // Bulldozer (Excavator: Bristol Ridge)
{ 6, -1, 16, "45 nm" }, // K10 (Champlain/Sargas/Regor)
{ 8, -1, 6, "0.13 µm" }, // K7 (Thoroughbred/Applebred)
{ 8, -1, 15, "65 nm" }, // K8 (Tyler)
{ 8, -1, 21, "28 nm" }, // Bulldozer (Steamroller: Godavari)
{ 9, -1, 16, "45 nm" }, // Magny-Cours (Opteron)
{ 10, -1, 6, "0.13 µm" }, // K7 (Barton)
{ 10, -1, 16, "45 nm" }, // K10 (Thuban)
{ 11, -1, 15, "65 nm" }, // K8 (Brisbane)
{ 12, 124, 15, "65 nm" }, // K8 (Sherman)
{ 12, -1, 15, "90 nm" }, // K8 (Venice/Sonora)
{ 15, 79, 15, "90 nm" }, // K8 (Manila)
{ 15, 127, 15, "65 nm" }, // K8 (Sparta)
{ -1, 1, 23, "14 nm" }, // Zen (Summit Ridge/Whitehaven/Naples)
{ -1, 17, 23, "14 nm" }, // Zen (Raven Ridge)
{ -1, 8, 23, "12 nm" }, // Zen+ (Pinnacle Ridge/Colfax)
{ -1, 32, 23, "14 nm" }, // Zen (Dali)
{ -1, 24, 23, "12 nm" }, // Zen+ (Picasso)
{ -1, 49, 23, "7 nm" }, // Zen 2 (Rome/Castle Peak)
{ -1, 71, 23, "7 nm" }, // Zen 2 (4700S Desktop Kit)
{ -1, 96, 23, "7 nm" }, // Zen 2 (Renoir)
{ -1, 104, 23, "7 nm" }, // Zen 2 (Lucienne)
{ -1, 113, 23, "7 nm" }, // Zen 2 (Matisse)
{ -1, 132, 23, "7 nm" }, // Zen 2 (4800S Desktop Kit)
{ -1, 144, 23, "7 nm" }, // Zen 2 (Custom APU for Steam Deck)
{ -1, 160, 23, "6 nm" }, // Zen 2 (Mendocino)
{ -1, 33, 25, "7 nm" }, // Zen 3 (Vermeer)
{ -1, 80, 25, "7 nm" }, // Zen 3 (Cezanne)
{ -1, 1, 25, "7 nm" }, // Zen 3 (Milan)
{ -1, 68, 25, "7 nm" }, // Zen 3 (Rembrandt)
{ -1, 8, 25, "7 nm" }, // Zen 3 (Chagall)
{ -1, 24, 25, "5 nm" }, // Zen 4 (Storm Peak)
{ -1, 97, 25, "5 nm" }, // Zen 4 (Raphael/Dragon Range)
{ -1, 17, 25, "5 nm" }, // Zen 4 (Genoa)
{ -1, 116, 25, "5 nm" }, // Zen 4 (Phoenix)
{ -1, 120, 25, "4 nm" }, // Zen 4 (Z1)
{ -2, -2, -2, NULL }
//Model E. Model E. Family Process
};
/****************************** CPU Package ******************************/
typedef struct {
const char *codename;
const char *model;
const char *socket;
} Package_DB;
const Package_DB package_unknown[] = { { NULL, NULL, NULL } };
const Package_DB package_intel[] =
{
//Codename Model Socket
{ "Atom (Diamondville)", NULL, "BGA 437" },
{ "Pentium D (SmithField)", NULL, "LGA 775" },
{ "Pentium D (Presler)", NULL, "LGA 775" },
{ "Bloomfield", NULL, "LGA 1366" },
{ NULL, "Intel(R) Core(TM)2 Duo CPU E7400", "LGA 775" },
{ NULL, "Intel(R) Core(TM)2 Quad CPU Q6600","LGA 775" },
{ NULL, "Intel(R) Core(TM) i5-2500K CPU", "LGA 1155" },
{ NULL, "Intel(R) Celeron(R) CPU G550T", "LGA 1155" },
{ NULL, "Intel(R) Core(TM) i5-2520M CPU", "rPGA 988B" },
{ NULL, "Intel(R) Xeon(R) CPU E31275", "LGA 1155" },
{ NULL, "Intel(R) Core(TM) i7-2860QM CPU", "rPGA 988B" },
{ NULL, "Intel(R) Core(TM) i7-3740QM CPU", "rPGA 988B" },
{ NULL, "Intel(R) Core(TM) i5-4300U CPU", "FCBGA 1168" },
{ NULL, "Intel(R) Core(TM) i7-4600U CPU", "FCBGA 1168" },
{ NULL, "Intel(R) Core(TM) i7-4790 CPU", "LGA 1150" },
{ NULL, "Intel(R) Core(TM) i7-5775C CPU", "LGA 1150" },
{ NULL, "Intel(R) Core(TM) i7-6560U CPU", "FCBGA 1356" },
{ NULL, "Intel(R) Core(TM) i5-6400 CPU", "LGA 1151" },
{ NULL, "Intel(R) Core(TM) i7-7300U CPU", "FCBGA 1356" },
{ NULL, "Intel(R) Core(TM) i7-7820HQ CPU", "FCBGA 1440" },
{ NULL, "Intel(R) Core(TM) i7-8250U CPU", "FCBGA 1356" },
{ NULL, "Intel(R) Core(TM) i7-8350U CPU", "FCBGA 1356" },
{ NULL, "Intel(R) Core(TM) i7-8550U CPU", "FCBGA 1356" },
{ NULL, "Intel(R) Core(TM) i7-8650U CPU", "FCBGA 1356" },
{ NULL, "Intel(R) Core(TM) i5-9300H CPU", "FCBGA 1440" },
{ NULL, "Intel(R) Core(TM) i9-9900K CPU", "LGA 1151" },
{ NULL, "Intel(R) Core(TM) i5-10500 CPU", "LGA 1200" },
{ NULL, "Intel(R) Core(TM) i5-1135G7", "FCBGA 1449" },
{ NULL, "Intel(R) Core(TM) i7-1165G7", "FCBGA 1449" },
{ NULL, "Intel(R) Core(TM) i7-11700K", "LGA 1200" },
{ NULL, "Intel(R) Core(TM) i3-1220P", "FCBGA 1744" },
{ NULL, "Intel(R) Core(TM) i5-12400", "LGA 1700" },
{ NULL, "Intel(R) Core(TM) i7-12700H", "FCBGA 1744" },
{ NULL, "Intel(R) Core(TM) i7-12700KF", "LGA 1700" },
{ NULL, "Intel(R) Core(TM) i9-12900K", "LGA 1700" },
{ NULL, "Intel(R) Core(TM) i9-12900HK", "FCBGA 1744" },
{ NULL, "Intel(R) Core(TM) i5-13600K", "LGA 1700" },
{ NULL, "Intel(R) Core(TM) i7-13700K", "LGA 1700" },
{ NULL, "Intel(R) Core(TM) i9-13900K", "LGA 1700" },
{ NULL, "Intel(R) Celeron(R) CPU N2930", "FCBGA 1170" },
{ NULL, "Intel(R) Celeron(R) CPU N3350", "FCBGA 1296" },
{ NULL, "Intel(R) Celeron(R) N4000", "FCBGA 1090" },
{ NULL, "Intel(R) Core(TM) i5-3470 CPU", "LGA 1155" },
{ NULL, "Intel(R) Core(TM) i7-4770 CPU", "LGA 1155" },
{ NULL, "Intel(R) Core(TM) i3-4350 CPU", "LGA 1150" },
{ NULL, "Intel(R) Xeon(R) Gold 5220 CPU", "LGA 3647" },
{ NULL, "Intel(R) Xeon(R) CPU E5-2689", "LGA 2011" },
{ NULL, "Intel(R) Xeon(R) CPU E5-2690 ", "LGA 2011" },
{ NULL, "Intel(R) Xeon(R) CPU E5-2690 v2", "LGA 2011" },
{ NULL, "Intel(R) Xeon(R) CPU E5-2690 v3", "LGA 2011-3" },
{ NULL, "Intel(R) Xeon(R) CPU E5-2690 v4", "LGA 2011-3" },
{ NULL, NULL, NULL }
//Codename Model Socket
};
const Package_DB package_amd[] =
{
//Codename Model Socket
{ "Athlon 64 FX X2 (Toledo)", NULL, "939 (PGA-ZIF)" },
{ "Kabini X4", "Athlon", "AM1 (PGA-ZIF)" },
{ "Kabini X4", "Sempron", "AM1 (PGA-ZIF)" },
{ "Trinity X4", NULL, "FM2 (PGA-ZIF)" },
{ "Turion X2", "TL", "S1g1 (PGA-ZIF)" },
{ "Turion X2", "TK", "S1g1 (PGA-ZIF)" },
{ "Deneb", "AMD Phenom(tm) II X4 945", "AM3 (PGA-938)" },
{ "Athlon II X4 (Propus)", NULL, "AM3 (PGA-938)" },
{ "Zambezi", NULL, "AM3+ (PGA-942)" },
{ "Vishera", NULL, "AM3+ (PGA-942)" },
/* Zen */
{ "Naples", NULL, "SP3 (LGA-4094)" },
{ "Whitehaven", NULL, "SP3r2 (LGA-4094)" },
{ "Summit Ridge", NULL, "AM4 (PGA-1331)" },
{ "Raven Ridge", NULL, "FP5 (BGA-1140)" },
{ "Dali", NULL, "FP5 (BGA-1140)" },
/* Zen+ */
{ "Colfax", NULL, "SP3r2 (LGA-4094)" },
{ "Pinnacle Ridge", NULL, "AM4 (PGA-1331)" },
{ "Picasso", NULL, "FP5 (BGA-1140)" },
/* Zen 2 */
{ "Rome", NULL, "SP3 (LGA-4094)" },
{ "Castle Peak", NULL, "SP3r2 (LGA-4094)" },
{ "Matisse", NULL, "AM4 (PGA-1331)" },
{ "Renoir", NULL, "FP6 (BGA-1140)" },
{ "Lucienne", NULL, "FP6 (BGA-1140)" },
{ "Mendocino", NULL, "FT6 (BGA)" },
/* Zen 3 */
{ "Milan", NULL, "SP3 (LGA-4094)" },
{ "Chagall", NULL, "sWRX8 (LGA-4094)" },
{ "Vermeer", NULL, "AM4 (PGA-1331)" },
{ "Cezanne", NULL, "FP6 (BGA-1140)" },
/* Zen 3+ */
{ "Rembrandt", NULL, "FP7 (BGA-1140)" },
/* Zen 4 */
{ "Genoa", NULL, "SP5 (LGA-6096)" },
{ "Storm Peak", NULL, "sTR5 (LGA-4844)" },
{ "Raphael", NULL, "AM5 (LGA-1718)" },
{ "Dragon Range", NULL, "FL1 (BGA)" },
{ "Phoenix", NULL, "FP7/FP8" },
{ NULL, NULL, NULL }
//Codename Model Socket
};
#endif /* _DATABASES_H_ */