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 #ifndef MPLAYER_CPUTABLE_H
8 #define MPLAYER_CPUTABLE_H
10 #define MAX_VENDORS 8 /* Number of CPU Vendors */
12 //#define N_UNKNOWN "unknown"
13 //#define N_UNKNOWNEXT "unknown extended model"
15 #define N_UNKNOWNEXT ""
36 static const char *cpuname
37 /* Vendor */ [MAX_VENDORS
]
41 /* Intel Corporation, "GenuineIntel" */ {
45 /* 3 i386 */ F_UNKNOWN
, /* XXX new 386 chips may support CPUID! */
47 /* 0 */ "i486DX-25/33", /* only few of these */
48 /* 1 */ "i486DX-50", /* support CPUID! */
50 /* 3 */ "i486DX2", /* CPUID only on new chips! */
54 /* 7 */ "i486DX2/write-back", /* returns 3 in write-through mode */
56 /* 9 */ "i486DX4/write-back",
65 /* 0 */ "Pentium P5 A-step",
67 /* 2 */ "Pentium P54C",
68 /* 3 */ "Pentium OverDrive P24T",
69 /* 4 */ "Pentium MMX P55C",
70 /* 5 */ N_UNKNOWN
, /* XXX DX4 OverDrive? */
71 /* 6 */ N_UNKNOWN
, /* XXX P5 OverDrive? */
72 /* 7 */ "Pentium P54C (new)",
73 /* 8 */ "Pentium MMX P55C (new)",
83 /* 0 */ "PentiumPro A-step",
86 /* 3 */ "Pentium II Klamath/Pentium II OverDrive",
87 /* 4 */ N_UNKNOWN
, /* XXX P55CT - OverDrive for P54? */
88 /* 5 */ "Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon",
89 /* 6 */ "Celeron A Mendocino/Pentium II Dixon",
90 /* 7 */ "Pentium III Katmai/Pentium III Xeon Tanner",
91 /* 8 */ "Celeron 2/Pentium III Coppermine,Geyserville",
92 /* 9 */ "Pentium M Banias", /* XXX check */
93 /* A */ "Pentium III Xeon Cascades",
94 /* B */ "Celeron 2/Pentium III Tualatin",
96 /* D */ "Pentium M Dothan",
100 /* 7 Itanium */ { /* XXX check */
101 /* 0 */ "Itanium Merced",
125 /* F extended family (P4/new IA-64)*/ {
126 /* 0 */ "Pentium 4 Willamette; Xeon Foster",
127 /* 1 */ "Pentium 4 Willamette; Xeon Foster",
128 /* 2 */ "Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon Prestonia,Gallatin",
129 /* 3 */ "Pentium 4/Celeron D Prescott; Xeon Nocona",
130 /* 4 */ "Pentium 4/Celeron D Prescott; Pentium D/XE Smithfield; Xeon Nocona,Irwindale",
143 #if 0 /* out of table index boundaries */
144 /* 1F Itanium 2 */ { /* XXX check */
145 /* 0 */ "Itanium 2 McKinley",
146 /* 1 */ "Itanium 2 Madison", /* I coded on that :-) */
164 /* United Microelectronics Corporation, "UMC UMC UMC " */ {
199 /* Advanced Micro Devices, "AuthenticAMD" (very rare: "AMD ISBETTER") */ {
212 /* 7 */ "486DX2/write-back",
213 /* 8 */ "486DX4/5x86",
214 /* 9 */ "486DX4/write-back",
220 /* F */ "5x86/write-back"
223 /* 0 */ "K5 SSA5 (PR75,PR90,PR100)",
224 /* 1 */ "K5 5k86 (PR120,PR133)",
225 /* 2 */ "K5 5k86 (PR166)",
226 /* 3 */ "K5 5k86 (PR200)",
230 /* 7 */ "K6 Little Foot",
232 /* 9 */ "K6-III Chomper",
236 /* D */ "K6-2+/K6-III+ Sharptooth",
241 /* 0 */ N_UNKNOWN
, /* Argon? */
243 /* 2 */ "Athlon K75 Pluto,Orion",
244 /* 3 */ "Duron Spitfire",
245 /* 4 */ "Athlon Thunderbird",
247 /* 6 */ "Duron/Athlon 4/MP/XP Palomino",
248 /* 7 */ "Duron Morgan,Camaro",
249 /* 8 */ "Sempron/Athlon MP/XP Thoroughbred; Duron Applebred",
251 /* A */ "Sempron/Athlon MP/XP/XP-M Barton,Thorton",
268 /* 1 */ "Opteron Egypt,Italy,Denmark",
270 /* 3 */ "Athlon 64 X2 Manchester,Toledo",
271 /* 4 */ "Athlon 64 Clawhammer; Athlon 64 X2 Toledo; Turion Newark,Lancaster",
272 /* 5 */ "Athlon 64 FX/Opteron Sledgehammer,Athens,Troy,Venus",
274 /* 7 */ "Athlon 64/FX Sledgehammer,San Diego,Venice",
275 /* 8 */ "Mobile Athlon 64 Newcastle; Mobile Sempron Dublin",
278 /* B */ "Athlon 64 Newcastle; Athlon 64 X2 Manchester",
280 /* C */ "Athlon 64 Newcastle,Odesssa,Oakville,Venice; Sempron Palermo,Paris,Dublin",
282 /* F */ "Athlon 64 Newcastle,Winchester,San Diego,Venice; Sempron Palermo"
286 /* Cyrix Corp./VIA Inc., "CyrixInstead" */ {
301 /* 9 */ "5x86", /* CPUID maybe only on newer chips */
310 /* 0 */ "M1 test-sample", /*?*/
328 /* 0 */ "6x86MX M2/M-II",
333 /* 5 */ "Cyrix III Joshua (M2 core)",
355 /* NexGen Inc., "NexGenDriven" */ {
362 /* 0 */ "Nx586/Nx586FPU", /* only newer ones support CPUID! */
390 /* IDT/Centaur/VIA, "CentaurHauls" */ {
396 /* 5 IDT C6 WinChip */ {
401 /* 4 */ "WinChip C6",
405 /* 8 */ "WinChip 2 C6+,W2,W2A,W2B",
406 /* 9 */ "WinChip 3 W3",
407 /* A */ "WinChip 4 W4A", /* XXX check */
421 /* 6 */ "Cyrix III Samuel (WinChip C5A core)",
422 /* 7 */ "C3 Samuel 2 (WinChip C5B core)/C3 Ezra",
424 /* 9 */ "C3 Nehemiah",
442 /* Rise, "RiseRiseRise" */ {
449 /* 0 */ "mP6 iDragon 6401,6441 Kirin",
450 /* 1 */ "mP6 iDragon 6510 Lynx",
457 /* 8 */ "mP6 iDragon II",
458 /* 9 */ "mP6 iDragon II (new)",
477 /* Transmeta, "GenuineTMx86" */ {
488 /* 4 */ "Crusoe TM3x00,TM5x00",
518 static const struct {
521 } cpuvendors
[MAX_VENDORS
] ={
522 {"GenuineIntel","Intel"},
523 {"UMC UMC UMC ","United Microelectronics Corporation"},
524 {"AuthenticAMD","Advanced Micro Devices"},
525 {"CyrixInstead","Cyrix/VIA"},
526 {"NexGenDriven","NexGen"},
527 {"CentaurHauls","IDT/Centaur/VIA"},
528 {"RiseRiseRise","Rise"},
529 {"GenuineTMx86","Transmeta"}
532 #endif /* MPLAYER_CPUTABLE_H */