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