1 /* cputable.h - Maps CPUID to real CPU name.
2 * Copyleft 2001 by Felix Buenemann <atmosfear at users dot sourceforge dot net>
3 * This file comes under the GNU GPL, see www.fsf.org for more info!
4 * Family F codenames owe much thanks to Neil Phillips, author of x86test.
7 #define MAX_VENDORS 8 /* Number of CPU Vendors */
9 //#define N_UNKNOWN "unknown"
10 //#define N_UNKNOWNEXT "unknown extended model"
12 #define N_UNKNOWNEXT ""
33 static const char *cpuname
34 /* Vendor */ [MAX_VENDORS
]
38 /* Intel Corporation, "GenuineIntel" */ {
42 /* 3 i386 */ F_UNKNOWN
, /* XXX new 386 chips may support CPUID! */
44 /* 0 */ "i486DX-25/33", /* only few of these */
45 /* 1 */ "i486DX-50", /* support CPUID! */
47 /* 3 */ "i486DX2", /* CPUID only on new chips! */
51 /* 7 */ "i486DX2/write-back", /* returns 3 in write-through mode */
53 /* 9 */ "i486DX4/write-back",
62 /* 0 */ "Pentium P5 A-step",
64 /* 2 */ "Pentium P54C",
65 /* 3 */ "Pentium OverDrive P24T",
66 /* 4 */ "Pentium MMX P55C",
67 /* 5 */ N_UNKNOWN
, /* XXX DX4 OverDrive? */
68 /* 6 */ N_UNKNOWN
, /* XXX P5 OverDrive? */
69 /* 7 */ "Pentium P54C (new)",
70 /* 8 */ "Pentium MMX P55C (new)",
80 /* 0 */ "PentiumPro A-step",
83 /* 3 */ "Pentium II Klamath/Pentium II OverDrive",
84 /* 4 */ N_UNKNOWN
, /* XXX P55CT - OverDrive for P54? */
85 /* 5 */ "Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon",
86 /* 6 */ "Celeron A Mendocino/Pentium II Dixon",
87 /* 7 */ "Pentium III Katmai/Pentium III Xeon Tanner",
88 /* 8 */ "Celeron 2/Pentium III Coppermine,Geyserville",
89 /* 9 */ "Pentium M Banias", /* XXX check */
90 /* A */ "Pentium III Xeon Cascades",
91 /* B */ "Celeron 2/Pentium III Tualatin",
93 /* D */ "Pentium M Dothan",
97 /* 7 Itanium */ { /* XXX check */
98 /* 0 */ "Itanium Merced",
122 /* F extended family (P4/new IA-64)*/ {
123 /* 0 */ "Pentium 4 Willamette; Xeon Foster",
124 /* 1 */ "Pentium 4 Willamette; Xeon Foster",
125 /* 2 */ "Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon Prestonia,Gallatin",
126 /* 3 */ "Pentium 4/Celeron D Prescott; Xeon Nocona",
127 /* 4 */ "Pentium 4/Celeron D Prescott; Pentium D/XE Smithfield; Xeon Nocona,Irwindale",
140 #if 0 /* out of table index boundaries */
141 /* 1F Itanium 2 */ { /* XXX check */
142 /* 0 */ "Itanium 2 McKinley",
143 /* 1 */ "Itanium 2 Madison", /* I coded on that :-) */
161 /* United Microelectronics Corporation, "UMC UMC UMC " */ {
196 /* Advanced Micro Devices, "AuthenticAMD" (very rare: "AMD ISBETTER") */ {
209 /* 7 */ "486DX2/write-back",
210 /* 8 */ "486DX4/5x86",
211 /* 9 */ "486DX4/write-back",
217 /* F */ "5x86/write-back"
220 /* 0 */ "K5 SSA5 (PR75,PR90,PR100)",
221 /* 1 */ "K5 5k86 (PR120,PR133)",
222 /* 2 */ "K5 5k86 (PR166)",
223 /* 3 */ "K5 5k86 (PR200)",
227 /* 7 */ "K6 Little Foot",
229 /* 9 */ "K6-III Chomper",
233 /* D */ "K6-2+/K6-III+ Sharptooth",
238 /* 0 */ N_UNKNOWN
, /* Argon? */
240 /* 2 */ "Athlon K75 Pluto,Orion",
241 /* 3 */ "Duron Spitfire",
242 /* 4 */ "Athlon Thunderbird",
244 /* 6 */ "Duron/Athlon 4/MP/XP Palomino",
245 /* 7 */ "Duron Morgan,Camaro",
246 /* 8 */ "Sempron/Athlon MP/XP Thoroughbred; Duron Applebred",
248 /* A */ "Sempron/Athlon MP/XP/XP-M Barton,Thorton",
265 /* 1 */ "Opteron Egypt,Italy,Denmark",
267 /* 3 */ "Athlon 64 X2 Manchester,Toledo",
268 /* 4 */ "Athlon 64 Clawhammer; Athlon 64 X2 Toledo; Turion Newark,Lancaster",
269 /* 5 */ "Athlon 64 FX/Opteron Sledgehammer,Athens,Troy,Venus",
271 /* 7 */ "Athlon 64/FX Sledgehammer,San Diego,Venice",
272 /* 8 */ "Mobile Athlon 64 Newcastle; Mobile Sempron Dublin",
275 /* B */ "Athlon 64 Newcastle; Athlon 64 X2 Manchester",
277 /* C */ "Athlon 64 Newcastle,Odesssa,Oakville,Venice; Sempron Palermo,Paris,Dublin",
279 /* F */ "Athlon 64 Newcastle,Winchester,San Diego,Venice; Sempron Palermo"
283 /* Cyrix Corp./VIA Inc., "CyrixInstead" */ {
298 /* 9 */ "5x86", /* CPUID maybe only on newer chips */
307 /* 0 */ "M1 test-sample", /*?*/
325 /* 0 */ "6x86MX M2/M-II",
330 /* 5 */ "Cyrix III Joshua (M2 core)",
352 /* NexGen Inc., "NexGenDriven" */ {
359 /* 0 */ "Nx586/Nx586FPU", /* only newer ones support CPUID! */
387 /* IDT/Centaur/VIA, "CentaurHauls" */ {
393 /* 5 IDT C6 WinChip */ {
398 /* 4 */ "WinChip C6",
402 /* 8 */ "WinChip 2 C6+,W2,W2A,W2B",
403 /* 9 */ "WinChip 3 W3",
404 /* A */ "WinChip 4 W4A", /* XXX check */
418 /* 6 */ "Cyrix III Samuel (WinChip C5A core)",
419 /* 7 */ "C3 Samuel 2 (WinChip C5B core)/C3 Ezra",
421 /* 9 */ "C3 Nehemiah",
439 /* Rise, "RiseRiseRise" */ {
446 /* 0 */ "mP6 iDragon 6401,6441 Kirin",
447 /* 1 */ "mP6 iDragon 6510 Lynx",
454 /* 8 */ "mP6 iDragon II",
455 /* 9 */ "mP6 iDragon II (new)",
474 /* Transmeta, "GenuineTMx86" */ {
485 /* 4 */ "Crusoe TM3x00,TM5x00",
515 static const struct {
518 } cpuvendors
[MAX_VENDORS
] ={
519 {"GenuineIntel","Intel"},
520 {"UMC UMC UMC ","United Microelectronics Corporation"},
521 {"AuthenticAMD","Advanced Micro Devices"},
522 {"CyrixInstead","Cyrix/VIA"},
523 {"NexGenDriven","NexGen"},
524 {"CentaurHauls","IDT/Centaur/VIA"},
525 {"RiseRiseRise","Rise"},
526 {"GenuineTMx86","Transmeta"}