Mercurial > mplayer.hg
annotate cputable.h @ 28190:321b70afabe1
Code simplification
author | reimar |
---|---|
date | Thu, 01 Jan 2009 11:41:09 +0000 |
parents | 9920b9c138f6 |
children |
rev | line source |
---|---|
28111
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
1 /* |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
2 * Map CPUID to real CPU name. |
16792 | 3 * Family F codenames owe much thanks to Neil Phillips, author of x86test. |
28111
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
4 * |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
5 * Copyright (C) 2001 Felix Buenemann <atmosfear at users.sourceforge.net> |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
6 * |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
7 * This file is part of MPlayer. |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
8 * |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
9 * MPlayer is free software; you can redistribute it and/or modify |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
10 * it under the terms of the GNU General Public License as published by |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
11 * the Free Software Foundation; either version 2 of the License, or |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
12 * (at your option) any later version. |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
13 * |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
14 * MPlayer is distributed in the hope that it will be useful, |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
17 * GNU General Public License for more details. |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
18 * |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
19 * You should have received a copy of the GNU General Public License along |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
20 * with MPlayer; if not, write to the Free Software Foundation, Inc., |
9920b9c138f6
Replace informal GPL notices by standard GPL headers.
diego
parents:
26029
diff
changeset
|
21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
2301 | 22 */ |
23 | |
26029 | 24 #ifndef MPLAYER_CPUTABLE_H |
25 #define MPLAYER_CPUTABLE_H | |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
16792
diff
changeset
|
26 |
2301 | 27 #define MAX_VENDORS 8 /* Number of CPU Vendors */ |
28 | |
29 //#define N_UNKNOWN "unknown" | |
30 //#define N_UNKNOWNEXT "unknown extended model" | |
31 #define N_UNKNOWN "" | |
32 #define N_UNKNOWNEXT "" | |
33 | |
2302 | 34 #define F_UNKNOWN { \ |
2301 | 35 N_UNKNOWN, \ |
36 N_UNKNOWN, \ | |
37 N_UNKNOWN, \ | |
38 N_UNKNOWN, \ | |
39 N_UNKNOWN, \ | |
40 N_UNKNOWN, \ | |
41 N_UNKNOWN, \ | |
42 N_UNKNOWN, \ | |
43 N_UNKNOWN, \ | |
44 N_UNKNOWN, \ | |
45 N_UNKNOWN, \ | |
46 N_UNKNOWN, \ | |
47 N_UNKNOWN, \ | |
48 N_UNKNOWN, \ | |
49 N_UNKNOWN, \ | |
50 N_UNKNOWN \ | |
51 } | |
52 | |
2302 | 53 static const char *cpuname |
2301 | 54 /* Vendor */ [MAX_VENDORS] |
55 /* Family */ [16] | |
56 /* Model */ [16] | |
57 ={ | |
58 /* Intel Corporation, "GenuineIntel" */ { | |
59 /* 0 */ F_UNKNOWN, | |
60 /* 1 */ F_UNKNOWN, | |
61 /* 2 */ F_UNKNOWN, | |
62 /* 3 i386 */ F_UNKNOWN, /* XXX new 386 chips may support CPUID! */ | |
63 /* 4 i486 */ { | |
64 /* 0 */ "i486DX-25/33", /* only few of these */ | |
65 /* 1 */ "i486DX-50", /* support CPUID! */ | |
66 /* 2 */ "i486SX", | |
67 /* 3 */ "i486DX2", /* CPUID only on new chips! */ | |
68 /* 4 */ "i486SL", | |
69 /* 5 */ "i486SX2", | |
70 /* 6 */ N_UNKNOWN, | |
71 /* 7 */ "i486DX2/write-back", /* returns 3 in write-through mode */ | |
72 /* 8 */ "i486DX4", | |
73 /* 9 */ "i486DX4/write-back", | |
74 /* A */ N_UNKNOWN, | |
75 /* B */ N_UNKNOWN, | |
76 /* C */ N_UNKNOWN, | |
77 /* D */ N_UNKNOWN, | |
78 /* E */ N_UNKNOWN, | |
79 /* F */ N_UNKNOWNEXT | |
80 }, | |
81 /* 5 i586 */ { | |
82 /* 0 */ "Pentium P5 A-step", | |
83 /* 1 */ "Pentium P5", | |
84 /* 2 */ "Pentium P54C", | |
85 /* 3 */ "Pentium OverDrive P24T", | |
86 /* 4 */ "Pentium MMX P55C", | |
87 /* 5 */ N_UNKNOWN, /* XXX DX4 OverDrive? */ | |
88 /* 6 */ N_UNKNOWN, /* XXX P5 OverDrive? */ | |
89 /* 7 */ "Pentium P54C (new)", | |
90 /* 8 */ "Pentium MMX P55C (new)", | |
91 /* 9 */ N_UNKNOWN, | |
92 /* A */ N_UNKNOWN, | |
93 /* B */ N_UNKNOWN, | |
94 /* C */ N_UNKNOWN, | |
95 /* D */ N_UNKNOWN, | |
96 /* E */ N_UNKNOWN, | |
97 /* F */ N_UNKNOWNEXT | |
98 }, | |
99 /* 6 i686 */ { | |
100 /* 0 */ "PentiumPro A-step", | |
101 /* 1 */ "PentiumPro", | |
102 /* 2 */ N_UNKNOWN, | |
103 /* 3 */ "Pentium II Klamath/Pentium II OverDrive", | |
104 /* 4 */ N_UNKNOWN, /* XXX P55CT - OverDrive for P54? */ | |
105 /* 5 */ "Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon", | |
106 /* 6 */ "Celeron A Mendocino/Pentium II Dixon", | |
107 /* 7 */ "Pentium III Katmai/Pentium III Xeon Tanner", | |
108 /* 8 */ "Celeron 2/Pentium III Coppermine,Geyserville", | |
10950 | 109 /* 9 */ "Pentium M Banias", /* XXX check */ |
2301 | 110 /* A */ "Pentium III Xeon Cascades", |
111 /* B */ "Celeron 2/Pentium III Tualatin", | |
112 /* C */ N_UNKNOWN, | |
16792 | 113 /* D */ "Pentium M Dothan", |
2301 | 114 /* E */ N_UNKNOWN, |
115 /* F */ N_UNKNOWNEXT | |
116 }, | |
10950 | 117 /* 7 Itanium */ { /* XXX check */ |
118 /* 0 */ "Itanium Merced", | |
2301 | 119 /* 1 */ N_UNKNOWN, |
120 /* 2 */ N_UNKNOWN, | |
121 /* 3 */ N_UNKNOWN, | |
122 /* 4 */ N_UNKNOWN, | |
123 /* 5 */ N_UNKNOWN, | |
124 /* 6 */ N_UNKNOWN, | |
125 /* 7 */ N_UNKNOWN, | |
126 /* 8 */ N_UNKNOWN, | |
127 /* 9 */ N_UNKNOWN, | |
128 /* A */ N_UNKNOWN, | |
129 /* B */ N_UNKNOWN, | |
130 /* C */ N_UNKNOWN, | |
131 /* D */ N_UNKNOWN, | |
132 /* E */ N_UNKNOWN, | |
133 /* F */ N_UNKNOWNEXT | |
134 }, | |
135 /* 8 */ F_UNKNOWN, | |
136 /* 9 */ F_UNKNOWN, | |
137 /* A */ F_UNKNOWN, | |
138 /* B */ F_UNKNOWN, | |
139 /* C */ F_UNKNOWN, | |
140 /* D */ F_UNKNOWN, | |
141 /* E */ F_UNKNOWN, | |
142 /* F extended family (P4/new IA-64)*/ { | |
16792 | 143 /* 0 */ "Pentium 4 Willamette; Xeon Foster", |
144 /* 1 */ "Pentium 4 Willamette; Xeon Foster", | |
145 /* 2 */ "Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon Prestonia,Gallatin", | |
146 /* 3 */ "Pentium 4/Celeron D Prescott; Xeon Nocona", | |
147 /* 4 */ "Pentium 4/Celeron D Prescott; Pentium D/XE Smithfield; Xeon Nocona,Irwindale", | |
2301 | 148 /* 5 */ N_UNKNOWN, |
149 /* 6 */ N_UNKNOWN, | |
150 /* 7 */ N_UNKNOWN, | |
151 /* 8 */ N_UNKNOWN, | |
152 /* 9 */ N_UNKNOWN, | |
153 /* A */ N_UNKNOWN, | |
154 /* B */ N_UNKNOWN, | |
155 /* C */ N_UNKNOWN, | |
156 /* D */ N_UNKNOWN, | |
157 /* E */ N_UNKNOWN, | |
158 /* F */ N_UNKNOWNEXT | |
159 } | |
10950 | 160 #if 0 /* out of table index boundaries */ |
161 /* 1F Itanium 2 */ { /* XXX check */ | |
162 /* 0 */ "Itanium 2 McKinley", | |
163 /* 1 */ "Itanium 2 Madison", /* I coded on that :-) */ | |
164 /* 2 */ N_UNKNOWN, | |
165 /* 3 */ N_UNKNOWN, | |
166 /* 4 */ N_UNKNOWN, | |
167 /* 5 */ N_UNKNOWN, | |
168 /* 6 */ N_UNKNOWN, | |
169 /* 7 */ N_UNKNOWN, | |
170 /* 8 */ N_UNKNOWN, | |
171 /* 9 */ N_UNKNOWN, | |
172 /* A */ N_UNKNOWN, | |
173 /* B */ N_UNKNOWN, | |
174 /* C */ N_UNKNOWN, | |
175 /* D */ N_UNKNOWN, | |
176 /* E */ N_UNKNOWN, | |
177 /* F */ N_UNKNOWNEXT | |
178 }, | |
179 #endif | |
2301 | 180 }, |
181 /* United Microelectronics Corporation, "UMC UMC UMC " */ { | |
182 /* 0 */ F_UNKNOWN, | |
183 /* 1 */ F_UNKNOWN, | |
184 /* 2 */ F_UNKNOWN, | |
185 /* 3 */ F_UNKNOWN, | |
186 /* 4 486 (U5) */ { | |
187 /* 0 */ N_UNKNOWN, | |
188 /* 1 */ "486DX U5D", | |
189 /* 2 */ "486SX U5S", | |
190 /* 3 */ N_UNKNOWN, | |
191 /* 4 */ N_UNKNOWN, | |
192 /* 5 */ N_UNKNOWN, | |
193 /* 6 */ N_UNKNOWN, | |
194 /* 7 */ N_UNKNOWN, | |
195 /* 8 */ N_UNKNOWN, | |
196 /* 9 */ N_UNKNOWN, | |
197 /* A */ N_UNKNOWN, | |
198 /* B */ N_UNKNOWN, | |
199 /* C */ N_UNKNOWN, | |
200 /* D */ N_UNKNOWN, | |
201 /* E */ N_UNKNOWN, | |
202 /* F */ N_UNKNOWN | |
203 }, | |
204 /* 5 */ F_UNKNOWN, | |
205 /* 6 */ F_UNKNOWN, | |
206 /* 7 */ F_UNKNOWN, | |
207 /* 8 */ F_UNKNOWN, | |
208 /* 9 */ F_UNKNOWN, | |
209 /* A */ F_UNKNOWN, | |
210 /* B */ F_UNKNOWN, | |
211 /* C */ F_UNKNOWN, | |
212 /* D */ F_UNKNOWN, | |
213 /* E */ F_UNKNOWN, | |
214 /* F */ F_UNKNOWN | |
215 }, | |
216 /* Advanced Micro Devices, "AuthenticAMD" (very rare: "AMD ISBETTER") */ { | |
217 /* 0 */ F_UNKNOWN, | |
218 /* 1 */ F_UNKNOWN, | |
219 /* 2 */ F_UNKNOWN, | |
220 /* 3 */ F_UNKNOWN, | |
221 /* 4 486/5x86 */ { | |
222 /* 0 */ N_UNKNOWN, | |
223 /* 1 */ N_UNKNOWN, | |
224 /* 2 */ N_UNKNOWN, | |
225 /* 3 */ "486DX2", | |
226 /* 4 */ N_UNKNOWN, | |
227 /* 5 */ N_UNKNOWN, | |
228 /* 6 */ N_UNKNOWN, | |
229 /* 7 */ "486DX2/write-back", | |
230 /* 8 */ "486DX4/5x86", | |
231 /* 9 */ "486DX4/write-back", | |
232 /* A */ N_UNKNOWN, | |
233 /* B */ N_UNKNOWN, | |
234 /* C */ N_UNKNOWN, | |
235 /* D */ N_UNKNOWN, | |
236 /* E */ "5x86", | |
237 /* F */ "5x86/write-back" | |
238 }, | |
239 /* 5 K5/K6 */ { | |
240 /* 0 */ "K5 SSA5 (PR75,PR90,PR100)", | |
241 /* 1 */ "K5 5k86 (PR120,PR133)", | |
242 /* 2 */ "K5 5k86 (PR166)", | |
243 /* 3 */ "K5 5k86 (PR200)", | |
244 /* 4 */ N_UNKNOWN, | |
245 /* 5 */ N_UNKNOWN, | |
246 /* 6 */ "K6", | |
247 /* 7 */ "K6 Little Foot", | |
248 /* 8 */ "K6-2", | |
249 /* 9 */ "K6-III Chomper", | |
250 /* A */ N_UNKNOWN, | |
251 /* B */ N_UNKNOWN, | |
252 /* C */ N_UNKNOWN, | |
253 /* D */ "K6-2+/K6-III+ Sharptooth", | |
254 /* E */ N_UNKNOWN, | |
255 /* F */ N_UNKNOWN | |
256 }, | |
257 /* 6 K7 */ { | |
258 /* 0 */ N_UNKNOWN, /* Argon? */ | |
259 /* 1 */ "Athlon K7", | |
260 /* 2 */ "Athlon K75 Pluto,Orion", | |
10886 | 261 /* 3 */ "Duron Spitfire", |
262 /* 4 */ "Athlon Thunderbird", | |
2301 | 263 /* 5 */ N_UNKNOWN, |
16792 | 264 /* 6 */ "Duron/Athlon 4/MP/XP Palomino", |
265 /* 7 */ "Duron Morgan,Camaro", | |
266 /* 8 */ "Sempron/Athlon MP/XP Thoroughbred; Duron Applebred", | |
2301 | 267 /* 9 */ N_UNKNOWN, |
16792 | 268 /* A */ "Sempron/Athlon MP/XP/XP-M Barton,Thorton", |
2301 | 269 /* B */ N_UNKNOWN, |
270 /* E */ N_UNKNOWN, | |
271 /* C */ N_UNKNOWN, | |
272 /* D */ N_UNKNOWN, | |
273 /* F */ N_UNKNOWN | |
274 }, | |
275 /* 7 */ F_UNKNOWN, | |
276 /* 8 */ F_UNKNOWN, | |
277 /* 9 */ F_UNKNOWN, | |
278 /* A */ F_UNKNOWN, | |
279 /* B */ F_UNKNOWN, | |
280 /* C */ F_UNKNOWN, | |
281 /* D */ F_UNKNOWN, | |
282 /* E */ F_UNKNOWN, | |
10950 | 283 /* F K8 */ { |
10886 | 284 /* 0 */ N_UNKNOWN, |
16792 | 285 /* 1 */ "Opteron Egypt,Italy,Denmark", |
10886 | 286 /* 2 */ N_UNKNOWN, |
16792 | 287 /* 3 */ "Athlon 64 X2 Manchester,Toledo", |
288 /* 4 */ "Athlon 64 Clawhammer; Athlon 64 X2 Toledo; Turion Newark,Lancaster", | |
289 /* 5 */ "Athlon 64 FX/Opteron Sledgehammer,Athens,Troy,Venus", | |
10886 | 290 /* 6 */ N_UNKNOWN, |
16792 | 291 /* 7 */ "Athlon 64/FX Sledgehammer,San Diego,Venice", |
292 /* 8 */ "Mobile Athlon 64 Newcastle; Mobile Sempron Dublin", | |
10886 | 293 /* 9 */ N_UNKNOWN, |
294 /* A */ N_UNKNOWN, | |
16792 | 295 /* B */ "Athlon 64 Newcastle; Athlon 64 X2 Manchester", |
10886 | 296 /* E */ N_UNKNOWN, |
16792 | 297 /* C */ "Athlon 64 Newcastle,Odesssa,Oakville,Venice; Sempron Palermo,Paris,Dublin", |
10886 | 298 /* D */ N_UNKNOWN, |
16792 | 299 /* F */ "Athlon 64 Newcastle,Winchester,San Diego,Venice; Sempron Palermo" |
10886 | 300 } |
301 | |
2301 | 302 }, |
303 /* Cyrix Corp./VIA Inc., "CyrixInstead" */ { | |
304 /* 0 */ F_UNKNOWN, | |
305 /* 1 */ F_UNKNOWN, | |
306 /* 2 */ F_UNKNOWN, | |
307 /* 3 */ F_UNKNOWN, | |
308 /* 4 5x86 */ { | |
309 /* 0 */ N_UNKNOWN, | |
310 /* 1 */ N_UNKNOWN, | |
311 /* 2 */ N_UNKNOWN, | |
312 /* 3 */ N_UNKNOWN, | |
313 /* 4 */ "MediaGX", | |
314 /* 5 */ N_UNKNOWN, | |
315 /* 6 */ N_UNKNOWN, | |
316 /* 7 */ N_UNKNOWN, | |
317 /* 8 */ N_UNKNOWN, | |
318 /* 9 */ "5x86", /* CPUID maybe only on newer chips */ | |
319 /* A */ N_UNKNOWN, | |
320 /* B */ N_UNKNOWN, | |
321 /* E */ N_UNKNOWN, | |
322 /* C */ N_UNKNOWN, | |
323 /* D */ N_UNKNOWN, | |
324 /* F */ N_UNKNOWN | |
325 }, | |
326 /* 5 M1 */ { | |
327 /* 0 */ "M1 test-sample", /*?*/ | |
328 /* 1 */ N_UNKNOWN, | |
329 /* 2 */ "6x86 M1", | |
10950 | 330 /* 3 */ "6x86L M1", |
2301 | 331 /* 4 */ "GXm", |
332 /* 5 */ N_UNKNOWN, | |
333 /* 6 */ N_UNKNOWN, | |
334 /* 7 */ N_UNKNOWN, | |
335 /* 8 */ N_UNKNOWN, | |
336 /* 9 */ N_UNKNOWN, | |
337 /* A */ N_UNKNOWN, | |
338 /* B */ N_UNKNOWN, | |
339 /* E */ N_UNKNOWN, | |
340 /* C */ N_UNKNOWN, | |
341 /* D */ N_UNKNOWN, | |
342 /* F */ N_UNKNOWN | |
343 }, | |
344 /* 6 M2 */ { | |
345 /* 0 */ "6x86MX M2/M-II", | |
346 /* 1 */ N_UNKNOWN, | |
347 /* 2 */ N_UNKNOWN, | |
348 /* 3 */ N_UNKNOWN, | |
349 /* 4 */ N_UNKNOWN, | |
350 /* 5 */ "Cyrix III Joshua (M2 core)", | |
10950 | 351 /* 6 */ N_UNKNOWN, |
352 /* 7 */ N_UNKNOWN, | |
353 /* 8 */ N_UNKNOWN, | |
2301 | 354 /* 9 */ N_UNKNOWN, |
355 /* A */ N_UNKNOWN, | |
356 /* B */ N_UNKNOWN, | |
357 /* E */ N_UNKNOWN, | |
358 /* C */ N_UNKNOWN, | |
359 /* D */ N_UNKNOWN, | |
360 /* F */ N_UNKNOWN | |
361 }, | |
362 /* 7 */ F_UNKNOWN, | |
363 /* 8 */ F_UNKNOWN, | |
364 /* 9 */ F_UNKNOWN, | |
365 /* A */ F_UNKNOWN, | |
366 /* B */ F_UNKNOWN, | |
367 /* C */ F_UNKNOWN, | |
368 /* D */ F_UNKNOWN, | |
369 /* E */ F_UNKNOWN, | |
370 /* F */ F_UNKNOWN | |
371 }, | |
372 /* NexGen Inc., "NexGenDriven" */ { | |
373 /* 0 */ F_UNKNOWN, | |
374 /* 1 */ F_UNKNOWN, | |
375 /* 2 */ F_UNKNOWN, | |
376 /* 3 */ F_UNKNOWN, | |
377 /* 4 */ F_UNKNOWN, | |
378 /* 5 Nx586 */ { | |
379 /* 0 */ "Nx586/Nx586FPU", /* only newer ones support CPUID! */ | |
380 /* 1 */ N_UNKNOWN, | |
381 /* 2 */ N_UNKNOWN, | |
382 /* 3 */ N_UNKNOWN, | |
383 /* 4 */ N_UNKNOWN, | |
384 /* 5 */ N_UNKNOWN, | |
385 /* 6 */ N_UNKNOWN, | |
386 /* 7 */ N_UNKNOWN, | |
387 /* 8 */ N_UNKNOWN, | |
388 /* 9 */ N_UNKNOWN, | |
389 /* A */ N_UNKNOWN, | |
390 /* B */ N_UNKNOWN, | |
391 /* E */ N_UNKNOWN, | |
392 /* C */ N_UNKNOWN, | |
393 /* D */ N_UNKNOWN, | |
394 /* F */ N_UNKNOWN | |
395 }, | |
396 /* 6 */ F_UNKNOWN, | |
397 /* 7 */ F_UNKNOWN, | |
398 /* 8 */ F_UNKNOWN, | |
399 /* 9 */ F_UNKNOWN, | |
400 /* A */ F_UNKNOWN, | |
401 /* B */ F_UNKNOWN, | |
402 /* C */ F_UNKNOWN, | |
403 /* D */ F_UNKNOWN, | |
404 /* E */ F_UNKNOWN, | |
405 /* F */ F_UNKNOWN | |
406 }, | |
407 /* IDT/Centaur/VIA, "CentaurHauls" */ { | |
408 /* 0 */ F_UNKNOWN, | |
409 /* 1 */ F_UNKNOWN, | |
410 /* 2 */ F_UNKNOWN, | |
411 /* 3 */ F_UNKNOWN, | |
412 /* 4 */ F_UNKNOWN, | |
413 /* 5 IDT C6 WinChip */ { | |
414 /* 0 */ N_UNKNOWN, | |
415 /* 1 */ N_UNKNOWN, | |
416 /* 2 */ N_UNKNOWN, | |
417 /* 3 */ N_UNKNOWN, | |
418 /* 4 */ "WinChip C6", | |
419 /* 5 */ N_UNKNOWN, | |
420 /* 6 */ "Samuel", | |
421 /* 7 */ N_UNKNOWN, | |
422 /* 8 */ "WinChip 2 C6+,W2,W2A,W2B", | |
423 /* 9 */ "WinChip 3 W3", | |
10950 | 424 /* A */ "WinChip 4 W4A", /* XXX check */ |
425 /* B */ N_UNKNOWN, | |
426 /* E */ N_UNKNOWN, | |
427 /* C */ N_UNKNOWN, | |
428 /* D */ N_UNKNOWN, | |
429 /* F */ N_UNKNOWN | |
430 }, | |
431 /* 6 VIA C3 */ { | |
432 /* 0 */ N_UNKNOWN, | |
433 /* 1 */ N_UNKNOWN, | |
434 /* 2 */ N_UNKNOWN, | |
435 /* 3 */ N_UNKNOWN, | |
436 /* 4 */ N_UNKNOWN, | |
437 /* 5 */ N_UNKNOWN, | |
438 /* 6 */ "Cyrix III Samuel (WinChip C5A core)", | |
439 /* 7 */ "C3 Samuel 2 (WinChip C5B core)/C3 Ezra", | |
440 /* 8 */ "C3 Ezra-T", | |
441 /* 9 */ "C3 Nehemiah", | |
2301 | 442 /* A */ N_UNKNOWN, |
443 /* B */ N_UNKNOWN, | |
444 /* E */ N_UNKNOWN, | |
445 /* C */ N_UNKNOWN, | |
446 /* D */ N_UNKNOWN, | |
447 /* F */ N_UNKNOWN | |
448 }, | |
449 /* 7 */ F_UNKNOWN, | |
450 /* 8 */ F_UNKNOWN, | |
451 /* 9 */ F_UNKNOWN, | |
452 /* A */ F_UNKNOWN, | |
453 /* B */ F_UNKNOWN, | |
454 /* C */ F_UNKNOWN, | |
455 /* D */ F_UNKNOWN, | |
456 /* E */ F_UNKNOWN, | |
457 /* F */ F_UNKNOWN | |
458 }, | |
459 /* Rise, "RiseRiseRise" */ { | |
460 /* 0 */ F_UNKNOWN, | |
461 /* 1 */ F_UNKNOWN, | |
462 /* 2 */ F_UNKNOWN, | |
463 /* 3 */ F_UNKNOWN, | |
464 /* 4 */ F_UNKNOWN, | |
465 /* 5 mP6 */ { | |
466 /* 0 */ "mP6 iDragon 6401,6441 Kirin", | |
467 /* 1 */ "mP6 iDragon 6510 Lynx", | |
468 /* 2 */ N_UNKNOWN, | |
469 /* 3 */ N_UNKNOWN, | |
470 /* 4 */ N_UNKNOWN, | |
471 /* 5 */ N_UNKNOWN, | |
472 /* 6 */ N_UNKNOWN, | |
473 /* 7 */ N_UNKNOWN, | |
474 /* 8 */ "mP6 iDragon II", | |
475 /* 9 */ "mP6 iDragon II (new)", | |
476 /* A */ N_UNKNOWN, | |
477 /* B */ N_UNKNOWN, | |
478 /* E */ N_UNKNOWN, | |
479 /* C */ N_UNKNOWN, | |
480 /* D */ N_UNKNOWN, | |
481 /* F */ N_UNKNOWN | |
482 }, | |
483 /* 6 */ F_UNKNOWN, | |
484 /* 7 */ F_UNKNOWN, | |
485 /* 8 */ F_UNKNOWN, | |
486 /* 9 */ F_UNKNOWN, | |
487 /* A */ F_UNKNOWN, | |
488 /* B */ F_UNKNOWN, | |
489 /* C */ F_UNKNOWN, | |
490 /* D */ F_UNKNOWN, | |
491 /* E */ F_UNKNOWN, | |
492 /* F */ F_UNKNOWN | |
493 }, | |
494 /* Transmeta, "GenuineTMx86" */ { | |
495 /* 0 */ F_UNKNOWN, | |
496 /* 1 */ F_UNKNOWN, | |
497 /* 2 */ F_UNKNOWN, | |
498 /* 3 */ F_UNKNOWN, | |
499 /* 4 */ F_UNKNOWN, | |
500 /* 5 Crusoe */ { | |
501 /* 0 */ N_UNKNOWN, | |
502 /* 1 */ N_UNKNOWN, | |
503 /* 2 */ N_UNKNOWN, | |
504 /* 3 */ N_UNKNOWN, | |
505 /* 4 */ "Crusoe TM3x00,TM5x00", | |
506 /* 5 */ N_UNKNOWN, | |
507 /* 6 */ N_UNKNOWN, | |
508 /* 7 */ N_UNKNOWN, | |
509 /* 8 */ N_UNKNOWN, | |
510 /* 9 */ N_UNKNOWN, | |
511 /* A */ N_UNKNOWN, | |
512 /* B */ N_UNKNOWN, | |
513 /* E */ N_UNKNOWN, | |
514 /* C */ N_UNKNOWN, | |
515 /* D */ N_UNKNOWN, | |
516 /* F */ N_UNKNOWN | |
517 }, | |
518 /* 6 */ F_UNKNOWN, | |
519 /* 7 */ F_UNKNOWN, | |
520 /* 8 */ F_UNKNOWN, | |
521 /* 9 */ F_UNKNOWN, | |
522 /* A */ F_UNKNOWN, | |
523 /* B */ F_UNKNOWN, | |
524 /* C */ F_UNKNOWN, | |
525 /* D */ F_UNKNOWN, | |
526 /* E */ F_UNKNOWN, | |
527 /* F */ F_UNKNOWN | |
528 } | |
529 }; | |
530 | |
531 #undef N_UNKNOWNEXT | |
532 #undef N_UNKNOWN | |
533 #undef F_UNKNOWN | |
534 | |
535 static const struct { | |
536 char string[13]; | |
537 char name[48]; | |
538 } cpuvendors[MAX_VENDORS] ={ | |
539 {"GenuineIntel","Intel"}, | |
540 {"UMC UMC UMC ","United Microelectronics Corporation"}, | |
541 {"AuthenticAMD","Advanced Micro Devices"}, | |
542 {"CyrixInstead","Cyrix/VIA"}, | |
543 {"NexGenDriven","NexGen"}, | |
544 {"CentaurHauls","IDT/Centaur/VIA"}, | |
545 {"RiseRiseRise","Rise"}, | |
546 {"GenuineTMx86","Transmeta"} | |
547 }; | |
548 | |
26029 | 549 #endif /* MPLAYER_CPUTABLE_H */ |