build: softmmu targets do not have a "main.o" file
[qemu-kvm.git] / target-ppc / cpu-models.c
blob7c9466fc0761b5a5ee1197e129c5c89c9f99bc07
1 /*
2 * PowerPC CPU initialization for qemu.
4 * Copyright (c) 2003-2007 Jocelyn Mayer
5 * Copyright 2011 Freescale Semiconductor, Inc.
6 * Copyright 2013 SUSE LINUX Products GmbH
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
22 /* A lot of PowerPC definition have been included here.
23 * Most of them are not usable for now but have been kept
24 * inside "#if defined(TODO) ... #endif" statements to make tests easier.
27 #include "cpu.h"
28 #include "cpu-models.h"
30 #if defined(CONFIG_USER_ONLY)
31 #define TODO_USER_ONLY 1
32 #endif
34 /***************************************************************************/
35 /* PowerPC CPU definitions */
36 #define POWERPC_DEF_PREFIX(pvr, svr, type) \
37 glue(glue(glue(glue(pvr, _), svr), _), type)
38 #define POWERPC_DEF_SVR(_name, _desc, _pvr, _svr, _type) \
39 static void \
40 glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_class_init) \
41 (ObjectClass *oc, void *data) \
42 { \
43 DeviceClass *dc = DEVICE_CLASS(oc); \
44 PowerPCCPUClass *pcc = POWERPC_CPU_CLASS(oc); \
46 pcc->pvr = _pvr; \
47 pcc->pvr_mask = CPU_POWERPC_DEFAULT_MASK; \
48 pcc->svr = _svr; \
49 dc->desc = _desc; \
50 } \
52 static const TypeInfo \
53 glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_type_info) = { \
54 .name = _name "-" TYPE_POWERPC_CPU, \
55 .parent = stringify(_type) "-family-" TYPE_POWERPC_CPU, \
56 .class_init = \
57 glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_class_init), \
58 }; \
60 static void \
61 glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_register_types)(void) \
62 { \
63 type_register_static( \
64 &glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_type_info)); \
65 } \
67 type_init( \
68 glue(POWERPC_DEF_PREFIX(_pvr, _svr, _type), _cpu_register_types))
70 #define POWERPC_DEF(_name, _pvr, _type, _desc) \
71 POWERPC_DEF_SVR(_name, _desc, _pvr, POWERPC_SVR_NONE, _type)
73 /* Embedded PowerPC */
74 /* PowerPC 401 family */
75 POWERPC_DEF("401", CPU_POWERPC_401, 401,
76 "Generic PowerPC 401")
77 /* PowerPC 401 cores */
78 POWERPC_DEF("401A1", CPU_POWERPC_401A1, 401,
79 "PowerPC 401A1")
80 POWERPC_DEF("401B2", CPU_POWERPC_401B2, 401x2,
81 "PowerPC 401B2")
82 #if defined(TODO)
83 POWERPC_DEF("401B3", CPU_POWERPC_401B3, 401x3,
84 "PowerPC 401B3")
85 #endif
86 POWERPC_DEF("401C2", CPU_POWERPC_401C2, 401x2,
87 "PowerPC 401C2")
88 POWERPC_DEF("401D2", CPU_POWERPC_401D2, 401x2,
89 "PowerPC 401D2")
90 POWERPC_DEF("401E2", CPU_POWERPC_401E2, 401x2,
91 "PowerPC 401E2")
92 POWERPC_DEF("401F2", CPU_POWERPC_401F2, 401x2,
93 "PowerPC 401F2")
94 /* XXX: to be checked */
95 POWERPC_DEF("401G2", CPU_POWERPC_401G2, 401x2,
96 "PowerPC 401G2")
97 /* PowerPC 401 microcontrollers */
98 #if defined(TODO)
99 POWERPC_DEF("401GF", CPU_POWERPC_401GF, 401,
100 "PowerPC 401GF")
101 #endif
102 POWERPC_DEF("IOP480", CPU_POWERPC_IOP480, IOP480,
103 "IOP480 (401 microcontroller)")
104 POWERPC_DEF("Cobra", CPU_POWERPC_COBRA, 401,
105 "IBM Processor for Network Resources")
106 #if defined(TODO)
107 POWERPC_DEF("Xipchip", CPU_POWERPC_XIPCHIP, 401,
108 NULL)
109 #endif
110 /* PowerPC 403 family */
111 /* PowerPC 403 microcontrollers */
112 POWERPC_DEF("403GA", CPU_POWERPC_403GA, 403,
113 "PowerPC 403 GA")
114 POWERPC_DEF("403GB", CPU_POWERPC_403GB, 403,
115 "PowerPC 403 GB")
116 POWERPC_DEF("403GC", CPU_POWERPC_403GC, 403,
117 "PowerPC 403 GC")
118 POWERPC_DEF("403GCX", CPU_POWERPC_403GCX, 403GCX,
119 "PowerPC 403 GCX")
120 #if defined(TODO)
121 POWERPC_DEF("403GP", CPU_POWERPC_403GP, 403,
122 "PowerPC 403 GP")
123 #endif
124 /* PowerPC 405 family */
125 /* PowerPC 405 cores */
126 #if defined(TODO)
127 POWERPC_DEF("405A3", CPU_POWERPC_405A3, 405,
128 "PowerPC 405 A3")
129 #endif
130 #if defined(TODO)
131 POWERPC_DEF("405A4", CPU_POWERPC_405A4, 405,
132 "PowerPC 405 A4")
133 #endif
134 #if defined(TODO)
135 POWERPC_DEF("405B3", CPU_POWERPC_405B3, 405,
136 "PowerPC 405 B3")
137 #endif
138 #if defined(TODO)
139 POWERPC_DEF("405B4", CPU_POWERPC_405B4, 405,
140 "PowerPC 405 B4")
141 #endif
142 #if defined(TODO)
143 POWERPC_DEF("405C3", CPU_POWERPC_405C3, 405,
144 "PowerPC 405 C3")
145 #endif
146 #if defined(TODO)
147 POWERPC_DEF("405C4", CPU_POWERPC_405C4, 405,
148 "PowerPC 405 C4")
149 #endif
150 POWERPC_DEF("405D2", CPU_POWERPC_405D2, 405,
151 "PowerPC 405 D2")
152 #if defined(TODO)
153 POWERPC_DEF("405D3", CPU_POWERPC_405D3, 405,
154 "PowerPC 405 D3")
155 #endif
156 POWERPC_DEF("405D4", CPU_POWERPC_405D4, 405,
157 "PowerPC 405 D4")
158 #if defined(TODO)
159 POWERPC_DEF("405D5", CPU_POWERPC_405D5, 405,
160 "PowerPC 405 D5")
161 #endif
162 #if defined(TODO)
163 POWERPC_DEF("405E4", CPU_POWERPC_405E4, 405,
164 "PowerPC 405 E4")
165 #endif
166 #if defined(TODO)
167 POWERPC_DEF("405F4", CPU_POWERPC_405F4, 405,
168 "PowerPC 405 F4")
169 #endif
170 #if defined(TODO)
171 POWERPC_DEF("405F5", CPU_POWERPC_405F5, 405,
172 "PowerPC 405 F5")
173 #endif
174 #if defined(TODO)
175 POWERPC_DEF("405F6", CPU_POWERPC_405F6, 405,
176 "PowerPC 405 F6")
177 #endif
178 /* PowerPC 405 microcontrollers */
179 POWERPC_DEF("405CRa", CPU_POWERPC_405CRa, 405,
180 "PowerPC 405 CRa")
181 POWERPC_DEF("405CRb", CPU_POWERPC_405CRb, 405,
182 "PowerPC 405 CRb")
183 POWERPC_DEF("405CRc", CPU_POWERPC_405CRc, 405,
184 "PowerPC 405 CRc")
185 POWERPC_DEF("405EP", CPU_POWERPC_405EP, 405,
186 "PowerPC 405 EP")
187 #if defined(TODO)
188 POWERPC_DEF("405EXr", CPU_POWERPC_405EXr, 405,
189 "PowerPC 405 EXr")
190 #endif
191 POWERPC_DEF("405EZ", CPU_POWERPC_405EZ, 405,
192 "PowerPC 405 EZ")
193 #if defined(TODO)
194 POWERPC_DEF("405FX", CPU_POWERPC_405FX, 405,
195 "PowerPC 405 FX")
196 #endif
197 POWERPC_DEF("405GPa", CPU_POWERPC_405GPa, 405,
198 "PowerPC 405 GPa")
199 POWERPC_DEF("405GPb", CPU_POWERPC_405GPb, 405,
200 "PowerPC 405 GPb")
201 POWERPC_DEF("405GPc", CPU_POWERPC_405GPc, 405,
202 "PowerPC 405 GPc")
203 POWERPC_DEF("405GPd", CPU_POWERPC_405GPd, 405,
204 "PowerPC 405 GPd")
205 POWERPC_DEF("405GPR", CPU_POWERPC_405GPR, 405,
206 "PowerPC 405 GPR")
207 #if defined(TODO)
208 POWERPC_DEF("405H", CPU_POWERPC_405H, 405,
209 "PowerPC 405 H")
210 #endif
211 #if defined(TODO)
212 POWERPC_DEF("405L", CPU_POWERPC_405L, 405,
213 "PowerPC 405 L")
214 #endif
215 POWERPC_DEF("405LP", CPU_POWERPC_405LP, 405,
216 "PowerPC 405 LP")
217 #if defined(TODO)
218 POWERPC_DEF("405PM", CPU_POWERPC_405PM, 405,
219 "PowerPC 405 PM")
220 #endif
221 #if defined(TODO)
222 POWERPC_DEF("405PS", CPU_POWERPC_405PS, 405,
223 "PowerPC 405 PS")
224 #endif
225 #if defined(TODO)
226 POWERPC_DEF("405S", CPU_POWERPC_405S, 405,
227 "PowerPC 405 S")
228 #endif
229 POWERPC_DEF("Npe405H", CPU_POWERPC_NPE405H, 405,
230 "Npe405 H")
231 POWERPC_DEF("Npe405H2", CPU_POWERPC_NPE405H2, 405,
232 "Npe405 H2")
233 POWERPC_DEF("Npe405L", CPU_POWERPC_NPE405L, 405,
234 "Npe405 L")
235 POWERPC_DEF("Npe4GS3", CPU_POWERPC_NPE4GS3, 405,
236 "Npe4GS3")
237 #if defined(TODO)
238 POWERPC_DEF("Npcxx1", CPU_POWERPC_NPCxx1, 405,
239 NULL)
240 #endif
241 #if defined(TODO)
242 POWERPC_DEF("Npr161", CPU_POWERPC_NPR161, 405,
243 NULL)
244 #endif
245 #if defined(TODO)
246 POWERPC_DEF("LC77700", CPU_POWERPC_LC77700, 405,
247 "PowerPC LC77700 (Sanyo)")
248 #endif
249 /* PowerPC 401/403/405 based set-top-box microcontrollers */
250 #if defined(TODO)
251 POWERPC_DEF("STB01000", CPU_POWERPC_STB01000, 401x2,
252 "STB010000")
253 #endif
254 #if defined(TODO)
255 POWERPC_DEF("STB01010", CPU_POWERPC_STB01010, 401x2,
256 "STB01010")
257 #endif
258 #if defined(TODO)
259 POWERPC_DEF("STB0210", CPU_POWERPC_STB0210, 401x3,
260 "STB0210")
261 #endif
262 POWERPC_DEF("STB03", CPU_POWERPC_STB03, 405,
263 "STB03xx")
264 #if defined(TODO)
265 POWERPC_DEF("STB043", CPU_POWERPC_STB043, 405,
266 "STB043x")
267 #endif
268 #if defined(TODO)
269 POWERPC_DEF("STB045", CPU_POWERPC_STB045, 405,
270 "STB045x")
271 #endif
272 POWERPC_DEF("STB04", CPU_POWERPC_STB04, 405,
273 "STB04xx")
274 POWERPC_DEF("STB25", CPU_POWERPC_STB25, 405,
275 "STB25xx")
276 #if defined(TODO)
277 POWERPC_DEF("STB130", CPU_POWERPC_STB130, 405,
278 "STB130")
279 #endif
280 /* Xilinx PowerPC 405 cores */
281 POWERPC_DEF("x2vp4", CPU_POWERPC_X2VP4, 405,
282 NULL)
283 POWERPC_DEF("x2vp20", CPU_POWERPC_X2VP20, 405,
284 NULL)
285 #if defined(TODO)
286 POWERPC_DEF("zl10310", CPU_POWERPC_ZL10310, 405,
287 "Zarlink ZL10310")
288 #endif
289 #if defined(TODO)
290 POWERPC_DEF("zl10311", CPU_POWERPC_ZL10311, 405,
291 "Zarlink ZL10311")
292 #endif
293 #if defined(TODO)
294 POWERPC_DEF("zl10320", CPU_POWERPC_ZL10320, 405,
295 "Zarlink ZL10320")
296 #endif
297 #if defined(TODO)
298 POWERPC_DEF("zl10321", CPU_POWERPC_ZL10321, 405,
299 "Zarlink ZL10321")
300 #endif
301 /* PowerPC 440 family */
302 #if defined(TODO_USER_ONLY)
303 POWERPC_DEF("440", CPU_POWERPC_440, 440GP,
304 "Generic PowerPC 440")
305 #endif
306 /* PowerPC 440 cores */
307 #if defined(TODO)
308 POWERPC_DEF("440A4", CPU_POWERPC_440A4, 440x4,
309 "PowerPC 440 A4")
310 #endif
311 POWERPC_DEF("440-Xilinx", CPU_POWERPC_440_XILINX, 440x5,
312 "PowerPC 440 Xilinx 5")
313 #if defined(TODO)
314 POWERPC_DEF("440A5", CPU_POWERPC_440A5, 440x5,
315 "PowerPC 440 A5")
316 #endif
317 #if defined(TODO)
318 POWERPC_DEF("440B4", CPU_POWERPC_440B4, 440x4,
319 "PowerPC 440 B4")
320 #endif
321 #if defined(TODO)
322 POWERPC_DEF("440G4", CPU_POWERPC_440G4, 440x4,
323 "PowerPC 440 G4")
324 #endif
325 #if defined(TODO)
326 POWERPC_DEF("440F5", CPU_POWERPC_440F5, 440x5,
327 "PowerPC 440 F5")
328 #endif
329 #if defined(TODO)
330 POWERPC_DEF("440G5", CPU_POWERPC_440G5, 440x5,
331 "PowerPC 440 G5")
332 #endif
333 #if defined(TODO)
334 POWERPC_DEF("440H4", CPU_POWERPC_440H4, 440x4,
335 "PowerPC 440H4")
336 #endif
337 #if defined(TODO)
338 POWERPC_DEF("440H6", CPU_POWERPC_440H6, 440Gx5,
339 "PowerPC 440H6")
340 #endif
341 /* PowerPC 440 microcontrollers */
342 POWERPC_DEF("440EPa", CPU_POWERPC_440EPa, 440EP,
343 "PowerPC 440 EPa")
344 POWERPC_DEF("440EPb", CPU_POWERPC_440EPb, 440EP,
345 "PowerPC 440 EPb")
346 POWERPC_DEF("440EPX", CPU_POWERPC_440EPX, 440EP,
347 "PowerPC 440 EPX")
348 #if defined(TODO_USER_ONLY)
349 POWERPC_DEF("440GPb", CPU_POWERPC_440GPb, 440GP,
350 "PowerPC 440 GPb")
351 #endif
352 #if defined(TODO_USER_ONLY)
353 POWERPC_DEF("440GPc", CPU_POWERPC_440GPc, 440GP,
354 "PowerPC 440 GPc")
355 #endif
356 #if defined(TODO_USER_ONLY)
357 POWERPC_DEF("440GRa", CPU_POWERPC_440GRa, 440x5,
358 "PowerPC 440 GRa")
359 #endif
360 #if defined(TODO_USER_ONLY)
361 POWERPC_DEF("440GRX", CPU_POWERPC_440GRX, 440x5,
362 "PowerPC 440 GRX")
363 #endif
364 #if defined(TODO_USER_ONLY)
365 POWERPC_DEF("440GXa", CPU_POWERPC_440GXa, 440EP,
366 "PowerPC 440 GXa")
367 #endif
368 #if defined(TODO_USER_ONLY)
369 POWERPC_DEF("440GXb", CPU_POWERPC_440GXb, 440EP,
370 "PowerPC 440 GXb")
371 #endif
372 #if defined(TODO_USER_ONLY)
373 POWERPC_DEF("440GXc", CPU_POWERPC_440GXc, 440EP,
374 "PowerPC 440 GXc")
375 #endif
376 #if defined(TODO_USER_ONLY)
377 POWERPC_DEF("440GXf", CPU_POWERPC_440GXf, 440EP,
378 "PowerPC 440 GXf")
379 #endif
380 #if defined(TODO)
381 POWERPC_DEF("440S", CPU_POWERPC_440S, 440,
382 "PowerPC 440 S")
383 #endif
384 #if defined(TODO_USER_ONLY)
385 POWERPC_DEF("440SP", CPU_POWERPC_440SP, 440EP,
386 "PowerPC 440 SP")
387 #endif
388 #if defined(TODO_USER_ONLY)
389 POWERPC_DEF("440SP2", CPU_POWERPC_440SP2, 440EP,
390 "PowerPC 440 SP2")
391 #endif
392 #if defined(TODO_USER_ONLY)
393 POWERPC_DEF("440SPE", CPU_POWERPC_440SPE, 440EP,
394 "PowerPC 440 SPE")
395 #endif
396 /* PowerPC 460 family */
397 #if defined(TODO)
398 POWERPC_DEF("464", CPU_POWERPC_464, 460,
399 "Generic PowerPC 464")
400 #endif
401 /* PowerPC 464 microcontrollers */
402 #if defined(TODO)
403 POWERPC_DEF("464H90", CPU_POWERPC_464H90, 460,
404 "PowerPC 464H90")
405 #endif
406 #if defined(TODO)
407 POWERPC_DEF("464H90F", CPU_POWERPC_464H90F, 460F,
408 "PowerPC 464H90F")
409 #endif
410 /* Freescale embedded PowerPC cores */
411 /* MPC5xx family (aka RCPU) */
412 #if defined(TODO_USER_ONLY)
413 POWERPC_DEF("MPC5xx", CPU_POWERPC_MPC5xx, MPC5xx,
414 "Generic MPC5xx core")
415 #endif
416 /* MPC8xx family (aka PowerQUICC) */
417 #if defined(TODO_USER_ONLY)
418 POWERPC_DEF("MPC8xx", CPU_POWERPC_MPC8xx, MPC8xx,
419 "Generic MPC8xx core")
420 #endif
421 /* MPC82xx family (aka PowerQUICC-II) */
422 POWERPC_DEF("G2", CPU_POWERPC_G2, G2,
423 "PowerPC G2 core")
424 POWERPC_DEF("G2H4", CPU_POWERPC_G2H4, G2,
425 "PowerPC G2 H4 core")
426 POWERPC_DEF("G2GP", CPU_POWERPC_G2gp, G2,
427 "PowerPC G2 GP core")
428 POWERPC_DEF("G2LS", CPU_POWERPC_G2ls, G2,
429 "PowerPC G2 LS core")
430 POWERPC_DEF("G2HiP3", CPU_POWERPC_G2_HIP3, G2,
431 "PowerPC G2 HiP3 core")
432 POWERPC_DEF("G2HiP4", CPU_POWERPC_G2_HIP4, G2,
433 "PowerPC G2 HiP4 core")
434 POWERPC_DEF("MPC603", CPU_POWERPC_MPC603, 603E,
435 "PowerPC MPC603 core")
436 POWERPC_DEF("G2le", CPU_POWERPC_G2LE, G2LE,
437 "PowerPC G2le core (same as G2 plus little-endian mode support)")
438 POWERPC_DEF("G2leGP", CPU_POWERPC_G2LEgp, G2LE,
439 "PowerPC G2LE GP core")
440 POWERPC_DEF("G2leLS", CPU_POWERPC_G2LEls, G2LE,
441 "PowerPC G2LE LS core")
442 POWERPC_DEF("G2leGP1", CPU_POWERPC_G2LEgp1, G2LE,
443 "PowerPC G2LE GP1 core")
444 POWERPC_DEF("G2leGP3", CPU_POWERPC_G2LEgp3, G2LE,
445 "PowerPC G2LE GP3 core")
446 /* PowerPC G2 microcontrollers */
447 #if defined(TODO)
448 POWERPC_DEF_SVR("MPC5121", "MPC5121",
449 CPU_POWERPC_MPC5121, POWERPC_SVR_5121, G2LE)
450 #endif
451 POWERPC_DEF_SVR("MPC5200_v10", "MPC5200 v1.0",
452 CPU_POWERPC_MPC5200_v10, POWERPC_SVR_5200_v10, G2LE)
453 POWERPC_DEF_SVR("MPC5200_v11", "MPC5200 v1.1",
454 CPU_POWERPC_MPC5200_v11, POWERPC_SVR_5200_v11, G2LE)
455 POWERPC_DEF_SVR("MPC5200_v12", "MPC5200 v1.2",
456 CPU_POWERPC_MPC5200_v12, POWERPC_SVR_5200_v12, G2LE)
457 POWERPC_DEF_SVR("MPC5200B_v20", "MPC5200B v2.0",
458 CPU_POWERPC_MPC5200B_v20, POWERPC_SVR_5200B_v20, G2LE)
459 POWERPC_DEF_SVR("MPC5200B_v21", "MPC5200B v2.1",
460 CPU_POWERPC_MPC5200B_v21, POWERPC_SVR_5200B_v21, G2LE)
461 /* e200 family */
462 #if defined(TODO)
463 POWERPC_DEF_SVR("MPC55xx", "Generic MPC55xx core",
464 CPU_POWERPC_MPC55xx, POWERPC_SVR_55xx, e200)
465 #endif
466 #if defined(TODO)
467 POWERPC_DEF("e200z0", CPU_POWERPC_e200z0, e200,
468 "PowerPC e200z0 core")
469 #endif
470 #if defined(TODO)
471 POWERPC_DEF("e200z1", CPU_POWERPC_e200z1, e200,
472 "PowerPC e200z1 core")
473 #endif
474 #if defined(TODO)
475 POWERPC_DEF("e200z3", CPU_POWERPC_e200z3, e200,
476 "PowerPC e200z3 core")
477 #endif
478 POWERPC_DEF("e200z5", CPU_POWERPC_e200z5, e200,
479 "PowerPC e200z5 core")
480 POWERPC_DEF("e200z6", CPU_POWERPC_e200z6, e200,
481 "PowerPC e200z6 core")
482 /* PowerPC e200 microcontrollers */
483 #if defined(TODO)
484 POWERPC_DEF_SVR("MPC5514E", "MPC5514E",
485 CPU_POWERPC_MPC5514E, POWERPC_SVR_5514E, e200)
486 #endif
487 #if defined(TODO)
488 POWERPC_DEF_SVR("MPC5514E_v0", "MPC5514E v0",
489 CPU_POWERPC_MPC5514E_v0, POWERPC_SVR_5514E_v0, e200)
490 #endif
491 #if defined(TODO)
492 POWERPC_DEF_SVR("MPC5514E_v1", "MPC5514E v1",
493 CPU_POWERPC_MPC5514E_v1, POWERPC_SVR_5514E_v1, e200)
494 #endif
495 #if defined(TODO)
496 POWERPC_DEF_SVR("MPC5514G", "MPC5514G",
497 CPU_POWERPC_MPC5514G, POWERPC_SVR_5514G, e200)
498 #endif
499 #if defined(TODO)
500 POWERPC_DEF_SVR("MPC5514G_v0", "MPC5514G v0",
501 CPU_POWERPC_MPC5514G_v0, POWERPC_SVR_5514G_v0, e200)
502 #endif
503 #if defined(TODO)
504 POWERPC_DEF_SVR("MPC5514G_v1", "MPC5514G v1",
505 CPU_POWERPC_MPC5514G_v1, POWERPC_SVR_5514G_v1, e200)
506 #endif
507 #if defined(TODO)
508 POWERPC_DEF_SVR("MPC5515S", "MPC5515S",
509 CPU_POWERPC_MPC5515S, POWERPC_SVR_5515S, e200)
510 #endif
511 #if defined(TODO)
512 POWERPC_DEF_SVR("MPC5516E", "MPC5516E",
513 CPU_POWERPC_MPC5516E, POWERPC_SVR_5516E, e200)
514 #endif
515 #if defined(TODO)
516 POWERPC_DEF_SVR("MPC5516E_v0", "MPC5516E v0",
517 CPU_POWERPC_MPC5516E_v0, POWERPC_SVR_5516E_v0, e200)
518 #endif
519 #if defined(TODO)
520 POWERPC_DEF_SVR("MPC5516E_v1", "MPC5516E v1",
521 CPU_POWERPC_MPC5516E_v1, POWERPC_SVR_5516E_v1, e200)
522 #endif
523 #if defined(TODO)
524 POWERPC_DEF_SVR("MPC5516G", "MPC5516G",
525 CPU_POWERPC_MPC5516G, POWERPC_SVR_5516G, e200)
526 #endif
527 #if defined(TODO)
528 POWERPC_DEF_SVR("MPC5516G_v0", "MPC5516G v0",
529 CPU_POWERPC_MPC5516G_v0, POWERPC_SVR_5516G_v0, e200)
530 #endif
531 #if defined(TODO)
532 POWERPC_DEF_SVR("MPC5516G_v1", "MPC5516G v1",
533 CPU_POWERPC_MPC5516G_v1, POWERPC_SVR_5516G_v1, e200)
534 #endif
535 #if defined(TODO)
536 POWERPC_DEF_SVR("MPC5516S", "MPC5516S",
537 CPU_POWERPC_MPC5516S, POWERPC_SVR_5516S, e200)
538 #endif
539 #if defined(TODO)
540 POWERPC_DEF_SVR("MPC5533", "MPC5533",
541 CPU_POWERPC_MPC5533, POWERPC_SVR_5533, e200)
542 #endif
543 #if defined(TODO)
544 POWERPC_DEF_SVR("MPC5534", "MPC5534",
545 CPU_POWERPC_MPC5534, POWERPC_SVR_5534, e200)
546 #endif
547 #if defined(TODO)
548 POWERPC_DEF_SVR("MPC5553", "MPC5553",
549 CPU_POWERPC_MPC5553, POWERPC_SVR_5553, e200)
550 #endif
551 #if defined(TODO)
552 POWERPC_DEF_SVR("MPC5554", "MPC5554",
553 CPU_POWERPC_MPC5554, POWERPC_SVR_5554, e200)
554 #endif
555 #if defined(TODO)
556 POWERPC_DEF_SVR("MPC5561", "MPC5561",
557 CPU_POWERPC_MPC5561, POWERPC_SVR_5561, e200)
558 #endif
559 #if defined(TODO)
560 POWERPC_DEF_SVR("MPC5565", "MPC5565",
561 CPU_POWERPC_MPC5565, POWERPC_SVR_5565, e200)
562 #endif
563 #if defined(TODO)
564 POWERPC_DEF_SVR("MPC5566", "MPC5566",
565 CPU_POWERPC_MPC5566, POWERPC_SVR_5566, e200)
566 #endif
567 #if defined(TODO)
568 POWERPC_DEF_SVR("MPC5567", "MPC5567",
569 CPU_POWERPC_MPC5567, POWERPC_SVR_5567, e200)
570 #endif
571 /* e300 family */
572 POWERPC_DEF("e300c1", CPU_POWERPC_e300c1, e300,
573 "PowerPC e300c1 core")
574 POWERPC_DEF("e300c2", CPU_POWERPC_e300c2, e300,
575 "PowerPC e300c2 core")
576 POWERPC_DEF("e300c3", CPU_POWERPC_e300c3, e300,
577 "PowerPC e300c3 core")
578 POWERPC_DEF("e300c4", CPU_POWERPC_e300c4, e300,
579 "PowerPC e300c4 core")
580 /* PowerPC e300 microcontrollers */
581 #if defined(TODO)
582 POWERPC_DEF_SVR("MPC8313", "MPC8313",
583 CPU_POWERPC_MPC831x, POWERPC_SVR_8313, e300)
584 #endif
585 #if defined(TODO)
586 POWERPC_DEF_SVR("MPC8313E", "MPC8313E",
587 CPU_POWERPC_MPC831x, POWERPC_SVR_8313E, e300)
588 #endif
589 #if defined(TODO)
590 POWERPC_DEF_SVR("MPC8314", "MPC8314",
591 CPU_POWERPC_MPC831x, POWERPC_SVR_8314, e300)
592 #endif
593 #if defined(TODO)
594 POWERPC_DEF_SVR("MPC8314E", "MPC8314E",
595 CPU_POWERPC_MPC831x, POWERPC_SVR_8314E, e300)
596 #endif
597 #if defined(TODO)
598 POWERPC_DEF_SVR("MPC8315", "MPC8315",
599 CPU_POWERPC_MPC831x, POWERPC_SVR_8315, e300)
600 #endif
601 #if defined(TODO)
602 POWERPC_DEF_SVR("MPC8315E", "MPC8315E",
603 CPU_POWERPC_MPC831x, POWERPC_SVR_8315E, e300)
604 #endif
605 #if defined(TODO)
606 POWERPC_DEF_SVR("MPC8321", "MPC8321",
607 CPU_POWERPC_MPC832x, POWERPC_SVR_8321, e300)
608 #endif
609 #if defined(TODO)
610 POWERPC_DEF_SVR("MPC8321E", "MPC8321E",
611 CPU_POWERPC_MPC832x, POWERPC_SVR_8321E, e300)
612 #endif
613 #if defined(TODO)
614 POWERPC_DEF_SVR("MPC8323", "MPC8323",
615 CPU_POWERPC_MPC832x, POWERPC_SVR_8323, e300)
616 #endif
617 #if defined(TODO)
618 POWERPC_DEF_SVR("MPC8323E", "MPC8323E",
619 CPU_POWERPC_MPC832x, POWERPC_SVR_8323E, e300)
620 #endif
621 POWERPC_DEF_SVR("MPC8343", "MPC8343",
622 CPU_POWERPC_MPC834x, POWERPC_SVR_8343, e300)
623 POWERPC_DEF_SVR("MPC8343A", "MPC8343A",
624 CPU_POWERPC_MPC834x, POWERPC_SVR_8343A, e300)
625 POWERPC_DEF_SVR("MPC8343E", "MPC8343E",
626 CPU_POWERPC_MPC834x, POWERPC_SVR_8343E, e300)
627 POWERPC_DEF_SVR("MPC8343EA", "MPC8343EA",
628 CPU_POWERPC_MPC834x, POWERPC_SVR_8343EA, e300)
629 POWERPC_DEF_SVR("MPC8347T", "MPC8347T",
630 CPU_POWERPC_MPC834x, POWERPC_SVR_8347T, e300)
631 POWERPC_DEF_SVR("MPC8347P", "MPC8347P",
632 CPU_POWERPC_MPC834x, POWERPC_SVR_8347P, e300)
633 POWERPC_DEF_SVR("MPC8347AT", "MPC8347AT",
634 CPU_POWERPC_MPC834x, POWERPC_SVR_8347AT, e300)
635 POWERPC_DEF_SVR("MPC8347AP", "MPC8347AP",
636 CPU_POWERPC_MPC834x, POWERPC_SVR_8347AP, e300)
637 POWERPC_DEF_SVR("MPC8347ET", "MPC8347ET",
638 CPU_POWERPC_MPC834x, POWERPC_SVR_8347ET, e300)
639 POWERPC_DEF_SVR("MPC8347EP", "MPC8343EP",
640 CPU_POWERPC_MPC834x, POWERPC_SVR_8347EP, e300)
641 POWERPC_DEF_SVR("MPC8347EAT", "MPC8347EAT",
642 CPU_POWERPC_MPC834x, POWERPC_SVR_8347EAT, e300)
643 POWERPC_DEF_SVR("MPC8347EAP", "MPC8343EAP",
644 CPU_POWERPC_MPC834x, POWERPC_SVR_8347EAP, e300)
645 POWERPC_DEF_SVR("MPC8349", "MPC8349",
646 CPU_POWERPC_MPC834x, POWERPC_SVR_8349, e300)
647 POWERPC_DEF_SVR("MPC8349A", "MPC8349A",
648 CPU_POWERPC_MPC834x, POWERPC_SVR_8349A, e300)
649 POWERPC_DEF_SVR("MPC8349E", "MPC8349E",
650 CPU_POWERPC_MPC834x, POWERPC_SVR_8349E, e300)
651 POWERPC_DEF_SVR("MPC8349EA", "MPC8349EA",
652 CPU_POWERPC_MPC834x, POWERPC_SVR_8349EA, e300)
653 #if defined(TODO)
654 POWERPC_DEF_SVR("MPC8358E", "MPC8358E",
655 CPU_POWERPC_MPC835x, POWERPC_SVR_8358E, e300)
656 #endif
657 #if defined(TODO)
658 POWERPC_DEF_SVR("MPC8360E", "MPC8360E",
659 CPU_POWERPC_MPC836x, POWERPC_SVR_8360E, e300)
660 #endif
661 POWERPC_DEF_SVR("MPC8377", "MPC8377",
662 CPU_POWERPC_MPC837x, POWERPC_SVR_8377, e300)
663 POWERPC_DEF_SVR("MPC8377E", "MPC8377E",
664 CPU_POWERPC_MPC837x, POWERPC_SVR_8377E, e300)
665 POWERPC_DEF_SVR("MPC8378", "MPC8378",
666 CPU_POWERPC_MPC837x, POWERPC_SVR_8378, e300)
667 POWERPC_DEF_SVR("MPC8378E", "MPC8378E",
668 CPU_POWERPC_MPC837x, POWERPC_SVR_8378E, e300)
669 POWERPC_DEF_SVR("MPC8379", "MPC8379",
670 CPU_POWERPC_MPC837x, POWERPC_SVR_8379, e300)
671 POWERPC_DEF_SVR("MPC8379E", "MPC8379E",
672 CPU_POWERPC_MPC837x, POWERPC_SVR_8379E, e300)
673 /* e500 family */
674 POWERPC_DEF("e500_v10", CPU_POWERPC_e500v1_v10, e500v1,
675 "PowerPC e500 v1.0 core")
676 POWERPC_DEF("e500_v20", CPU_POWERPC_e500v1_v20, e500v1,
677 "PowerPC e500 v2.0 core")
678 POWERPC_DEF("e500v2_v10", CPU_POWERPC_e500v2_v10, e500v2,
679 "PowerPC e500v2 v1.0 core")
680 POWERPC_DEF("e500v2_v20", CPU_POWERPC_e500v2_v20, e500v2,
681 "PowerPC e500v2 v2.0 core")
682 POWERPC_DEF("e500v2_v21", CPU_POWERPC_e500v2_v21, e500v2,
683 "PowerPC e500v2 v2.1 core")
684 POWERPC_DEF("e500v2_v22", CPU_POWERPC_e500v2_v22, e500v2,
685 "PowerPC e500v2 v2.2 core")
686 POWERPC_DEF("e500v2_v30", CPU_POWERPC_e500v2_v30, e500v2,
687 "PowerPC e500v2 v3.0 core")
688 POWERPC_DEF_SVR("e500mc", "e500mc",
689 CPU_POWERPC_e500mc, POWERPC_SVR_E500, e500mc)
690 #ifdef TARGET_PPC64
691 POWERPC_DEF_SVR("e5500", "e5500",
692 CPU_POWERPC_e5500, POWERPC_SVR_E500, e5500)
693 #endif
694 /* PowerPC e500 microcontrollers */
695 POWERPC_DEF_SVR("MPC8533_v10", "MPC8533 v1.0",
696 CPU_POWERPC_MPC8533_v10, POWERPC_SVR_8533_v10, e500v2)
697 POWERPC_DEF_SVR("MPC8533_v11", "MPC8533 v1.1",
698 CPU_POWERPC_MPC8533_v11, POWERPC_SVR_8533_v11, e500v2)
699 POWERPC_DEF_SVR("MPC8533E_v10", "MPC8533E v1.0",
700 CPU_POWERPC_MPC8533E_v10, POWERPC_SVR_8533E_v10, e500v2)
701 POWERPC_DEF_SVR("MPC8533E_v11", "MPC8533E v1.1",
702 CPU_POWERPC_MPC8533E_v11, POWERPC_SVR_8533E_v11, e500v2)
703 POWERPC_DEF_SVR("MPC8540_v10", "MPC8540 v1.0",
704 CPU_POWERPC_MPC8540_v10, POWERPC_SVR_8540_v10, e500v1)
705 POWERPC_DEF_SVR("MPC8540_v20", "MPC8540 v2.0",
706 CPU_POWERPC_MPC8540_v20, POWERPC_SVR_8540_v20, e500v1)
707 POWERPC_DEF_SVR("MPC8540_v21", "MPC8540 v2.1",
708 CPU_POWERPC_MPC8540_v21, POWERPC_SVR_8540_v21, e500v1)
709 POWERPC_DEF_SVR("MPC8541_v10", "MPC8541 v1.0",
710 CPU_POWERPC_MPC8541_v10, POWERPC_SVR_8541_v10, e500v1)
711 POWERPC_DEF_SVR("MPC8541_v11", "MPC8541 v1.1",
712 CPU_POWERPC_MPC8541_v11, POWERPC_SVR_8541_v11, e500v1)
713 POWERPC_DEF_SVR("MPC8541E_v10", "MPC8541E v1.0",
714 CPU_POWERPC_MPC8541E_v10, POWERPC_SVR_8541E_v10, e500v1)
715 POWERPC_DEF_SVR("MPC8541E_v11", "MPC8541E v1.1",
716 CPU_POWERPC_MPC8541E_v11, POWERPC_SVR_8541E_v11, e500v1)
717 POWERPC_DEF_SVR("MPC8543_v10", "MPC8543 v1.0",
718 CPU_POWERPC_MPC8543_v10, POWERPC_SVR_8543_v10, e500v2)
719 POWERPC_DEF_SVR("MPC8543_v11", "MPC8543 v1.1",
720 CPU_POWERPC_MPC8543_v11, POWERPC_SVR_8543_v11, e500v2)
721 POWERPC_DEF_SVR("MPC8543_v20", "MPC8543 v2.0",
722 CPU_POWERPC_MPC8543_v20, POWERPC_SVR_8543_v20, e500v2)
723 POWERPC_DEF_SVR("MPC8543_v21", "MPC8543 v2.1",
724 CPU_POWERPC_MPC8543_v21, POWERPC_SVR_8543_v21, e500v2)
725 POWERPC_DEF_SVR("MPC8543E_v10", "MPC8543E v1.0",
726 CPU_POWERPC_MPC8543E_v10, POWERPC_SVR_8543E_v10, e500v2)
727 POWERPC_DEF_SVR("MPC8543E_v11", "MPC8543E v1.1",
728 CPU_POWERPC_MPC8543E_v11, POWERPC_SVR_8543E_v11, e500v2)
729 POWERPC_DEF_SVR("MPC8543E_v20", "MPC8543E v2.0",
730 CPU_POWERPC_MPC8543E_v20, POWERPC_SVR_8543E_v20, e500v2)
731 POWERPC_DEF_SVR("MPC8543E_v21", "MPC8543E v2.1",
732 CPU_POWERPC_MPC8543E_v21, POWERPC_SVR_8543E_v21, e500v2)
733 POWERPC_DEF_SVR("MPC8544_v10", "MPC8544 v1.0",
734 CPU_POWERPC_MPC8544_v10, POWERPC_SVR_8544_v10, e500v2)
735 POWERPC_DEF_SVR("MPC8544_v11", "MPC8544 v1.1",
736 CPU_POWERPC_MPC8544_v11, POWERPC_SVR_8544_v11, e500v2)
737 POWERPC_DEF_SVR("MPC8544E_v10", "MPC8544E v1.0",
738 CPU_POWERPC_MPC8544E_v10, POWERPC_SVR_8544E_v10, e500v2)
739 POWERPC_DEF_SVR("MPC8544E_v11", "MPC8544E v1.1",
740 CPU_POWERPC_MPC8544E_v11, POWERPC_SVR_8544E_v11, e500v2)
741 POWERPC_DEF_SVR("MPC8545_v20", "MPC8545 v2.0",
742 CPU_POWERPC_MPC8545_v20, POWERPC_SVR_8545_v20, e500v2)
743 POWERPC_DEF_SVR("MPC8545_v21", "MPC8545 v2.1",
744 CPU_POWERPC_MPC8545_v21, POWERPC_SVR_8545_v21, e500v2)
745 POWERPC_DEF_SVR("MPC8545E_v20", "MPC8545E v2.0",
746 CPU_POWERPC_MPC8545E_v20, POWERPC_SVR_8545E_v20, e500v2)
747 POWERPC_DEF_SVR("MPC8545E_v21", "MPC8545E v2.1",
748 CPU_POWERPC_MPC8545E_v21, POWERPC_SVR_8545E_v21, e500v2)
749 POWERPC_DEF_SVR("MPC8547E_v20", "MPC8547E v2.0",
750 CPU_POWERPC_MPC8547E_v20, POWERPC_SVR_8547E_v20, e500v2)
751 POWERPC_DEF_SVR("MPC8547E_v21", "MPC8547E v2.1",
752 CPU_POWERPC_MPC8547E_v21, POWERPC_SVR_8547E_v21, e500v2)
753 POWERPC_DEF_SVR("MPC8548_v10", "MPC8548 v1.0",
754 CPU_POWERPC_MPC8548_v10, POWERPC_SVR_8548_v10, e500v2)
755 POWERPC_DEF_SVR("MPC8548_v11", "MPC8548 v1.1",
756 CPU_POWERPC_MPC8548_v11, POWERPC_SVR_8548_v11, e500v2)
757 POWERPC_DEF_SVR("MPC8548_v20", "MPC8548 v2.0",
758 CPU_POWERPC_MPC8548_v20, POWERPC_SVR_8548_v20, e500v2)
759 POWERPC_DEF_SVR("MPC8548_v21", "MPC8548 v2.1",
760 CPU_POWERPC_MPC8548_v21, POWERPC_SVR_8548_v21, e500v2)
761 POWERPC_DEF_SVR("MPC8548E_v10", "MPC8548E v1.0",
762 CPU_POWERPC_MPC8548E_v10, POWERPC_SVR_8548E_v10, e500v2)
763 POWERPC_DEF_SVR("MPC8548E_v11", "MPC8548E v1.1",
764 CPU_POWERPC_MPC8548E_v11, POWERPC_SVR_8548E_v11, e500v2)
765 POWERPC_DEF_SVR("MPC8548E_v20", "MPC8548E v2.0",
766 CPU_POWERPC_MPC8548E_v20, POWERPC_SVR_8548E_v20, e500v2)
767 POWERPC_DEF_SVR("MPC8548E_v21", "MPC8548E v2.1",
768 CPU_POWERPC_MPC8548E_v21, POWERPC_SVR_8548E_v21, e500v2)
769 POWERPC_DEF_SVR("MPC8555_v10", "MPC8555 v1.0",
770 CPU_POWERPC_MPC8555_v10, POWERPC_SVR_8555_v10, e500v2)
771 POWERPC_DEF_SVR("MPC8555_v11", "MPC8555 v1.1",
772 CPU_POWERPC_MPC8555_v11, POWERPC_SVR_8555_v11, e500v2)
773 POWERPC_DEF_SVR("MPC8555E_v10", "MPC8555E v1.0",
774 CPU_POWERPC_MPC8555E_v10, POWERPC_SVR_8555E_v10, e500v2)
775 POWERPC_DEF_SVR("MPC8555E_v11", "MPC8555E v1.1",
776 CPU_POWERPC_MPC8555E_v11, POWERPC_SVR_8555E_v11, e500v2)
777 POWERPC_DEF_SVR("MPC8560_v10", "MPC8560 v1.0",
778 CPU_POWERPC_MPC8560_v10, POWERPC_SVR_8560_v10, e500v2)
779 POWERPC_DEF_SVR("MPC8560_v20", "MPC8560 v2.0",
780 CPU_POWERPC_MPC8560_v20, POWERPC_SVR_8560_v20, e500v2)
781 POWERPC_DEF_SVR("MPC8560_v21", "MPC8560 v2.1",
782 CPU_POWERPC_MPC8560_v21, POWERPC_SVR_8560_v21, e500v2)
783 POWERPC_DEF_SVR("MPC8567", "MPC8567",
784 CPU_POWERPC_MPC8567, POWERPC_SVR_8567, e500v2)
785 POWERPC_DEF_SVR("MPC8567E", "MPC8567E",
786 CPU_POWERPC_MPC8567E, POWERPC_SVR_8567E, e500v2)
787 POWERPC_DEF_SVR("MPC8568", "MPC8568",
788 CPU_POWERPC_MPC8568, POWERPC_SVR_8568, e500v2)
789 POWERPC_DEF_SVR("MPC8568E", "MPC8568E",
790 CPU_POWERPC_MPC8568E, POWERPC_SVR_8568E, e500v2)
791 POWERPC_DEF_SVR("MPC8572", "MPC8572",
792 CPU_POWERPC_MPC8572, POWERPC_SVR_8572, e500v2)
793 POWERPC_DEF_SVR("MPC8572E", "MPC8572E",
794 CPU_POWERPC_MPC8572E, POWERPC_SVR_8572E, e500v2)
795 /* e600 family */
796 POWERPC_DEF("e600", CPU_POWERPC_e600, e600,
797 "PowerPC e600 core")
798 /* PowerPC e600 microcontrollers */
799 POWERPC_DEF_SVR("MPC8610", "MPC8610",
800 CPU_POWERPC_MPC8610, POWERPC_SVR_8610, e600)
801 POWERPC_DEF_SVR("MPC8641", "MPC8641",
802 CPU_POWERPC_MPC8641, POWERPC_SVR_8641, e600)
803 POWERPC_DEF_SVR("MPC8641D", "MPC8641D",
804 CPU_POWERPC_MPC8641D, POWERPC_SVR_8641D, e600)
805 /* 32 bits "classic" PowerPC */
806 /* PowerPC 6xx family */
807 POWERPC_DEF("601_v0", CPU_POWERPC_601_v0, 601,
808 "PowerPC 601v0")
809 POWERPC_DEF("601_v1", CPU_POWERPC_601_v1, 601,
810 "PowerPC 601v1")
811 POWERPC_DEF("601_v2", CPU_POWERPC_601_v2, 601v,
812 "PowerPC 601v2")
813 POWERPC_DEF("602", CPU_POWERPC_602, 602,
814 "PowerPC 602")
815 POWERPC_DEF("603", CPU_POWERPC_603, 603,
816 "PowerPC 603")
817 POWERPC_DEF("603e_v1.1", CPU_POWERPC_603E_v11, 603E,
818 "PowerPC 603e v1.1")
819 POWERPC_DEF("603e_v1.2", CPU_POWERPC_603E_v12, 603E,
820 "PowerPC 603e v1.2")
821 POWERPC_DEF("603e_v1.3", CPU_POWERPC_603E_v13, 603E,
822 "PowerPC 603e v1.3")
823 POWERPC_DEF("603e_v1.4", CPU_POWERPC_603E_v14, 603E,
824 "PowerPC 603e v1.4")
825 POWERPC_DEF("603e_v2.2", CPU_POWERPC_603E_v22, 603E,
826 "PowerPC 603e v2.2")
827 POWERPC_DEF("603e_v3", CPU_POWERPC_603E_v3, 603E,
828 "PowerPC 603e v3")
829 POWERPC_DEF("603e_v4", CPU_POWERPC_603E_v4, 603E,
830 "PowerPC 603e v4")
831 POWERPC_DEF("603e_v4.1", CPU_POWERPC_603E_v41, 603E,
832 "PowerPC 603e v4.1")
833 POWERPC_DEF("603e7", CPU_POWERPC_603E7, 603E,
834 "PowerPC 603e (aka PID7)")
835 POWERPC_DEF("603e7t", CPU_POWERPC_603E7t, 603E,
836 "PowerPC 603e7t")
837 POWERPC_DEF("603e7v", CPU_POWERPC_603E7v, 603E,
838 "PowerPC 603e7v")
839 POWERPC_DEF("603e7v1", CPU_POWERPC_603E7v1, 603E,
840 "PowerPC 603e7v1")
841 POWERPC_DEF("603e7v2", CPU_POWERPC_603E7v2, 603E,
842 "PowerPC 603e7v2")
843 POWERPC_DEF("603p", CPU_POWERPC_603P, 603E,
844 "PowerPC 603p (aka PID7v)")
845 POWERPC_DEF("604", CPU_POWERPC_604, 604,
846 "PowerPC 604")
847 POWERPC_DEF("604e_v1.0", CPU_POWERPC_604E_v10, 604E,
848 "PowerPC 604e v1.0")
849 POWERPC_DEF("604e_v2.2", CPU_POWERPC_604E_v22, 604E,
850 "PowerPC 604e v2.2")
851 POWERPC_DEF("604e_v2.4", CPU_POWERPC_604E_v24, 604E,
852 "PowerPC 604e v2.4")
853 POWERPC_DEF("604r", CPU_POWERPC_604R, 604E,
854 "PowerPC 604r (aka PIDA)")
855 #if defined(TODO)
856 POWERPC_DEF("604ev", CPU_POWERPC_604EV, 604E,
857 "PowerPC 604ev")
858 #endif
859 /* PowerPC 7xx family */
860 POWERPC_DEF("740_v1.0", CPU_POWERPC_7x0_v10, 740,
861 "PowerPC 740 v1.0 (G3)")
862 POWERPC_DEF("750_v1.0", CPU_POWERPC_7x0_v10, 750,
863 "PowerPC 750 v1.0 (G3)")
864 POWERPC_DEF("740_v2.0", CPU_POWERPC_7x0_v20, 740,
865 "PowerPC 740 v2.0 (G3)")
866 POWERPC_DEF("750_v2.0", CPU_POWERPC_7x0_v20, 750,
867 "PowerPC 750 v2.0 (G3)")
868 POWERPC_DEF("740_v2.1", CPU_POWERPC_7x0_v21, 740,
869 "PowerPC 740 v2.1 (G3)")
870 POWERPC_DEF("750_v2.1", CPU_POWERPC_7x0_v21, 750,
871 "PowerPC 750 v2.1 (G3)")
872 POWERPC_DEF("740_v2.2", CPU_POWERPC_7x0_v22, 740,
873 "PowerPC 740 v2.2 (G3)")
874 POWERPC_DEF("750_v2.2", CPU_POWERPC_7x0_v22, 750,
875 "PowerPC 750 v2.2 (G3)")
876 POWERPC_DEF("740_v3.0", CPU_POWERPC_7x0_v30, 740,
877 "PowerPC 740 v3.0 (G3)")
878 POWERPC_DEF("750_v3.0", CPU_POWERPC_7x0_v30, 750,
879 "PowerPC 750 v3.0 (G3)")
880 POWERPC_DEF("740_v3.1", CPU_POWERPC_7x0_v31, 740,
881 "PowerPC 740 v3.1 (G3)")
882 POWERPC_DEF("750_v3.1", CPU_POWERPC_7x0_v31, 750,
883 "PowerPC 750 v3.1 (G3)")
884 POWERPC_DEF("740e", CPU_POWERPC_740E, 740,
885 "PowerPC 740E (G3)")
886 POWERPC_DEF("750e", CPU_POWERPC_750E, 750,
887 "PowerPC 750E (G3)")
888 POWERPC_DEF("740p", CPU_POWERPC_7x0P, 740,
889 "PowerPC 740P (G3)")
890 POWERPC_DEF("750p", CPU_POWERPC_7x0P, 750,
891 "PowerPC 750P (G3)")
892 POWERPC_DEF("750cl_v1.0", CPU_POWERPC_750CL_v10, 750cl,
893 "PowerPC 750CL v1.0")
894 POWERPC_DEF("750cl_v2.0", CPU_POWERPC_750CL_v20, 750cl,
895 "PowerPC 750CL v2.0")
896 POWERPC_DEF("750cx_v1.0", CPU_POWERPC_750CX_v10, 750cx,
897 "PowerPC 750CX v1.0 (G3 embedded)")
898 POWERPC_DEF("750cx_v2.0", CPU_POWERPC_750CX_v20, 750cx,
899 "PowerPC 750CX v2.1 (G3 embedded)")
900 POWERPC_DEF("750cx_v2.1", CPU_POWERPC_750CX_v21, 750cx,
901 "PowerPC 750CX v2.1 (G3 embedded)")
902 POWERPC_DEF("750cx_v2.2", CPU_POWERPC_750CX_v22, 750cx,
903 "PowerPC 750CX v2.2 (G3 embedded)")
904 POWERPC_DEF("750cxe_v2.1", CPU_POWERPC_750CXE_v21, 750cx,
905 "PowerPC 750CXe v2.1 (G3 embedded)")
906 POWERPC_DEF("750cxe_v2.2", CPU_POWERPC_750CXE_v22, 750cx,
907 "PowerPC 750CXe v2.2 (G3 embedded)")
908 POWERPC_DEF("750cxe_v2.3", CPU_POWERPC_750CXE_v23, 750cx,
909 "PowerPC 750CXe v2.3 (G3 embedded)")
910 POWERPC_DEF("750cxe_v2.4", CPU_POWERPC_750CXE_v24, 750cx,
911 "PowerPC 750CXe v2.4 (G3 embedded)")
912 POWERPC_DEF("750cxe_v2.4b", CPU_POWERPC_750CXE_v24b, 750cx,
913 "PowerPC 750CXe v2.4b (G3 embedded)")
914 POWERPC_DEF("750cxe_v3.0", CPU_POWERPC_750CXE_v30, 750cx,
915 "PowerPC 750CXe v3.0 (G3 embedded)")
916 POWERPC_DEF("750cxe_v3.1", CPU_POWERPC_750CXE_v31, 750cx,
917 "PowerPC 750CXe v3.1 (G3 embedded)")
918 POWERPC_DEF("750cxe_v3.1b", CPU_POWERPC_750CXE_v31b, 750cx,
919 "PowerPC 750CXe v3.1b (G3 embedded)")
920 POWERPC_DEF("750cxr", CPU_POWERPC_750CXR, 750cx,
921 "PowerPC 750CXr (G3 embedded)")
922 POWERPC_DEF("750fl", CPU_POWERPC_750FL, 750fx,
923 "PowerPC 750FL (G3 embedded)")
924 POWERPC_DEF("750fx_v1.0", CPU_POWERPC_750FX_v10, 750fx,
925 "PowerPC 750FX v1.0 (G3 embedded)")
926 POWERPC_DEF("750fx_v2.0", CPU_POWERPC_750FX_v20, 750fx,
927 "PowerPC 750FX v2.0 (G3 embedded)")
928 POWERPC_DEF("750fx_v2.1", CPU_POWERPC_750FX_v21, 750fx,
929 "PowerPC 750FX v2.1 (G3 embedded)")
930 POWERPC_DEF("750fx_v2.2", CPU_POWERPC_750FX_v22, 750fx,
931 "PowerPC 750FX v2.2 (G3 embedded)")
932 POWERPC_DEF("750fx_v2.3", CPU_POWERPC_750FX_v23, 750fx,
933 "PowerPC 750FX v2.3 (G3 embedded)")
934 POWERPC_DEF("750gl", CPU_POWERPC_750GL, 750gx,
935 "PowerPC 750GL (G3 embedded)")
936 POWERPC_DEF("750gx_v1.0", CPU_POWERPC_750GX_v10, 750gx,
937 "PowerPC 750GX v1.0 (G3 embedded)")
938 POWERPC_DEF("750gx_v1.1", CPU_POWERPC_750GX_v11, 750gx,
939 "PowerPC 750GX v1.1 (G3 embedded)")
940 POWERPC_DEF("750gx_v1.2", CPU_POWERPC_750GX_v12, 750gx,
941 "PowerPC 750GX v1.2 (G3 embedded)")
942 POWERPC_DEF("750l_v2.0", CPU_POWERPC_750L_v20, 750,
943 "PowerPC 750L v2.0 (G3 embedded)")
944 POWERPC_DEF("750l_v2.1", CPU_POWERPC_750L_v21, 750,
945 "PowerPC 750L v2.1 (G3 embedded)")
946 POWERPC_DEF("750l_v2.2", CPU_POWERPC_750L_v22, 750,
947 "PowerPC 750L v2.2 (G3 embedded)")
948 POWERPC_DEF("750l_v3.0", CPU_POWERPC_750L_v30, 750,
949 "PowerPC 750L v3.0 (G3 embedded)")
950 POWERPC_DEF("750l_v3.2", CPU_POWERPC_750L_v32, 750,
951 "PowerPC 750L v3.2 (G3 embedded)")
952 POWERPC_DEF("745_v1.0", CPU_POWERPC_7x5_v10, 745,
953 "PowerPC 745 v1.0")
954 POWERPC_DEF("755_v1.0", CPU_POWERPC_7x5_v10, 755,
955 "PowerPC 755 v1.0")
956 POWERPC_DEF("745_v1.1", CPU_POWERPC_7x5_v11, 745,
957 "PowerPC 745 v1.1")
958 POWERPC_DEF("755_v1.1", CPU_POWERPC_7x5_v11, 755,
959 "PowerPC 755 v1.1")
960 POWERPC_DEF("745_v2.0", CPU_POWERPC_7x5_v20, 745,
961 "PowerPC 745 v2.0")
962 POWERPC_DEF("755_v2.0", CPU_POWERPC_7x5_v20, 755,
963 "PowerPC 755 v2.0")
964 POWERPC_DEF("745_v2.1", CPU_POWERPC_7x5_v21, 745,
965 "PowerPC 745 v2.1")
966 POWERPC_DEF("755_v2.1", CPU_POWERPC_7x5_v21, 755,
967 "PowerPC 755 v2.1")
968 POWERPC_DEF("745_v2.2", CPU_POWERPC_7x5_v22, 745,
969 "PowerPC 745 v2.2")
970 POWERPC_DEF("755_v2.2", CPU_POWERPC_7x5_v22, 755,
971 "PowerPC 755 v2.2")
972 POWERPC_DEF("745_v2.3", CPU_POWERPC_7x5_v23, 745,
973 "PowerPC 745 v2.3")
974 POWERPC_DEF("755_v2.3", CPU_POWERPC_7x5_v23, 755,
975 "PowerPC 755 v2.3")
976 POWERPC_DEF("745_v2.4", CPU_POWERPC_7x5_v24, 745,
977 "PowerPC 745 v2.4")
978 POWERPC_DEF("755_v2.4", CPU_POWERPC_7x5_v24, 755,
979 "PowerPC 755 v2.4")
980 POWERPC_DEF("745_v2.5", CPU_POWERPC_7x5_v25, 745,
981 "PowerPC 745 v2.5")
982 POWERPC_DEF("755_v2.5", CPU_POWERPC_7x5_v25, 755,
983 "PowerPC 755 v2.5")
984 POWERPC_DEF("745_v2.6", CPU_POWERPC_7x5_v26, 745,
985 "PowerPC 745 v2.6")
986 POWERPC_DEF("755_v2.6", CPU_POWERPC_7x5_v26, 755,
987 "PowerPC 755 v2.6")
988 POWERPC_DEF("745_v2.7", CPU_POWERPC_7x5_v27, 745,
989 "PowerPC 745 v2.7")
990 POWERPC_DEF("755_v2.7", CPU_POWERPC_7x5_v27, 755,
991 "PowerPC 755 v2.7")
992 POWERPC_DEF("745_v2.8", CPU_POWERPC_7x5_v28, 745,
993 "PowerPC 745 v2.8")
994 POWERPC_DEF("755_v2.8", CPU_POWERPC_7x5_v28, 755,
995 "PowerPC 755 v2.8")
996 #if defined(TODO)
997 POWERPC_DEF("745p", CPU_POWERPC_7x5P, 745,
998 "PowerPC 745P (G3)")
999 POWERPC_DEF("755p", CPU_POWERPC_7x5P, 755,
1000 "PowerPC 755P (G3)")
1001 #endif
1002 /* PowerPC 74xx family */
1003 POWERPC_DEF("7400_v1.0", CPU_POWERPC_7400_v10, 7400,
1004 "PowerPC 7400 v1.0 (G4)")
1005 POWERPC_DEF("7400_v1.1", CPU_POWERPC_7400_v11, 7400,
1006 "PowerPC 7400 v1.1 (G4)")
1007 POWERPC_DEF("7400_v2.0", CPU_POWERPC_7400_v20, 7400,
1008 "PowerPC 7400 v2.0 (G4)")
1009 POWERPC_DEF("7400_v2.1", CPU_POWERPC_7400_v21, 7400,
1010 "PowerPC 7400 v2.1 (G4)")
1011 POWERPC_DEF("7400_v2.2", CPU_POWERPC_7400_v22, 7400,
1012 "PowerPC 7400 v2.2 (G4)")
1013 POWERPC_DEF("7400_v2.6", CPU_POWERPC_7400_v26, 7400,
1014 "PowerPC 7400 v2.6 (G4)")
1015 POWERPC_DEF("7400_v2.7", CPU_POWERPC_7400_v27, 7400,
1016 "PowerPC 7400 v2.7 (G4)")
1017 POWERPC_DEF("7400_v2.8", CPU_POWERPC_7400_v28, 7400,
1018 "PowerPC 7400 v2.8 (G4)")
1019 POWERPC_DEF("7400_v2.9", CPU_POWERPC_7400_v29, 7400,
1020 "PowerPC 7400 v2.9 (G4)")
1021 POWERPC_DEF("7410_v1.0", CPU_POWERPC_7410_v10, 7410,
1022 "PowerPC 7410 v1.0 (G4)")
1023 POWERPC_DEF("7410_v1.1", CPU_POWERPC_7410_v11, 7410,
1024 "PowerPC 7410 v1.1 (G4)")
1025 POWERPC_DEF("7410_v1.2", CPU_POWERPC_7410_v12, 7410,
1026 "PowerPC 7410 v1.2 (G4)")
1027 POWERPC_DEF("7410_v1.3", CPU_POWERPC_7410_v13, 7410,
1028 "PowerPC 7410 v1.3 (G4)")
1029 POWERPC_DEF("7410_v1.4", CPU_POWERPC_7410_v14, 7410,
1030 "PowerPC 7410 v1.4 (G4)")
1031 POWERPC_DEF("7448_v1.0", CPU_POWERPC_7448_v10, 7400,
1032 "PowerPC 7448 v1.0 (G4)")
1033 POWERPC_DEF("7448_v1.1", CPU_POWERPC_7448_v11, 7400,
1034 "PowerPC 7448 v1.1 (G4)")
1035 POWERPC_DEF("7448_v2.0", CPU_POWERPC_7448_v20, 7400,
1036 "PowerPC 7448 v2.0 (G4)")
1037 POWERPC_DEF("7448_v2.1", CPU_POWERPC_7448_v21, 7400,
1038 "PowerPC 7448 v2.1 (G4)")
1039 POWERPC_DEF("7450_v1.0", CPU_POWERPC_7450_v10, 7450,
1040 "PowerPC 7450 v1.0 (G4)")
1041 POWERPC_DEF("7450_v1.1", CPU_POWERPC_7450_v11, 7450,
1042 "PowerPC 7450 v1.1 (G4)")
1043 POWERPC_DEF("7450_v1.2", CPU_POWERPC_7450_v12, 7450,
1044 "PowerPC 7450 v1.2 (G4)")
1045 POWERPC_DEF("7450_v2.0", CPU_POWERPC_7450_v20, 7450,
1046 "PowerPC 7450 v2.0 (G4)")
1047 POWERPC_DEF("7450_v2.1", CPU_POWERPC_7450_v21, 7450,
1048 "PowerPC 7450 v2.1 (G4)")
1049 POWERPC_DEF("7441_v2.1", CPU_POWERPC_7450_v21, 7440,
1050 "PowerPC 7441 v2.1 (G4)")
1051 POWERPC_DEF("7441_v2.3", CPU_POWERPC_74x1_v23, 7440,
1052 "PowerPC 7441 v2.3 (G4)")
1053 POWERPC_DEF("7451_v2.3", CPU_POWERPC_74x1_v23, 7450,
1054 "PowerPC 7451 v2.3 (G4)")
1055 POWERPC_DEF("7441_v2.10", CPU_POWERPC_74x1_v210, 7440,
1056 "PowerPC 7441 v2.10 (G4)")
1057 POWERPC_DEF("7451_v2.10", CPU_POWERPC_74x1_v210, 7450,
1058 "PowerPC 7451 v2.10 (G4)")
1059 POWERPC_DEF("7445_v1.0", CPU_POWERPC_74x5_v10, 7445,
1060 "PowerPC 7445 v1.0 (G4)")
1061 POWERPC_DEF("7455_v1.0", CPU_POWERPC_74x5_v10, 7455,
1062 "PowerPC 7455 v1.0 (G4)")
1063 POWERPC_DEF("7445_v2.1", CPU_POWERPC_74x5_v21, 7445,
1064 "PowerPC 7445 v2.1 (G4)")
1065 POWERPC_DEF("7455_v2.1", CPU_POWERPC_74x5_v21, 7455,
1066 "PowerPC 7455 v2.1 (G4)")
1067 POWERPC_DEF("7445_v3.2", CPU_POWERPC_74x5_v32, 7445,
1068 "PowerPC 7445 v3.2 (G4)")
1069 POWERPC_DEF("7455_v3.2", CPU_POWERPC_74x5_v32, 7455,
1070 "PowerPC 7455 v3.2 (G4)")
1071 POWERPC_DEF("7445_v3.3", CPU_POWERPC_74x5_v33, 7445,
1072 "PowerPC 7445 v3.3 (G4)")
1073 POWERPC_DEF("7455_v3.3", CPU_POWERPC_74x5_v33, 7455,
1074 "PowerPC 7455 v3.3 (G4)")
1075 POWERPC_DEF("7445_v3.4", CPU_POWERPC_74x5_v34, 7445,
1076 "PowerPC 7445 v3.4 (G4)")
1077 POWERPC_DEF("7455_v3.4", CPU_POWERPC_74x5_v34, 7455,
1078 "PowerPC 7455 v3.4 (G4)")
1079 POWERPC_DEF("7447_v1.0", CPU_POWERPC_74x7_v10, 7445,
1080 "PowerPC 7447 v1.0 (G4)")
1081 POWERPC_DEF("7457_v1.0", CPU_POWERPC_74x7_v10, 7455,
1082 "PowerPC 7457 v1.0 (G4)")
1083 POWERPC_DEF("7447_v1.1", CPU_POWERPC_74x7_v11, 7445,
1084 "PowerPC 7447 v1.1 (G4)")
1085 POWERPC_DEF("7457_v1.1", CPU_POWERPC_74x7_v11, 7455,
1086 "PowerPC 7457 v1.1 (G4)")
1087 POWERPC_DEF("7457_v1.2", CPU_POWERPC_74x7_v12, 7455,
1088 "PowerPC 7457 v1.2 (G4)")
1089 POWERPC_DEF("7447A_v1.0", CPU_POWERPC_74x7A_v10, 7445,
1090 "PowerPC 7447A v1.0 (G4)")
1091 POWERPC_DEF("7457A_v1.0", CPU_POWERPC_74x7A_v10, 7455,
1092 "PowerPC 7457A v1.0 (G4)")
1093 POWERPC_DEF("7447A_v1.1", CPU_POWERPC_74x7A_v11, 7445,
1094 "PowerPC 7447A v1.1 (G4)")
1095 POWERPC_DEF("7457A_v1.1", CPU_POWERPC_74x7A_v11, 7455,
1096 "PowerPC 7457A v1.1 (G4)")
1097 POWERPC_DEF("7447A_v1.2", CPU_POWERPC_74x7A_v12, 7445,
1098 "PowerPC 7447A v1.2 (G4)")
1099 POWERPC_DEF("7457A_v1.2", CPU_POWERPC_74x7A_v12, 7455,
1100 "PowerPC 7457A v1.2 (G4)")
1101 /* 64 bits PowerPC */
1102 #if defined (TARGET_PPC64)
1103 #if defined(TODO)
1104 POWERPC_DEF("620", CPU_POWERPC_620, 620,
1105 "PowerPC 620")
1106 POWERPC_DEF("630", CPU_POWERPC_630, 630,
1107 "PowerPC 630 (POWER3)")
1108 #endif
1109 #if defined(TODO)
1110 POWERPC_DEF("631", CPU_POWERPC_631, 631,
1111 "PowerPC 631 (Power 3+)")
1112 #endif
1113 #if defined(TODO)
1114 POWERPC_DEF("POWER4", CPU_POWERPC_POWER4, POWER4,
1115 "POWER4")
1116 #endif
1117 #if defined(TODO)
1118 POWERPC_DEF("POWER4+", CPU_POWERPC_POWER4P, POWER4P,
1119 "POWER4p")
1120 #endif
1121 #if defined(TODO)
1122 POWERPC_DEF("POWER5", CPU_POWERPC_POWER5, POWER5,
1123 "POWER5")
1124 #endif
1125 POWERPC_DEF("POWER5+", CPU_POWERPC_POWER5P, POWER5P,
1126 "POWER5+")
1127 POWERPC_DEF("POWER5+_v2.1", CPU_POWERPC_POWER5P_v21, POWER5P,
1128 "POWER5+ v2.1")
1129 #if defined(TODO)
1130 POWERPC_DEF("POWER6", CPU_POWERPC_POWER6, POWER6,
1131 "POWER6")
1132 POWERPC_DEF("POWER6_5", CPU_POWERPC_POWER6_5, POWER5,
1133 "POWER6 running in POWER5 mode")
1134 POWERPC_DEF("POWER6A", CPU_POWERPC_POWER6A, POWER6,
1135 "POWER6A")
1136 #endif
1137 POWERPC_DEF("POWER7_v2.0", CPU_POWERPC_POWER7_v20, POWER7,
1138 "POWER7 v2.0")
1139 POWERPC_DEF("POWER7_v2.1", CPU_POWERPC_POWER7_v21, POWER7,
1140 "POWER7 v2.1")
1141 POWERPC_DEF("POWER7_v2.3", CPU_POWERPC_POWER7_v23, POWER7,
1142 "POWER7 v2.3")
1143 POWERPC_DEF("POWER7+_v2.1", CPU_POWERPC_POWER7P_v21, POWER7P,
1144 "POWER7+ v2.1")
1145 POWERPC_DEF("POWER8_v1.0", CPU_POWERPC_POWER8_v10, POWER8,
1146 "POWER8 v1.0")
1147 POWERPC_DEF("970", CPU_POWERPC_970, 970,
1148 "PowerPC 970")
1149 POWERPC_DEF("970fx_v1.0", CPU_POWERPC_970FX_v10, 970FX,
1150 "PowerPC 970FX v1.0 (G5)")
1151 POWERPC_DEF("970fx_v2.0", CPU_POWERPC_970FX_v20, 970FX,
1152 "PowerPC 970FX v2.0 (G5)")
1153 POWERPC_DEF("970fx_v2.1", CPU_POWERPC_970FX_v21, 970FX,
1154 "PowerPC 970FX v2.1 (G5)")
1155 POWERPC_DEF("970fx_v3.0", CPU_POWERPC_970FX_v30, 970FX,
1156 "PowerPC 970FX v3.0 (G5)")
1157 POWERPC_DEF("970fx_v3.1", CPU_POWERPC_970FX_v31, 970FX,
1158 "PowerPC 970FX v3.1 (G5)")
1159 POWERPC_DEF("970gx", CPU_POWERPC_970GX, 970GX,
1160 "PowerPC 970GX (G5)")
1161 POWERPC_DEF("970mp_v1.0", CPU_POWERPC_970MP_v10, 970MP,
1162 "PowerPC 970MP v1.0")
1163 POWERPC_DEF("970mp_v1.1", CPU_POWERPC_970MP_v11, 970MP,
1164 "PowerPC 970MP v1.1")
1165 #if defined(TODO)
1166 POWERPC_DEF("Cell", CPU_POWERPC_CELL, 970,
1167 "PowerPC Cell")
1168 #endif
1169 #if defined(TODO)
1170 POWERPC_DEF("Cell_v1.0", CPU_POWERPC_CELL_v10, 970,
1171 "PowerPC Cell v1.0")
1172 #endif
1173 #if defined(TODO)
1174 POWERPC_DEF("Cell_v2.0", CPU_POWERPC_CELL_v20, 970,
1175 "PowerPC Cell v2.0")
1176 #endif
1177 #if defined(TODO)
1178 POWERPC_DEF("Cell_v3.0", CPU_POWERPC_CELL_v30, 970,
1179 "PowerPC Cell v3.0")
1180 #endif
1181 #if defined(TODO)
1182 POWERPC_DEF("Cell_v3.1", CPU_POWERPC_CELL_v31, 970,
1183 "PowerPC Cell v3.1")
1184 #endif
1185 #if defined(TODO)
1186 POWERPC_DEF("Cell_v3.2", CPU_POWERPC_CELL_v32, 970,
1187 "PowerPC Cell v3.2")
1188 #endif
1189 #if defined(TODO)
1190 /* This one seems to support the whole POWER2 instruction set
1191 * and the PowerPC 64 one.
1193 /* What about A10 & A30 ? */
1194 POWERPC_DEF("RS64", CPU_POWERPC_RS64, RS64,
1195 "RS64 (Apache/A35)")
1196 #endif
1197 #if defined(TODO)
1198 POWERPC_DEF("RS64-II", CPU_POWERPC_RS64II, RS64,
1199 "RS64-II (NorthStar/A50)")
1200 #endif
1201 #if defined(TODO)
1202 POWERPC_DEF("RS64-III", CPU_POWERPC_RS64III, RS64,
1203 "RS64-III (Pulsar)")
1204 #endif
1205 #if defined(TODO)
1206 POWERPC_DEF("RS64-IV", CPU_POWERPC_RS64IV, RS64,
1207 "RS64-IV (IceStar/IStar/SStar)")
1208 #endif
1209 #endif /* defined (TARGET_PPC64) */
1210 /* POWER */
1211 #if defined(TODO)
1212 POWERPC_DEF("POWER", CPU_POWERPC_POWER, POWER,
1213 "Original POWER")
1214 #endif
1215 #if defined(TODO)
1216 POWERPC_DEF("POWER2", CPU_POWERPC_POWER2, POWER,
1217 "POWER2")
1218 #endif
1219 /* PA semi cores */
1220 #if defined(TODO)
1221 POWERPC_DEF("PA6T", CPU_POWERPC_PA6T, PA6T,
1222 "PA PA6T")
1223 #endif
1226 /***************************************************************************/
1227 /* PowerPC CPU aliases */
1229 PowerPCCPUAlias ppc_cpu_aliases[] = {
1230 { "403", "403GC" },
1231 { "405", "405D4" },
1232 { "405CR", "405CRc" },
1233 { "405GP", "405GPd" },
1234 { "405GPe", "405CRc" },
1235 { "x2vp7", "x2vp4" },
1236 { "x2vp50", "x2vp20" },
1238 { "440EP", "440EPb" },
1239 { "440GP", "440GPc" },
1240 { "440GR", "440GRa" },
1241 { "440GX", "440GXf" },
1243 { "RCPU", "MPC5xx" },
1244 /* MPC5xx microcontrollers */
1245 { "MGT560", "MPC5xx" },
1246 { "MPC509", "MPC5xx" },
1247 { "MPC533", "MPC5xx" },
1248 { "MPC534", "MPC5xx" },
1249 { "MPC555", "MPC5xx" },
1250 { "MPC556", "MPC5xx" },
1251 { "MPC560", "MPC5xx" },
1252 { "MPC561", "MPC5xx" },
1253 { "MPC562", "MPC5xx" },
1254 { "MPC563", "MPC5xx" },
1255 { "MPC564", "MPC5xx" },
1256 { "MPC565", "MPC5xx" },
1257 { "MPC566", "MPC5xx" },
1259 { "PowerQUICC", "MPC8xx" },
1260 /* MPC8xx microcontrollers */
1261 { "MGT823", "MPC8xx" },
1262 { "MPC821", "MPC8xx" },
1263 { "MPC823", "MPC8xx" },
1264 { "MPC850", "MPC8xx" },
1265 { "MPC852T", "MPC8xx" },
1266 { "MPC855T", "MPC8xx" },
1267 { "MPC857", "MPC8xx" },
1268 { "MPC859", "MPC8xx" },
1269 { "MPC860", "MPC8xx" },
1270 { "MPC862", "MPC8xx" },
1271 { "MPC866", "MPC8xx" },
1272 { "MPC870", "MPC8xx" },
1273 { "MPC875", "MPC8xx" },
1274 { "MPC880", "MPC8xx" },
1275 { "MPC885", "MPC8xx" },
1277 /* PowerPC MPC603 microcontrollers */
1278 { "MPC8240", "603" },
1280 { "MPC52xx", "MPC5200" },
1281 { "MPC5200", "MPC5200_v12" },
1282 { "MPC5200B", "MPC5200B_v21" },
1284 { "MPC82xx", "MPC8280" },
1285 { "PowerQUICC-II", "MPC82xx" },
1286 { "MPC8241", "G2HiP4" },
1287 { "MPC8245", "G2HiP4" },
1288 { "MPC8247", "G2leGP3" },
1289 { "MPC8248", "G2leGP3" },
1290 { "MPC8250", "MPC8250_HiP4" },
1291 { "MPC8250_HiP3", "G2HiP3" },
1292 { "MPC8250_HiP4", "G2HiP4" },
1293 { "MPC8255", "MPC8255_HiP4" },
1294 { "MPC8255_HiP3", "G2HiP3" },
1295 { "MPC8255_HiP4", "G2HiP4" },
1296 { "MPC8260", "MPC8260_HiP4" },
1297 { "MPC8260_HiP3", "G2HiP3" },
1298 { "MPC8260_HiP4", "G2HiP4" },
1299 { "MPC8264", "MPC8264_HiP4" },
1300 { "MPC8264_HiP3", "G2HiP3" },
1301 { "MPC8264_HiP4", "G2HiP4" },
1302 { "MPC8265", "MPC8265_HiP4" },
1303 { "MPC8265_HiP3", "G2HiP3" },
1304 { "MPC8265_HiP4", "G2HiP4" },
1305 { "MPC8266", "MPC8266_HiP4" },
1306 { "MPC8266_HiP3", "G2HiP3" },
1307 { "MPC8266_HiP4", "G2HiP4" },
1308 { "MPC8270", "G2leGP3" },
1309 { "MPC8271", "G2leGP3" },
1310 { "MPC8272", "G2leGP3" },
1311 { "MPC8275", "G2leGP3" },
1312 { "MPC8280", "G2leGP3" },
1313 { "e200", "e200z6" },
1314 { "e300", "e300c3" },
1315 { "MPC8347", "MPC8347T" },
1316 { "MPC8347A", "MPC8347AT" },
1317 { "MPC8347E", "MPC8347ET" },
1318 { "MPC8347EA", "MPC8347EAT" },
1319 { "e500", "e500v2_v22" },
1320 { "e500v1", "e500_v20" },
1321 { "e500v2", "e500v2_v22" },
1322 { "MPC8533", "MPC8533_v11" },
1323 { "MPC8533E", "MPC8533E_v11" },
1324 { "MPC8540", "MPC8540_v21" },
1325 { "MPC8541", "MPC8541_v11" },
1326 { "MPC8541E", "MPC8541E_v11" },
1327 { "MPC8543", "MPC8543_v21" },
1328 { "MPC8543E", "MPC8543E_v21" },
1329 { "MPC8544", "MPC8544_v11" },
1330 { "MPC8544E", "MPC8544E_v11" },
1331 { "MPC8545", "MPC8545_v21" },
1332 { "MPC8545E", "MPC8545E_v21" },
1333 { "MPC8547E", "MPC8547E_v21" },
1334 { "MPC8548", "MPC8548_v21" },
1335 { "MPC8548E", "MPC8548E_v21" },
1336 { "MPC8555", "MPC8555_v11" },
1337 { "MPC8555E", "MPC8555E_v11" },
1338 { "MPC8560", "MPC8560_v21" },
1339 { "601", "601_v2" },
1340 { "601v", "601_v2" },
1341 { "Vanilla", "603" },
1342 { "603e", "603e_v4.1" },
1343 { "Stretch", "603e" },
1344 { "Vaillant", "603e7v" },
1345 { "603r", "603e7t" },
1346 { "Goldeneye", "603r" },
1347 { "604e", "604e_v2.4" },
1348 { "Sirocco", "604e" },
1349 { "Mach5", "604r" },
1350 { "740", "740_v3.1" },
1351 { "Arthur", "740" },
1352 { "750", "750_v3.1" },
1353 { "Typhoon", "750" },
1354 { "G3", "750" },
1355 { "Conan/Doyle", "750p" },
1356 { "750cl", "750cl_v2.0" },
1357 { "750cx", "750cx_v2.2" },
1358 { "750cxe", "750cxe_v3.1b" },
1359 { "750fx", "750fx_v2.3" },
1360 { "750gx", "750gx_v1.2" },
1361 { "750l", "750l_v3.2" },
1362 { "LoneStar", "750l" },
1363 { "745", "745_v2.8" },
1364 { "755", "755_v2.8" },
1365 { "Goldfinger", "755" },
1366 { "7400", "7400_v2.9" },
1367 { "Max", "7400" },
1368 { "G4", "7400" },
1369 { "7410", "7410_v1.4" },
1370 { "Nitro", "7410" },
1371 { "7448", "7448_v2.1" },
1372 { "7450", "7450_v2.1" },
1373 { "Vger", "7450" },
1374 { "7441", "7441_v2.3" },
1375 { "7451", "7451_v2.3" },
1376 { "7445", "7445_v3.2" },
1377 { "7455", "7455_v3.2" },
1378 { "Apollo6", "7455" },
1379 { "7447", "7447_v1.2" },
1380 { "7457", "7457_v1.2" },
1381 { "Apollo7", "7457" },
1382 { "7447A", "7447A_v1.2" },
1383 { "7457A", "7457A_v1.2" },
1384 { "Apollo7PM", "7457A_v1.0" },
1385 #if defined(TARGET_PPC64)
1386 { "Trident", "620" },
1387 { "POWER3", "630" },
1388 { "Boxer", "POWER3" },
1389 { "Dino", "POWER3" },
1390 { "POWER3+", "631" },
1391 { "POWER5gr", "POWER5" },
1392 { "POWER5gs", "POWER5+" },
1393 { "POWER7", "POWER7_v2.3" },
1394 { "POWER7+", "POWER7+_v2.1" },
1395 { "POWER8", "POWER8_v1.0" },
1396 { "970fx", "970fx_v3.1" },
1397 { "970mp", "970mp_v1.1" },
1398 { "Apache", "RS64" },
1399 { "A35", "RS64" },
1400 { "NorthStar", "RS64-II" },
1401 { "A50", "RS64-II" },
1402 { "Pulsar", "RS64-III" },
1403 { "IceStar", "RS64-IV" },
1404 { "IStar", "RS64-IV" },
1405 { "SStar", "RS64-IV" },
1406 #endif
1407 { "RIOS", "POWER" },
1408 { "RSC", "POWER" },
1409 { "RSC3308", "POWER" },
1410 { "RSC4608", "POWER" },
1411 { "RSC2", "POWER2" },
1412 { "P2SC", "POWER2" },
1414 /* Generic PowerPCs */
1415 #if defined(TARGET_PPC64)
1416 { "ppc64", "970fx" },
1417 #endif
1418 { "ppc32", "604" },
1419 { "ppc", "ppc32" },
1420 { "default", "ppc" },
1421 { NULL, NULL }