1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21#ifndef TARGET_PPC_CPU_MODELS_H
22#define TARGET_PPC_CPU_MODELS_H
23
24
25
26
27
28
29
30
31typedef struct PowerPCCPUAlias {
32 const char *alias;
33 const char *model;
34 ObjectClass *oc;
35} PowerPCCPUAlias;
36
37extern PowerPCCPUAlias ppc_cpu_aliases[];
38
39
40
41enum {
42
43
44#define CPU_POWERPC_401 CPU_POWERPC_401G2
45
46 CPU_POWERPC_401A1 = 0x00210000,
47 CPU_POWERPC_401B2 = 0x00220000,
48#if 0
49 CPU_POWERPC_401B3 = xxx,
50#endif
51 CPU_POWERPC_401C2 = 0x00230000,
52 CPU_POWERPC_401D2 = 0x00240000,
53 CPU_POWERPC_401E2 = 0x00250000,
54 CPU_POWERPC_401F2 = 0x00260000,
55 CPU_POWERPC_401G2 = 0x00270000,
56
57#if 0
58 CPU_POWERPC_401GF = xxx,
59#endif
60#define CPU_POWERPC_IOP480 CPU_POWERPC_401B2
61
62 CPU_POWERPC_COBRA = 0x10100000,
63#if 0
64 CPU_POWERPC_XIPCHIP = xxx,
65#endif
66
67
68 CPU_POWERPC_403GA = 0x00200011,
69 CPU_POWERPC_403GB = 0x00200100,
70 CPU_POWERPC_403GC = 0x00200200,
71 CPU_POWERPC_403GCX = 0x00201400,
72#if 0
73 CPU_POWERPC_403GP = xxx,
74#endif
75
76
77#if 0
78 CPU_POWERPC_405A3 = xxx,
79#endif
80#if 0
81 CPU_POWERPC_405A4 = xxx,
82#endif
83#if 0
84 CPU_POWERPC_405B3 = xxx,
85#endif
86#if 0
87 CPU_POWERPC_405B4 = xxx,
88#endif
89#if 0
90 CPU_POWERPC_405C3 = xxx,
91#endif
92#if 0
93 CPU_POWERPC_405C4 = xxx,
94#endif
95 CPU_POWERPC_405D2 = 0x20010000,
96#if 0
97 CPU_POWERPC_405D3 = xxx,
98#endif
99 CPU_POWERPC_405D4 = 0x41810000,
100#if 0
101 CPU_POWERPC_405D5 = xxx,
102#endif
103#if 0
104 CPU_POWERPC_405E4 = xxx,
105#endif
106#if 0
107 CPU_POWERPC_405F4 = xxx,
108#endif
109#if 0
110 CPU_POWERPC_405F5 = xxx,
111#endif
112#if 0
113 CPU_POWERPC_405F6 = xxx,
114#endif
115
116
117 CPU_POWERPC_405CRa = 0x40110041,
118 CPU_POWERPC_405CRb = 0x401100C5,
119 CPU_POWERPC_405CRc = 0x40110145,
120 CPU_POWERPC_405EP = 0x51210950,
121#if 0
122 CPU_POWERPC_405EXr = xxx,
123#endif
124 CPU_POWERPC_405EZ = 0x41511460,
125#if 0
126 CPU_POWERPC_405FX = xxx,
127#endif
128 CPU_POWERPC_405GPa = 0x40110000,
129 CPU_POWERPC_405GPb = 0x40110040,
130 CPU_POWERPC_405GPc = 0x40110082,
131 CPU_POWERPC_405GPd = 0x401100C4,
132 CPU_POWERPC_405GPR = 0x50910951,
133#if 0
134 CPU_POWERPC_405H = xxx,
135#endif
136#if 0
137 CPU_POWERPC_405L = xxx,
138#endif
139 CPU_POWERPC_405LP = 0x41F10000,
140#if 0
141 CPU_POWERPC_405PM = xxx,
142#endif
143#if 0
144 CPU_POWERPC_405PS = xxx,
145#endif
146#if 0
147 CPU_POWERPC_405S = xxx,
148#endif
149
150 CPU_POWERPC_NPE405H = 0x414100C0,
151 CPU_POWERPC_NPE405H2 = 0x41410140,
152 CPU_POWERPC_NPE405L = 0x416100C0,
153 CPU_POWERPC_NPE4GS3 = 0x40B10000,
154#if 0
155 CPU_POWERPC_NPCxx1 = xxx,
156#endif
157#if 0
158 CPU_POWERPC_NPR161 = xxx,
159#endif
160#if 0
161 CPU_POWERPC_LC77700 = xxx,
162#endif
163
164#if 0
165 CPU_POWERPC_STB01000 = xxx,
166#endif
167#if 0
168 CPU_POWERPC_STB01010 = xxx,
169#endif
170#if 0
171 CPU_POWERPC_STB0210 = xxx,
172#endif
173 CPU_POWERPC_STB03 = 0x40310000,
174#if 0
175 CPU_POWERPC_STB043 = xxx,
176#endif
177#if 0
178 CPU_POWERPC_STB045 = xxx,
179#endif
180 CPU_POWERPC_STB04 = 0x41810000,
181 CPU_POWERPC_STB25 = 0x51510950,
182#if 0
183 CPU_POWERPC_STB130 = xxx,
184#endif
185
186 CPU_POWERPC_X2VP4 = 0x20010820,
187 CPU_POWERPC_X2VP20 = 0x20010860,
188#if 0
189 CPU_POWERPC_ZL10310 = xxx,
190#endif
191#if 0
192 CPU_POWERPC_ZL10311 = xxx,
193#endif
194#if 0
195 CPU_POWERPC_ZL10320 = xxx,
196#endif
197#if 0
198 CPU_POWERPC_ZL10321 = xxx,
199#endif
200
201
202#define CPU_POWERPC_440 CPU_POWERPC_440GXf
203
204#if 0
205 CPU_POWERPC_440A4 = xxx,
206#endif
207 CPU_POWERPC_440_XILINX = 0x7ff21910,
208#if 0
209 CPU_POWERPC_440A5 = xxx,
210#endif
211#if 0
212 CPU_POWERPC_440B4 = xxx,
213#endif
214#if 0
215 CPU_POWERPC_440F5 = xxx,
216#endif
217#if 0
218 CPU_POWERPC_440G5 = xxx,
219#endif
220#if 0
221 CPU_POWERPC_440H4 = xxx,
222#endif
223#if 0
224 CPU_POWERPC_440H6 = xxx,
225#endif
226
227 CPU_POWERPC_440EPa = 0x42221850,
228 CPU_POWERPC_440EPb = 0x422218D3,
229 CPU_POWERPC_440GPb = 0x40120440,
230 CPU_POWERPC_440GPc = 0x40120481,
231#define CPU_POWERPC_440GRa CPU_POWERPC_440EPb
232 CPU_POWERPC_440GRX = 0x200008D0,
233#define CPU_POWERPC_440EPX CPU_POWERPC_440GRX
234 CPU_POWERPC_440GXa = 0x51B21850,
235 CPU_POWERPC_440GXb = 0x51B21851,
236 CPU_POWERPC_440GXc = 0x51B21892,
237 CPU_POWERPC_440GXf = 0x51B21894,
238#if 0
239 CPU_POWERPC_440S = xxx,
240#endif
241 CPU_POWERPC_440SP = 0x53221850,
242 CPU_POWERPC_440SP2 = 0x53221891,
243 CPU_POWERPC_440SPE = 0x53421890,
244
245#if 0
246
247#define CPU_POWERPC_464 CPU_POWERPC_464H90
248#endif
249
250#if 0
251 CPU_POWERPC_464H90 = xxx,
252#endif
253#if 0
254 CPU_POWERPC_464H90FP = xxx,
255#endif
256
257
258 CPU_POWERPC_MPC5xx = 0x00020020,
259
260 CPU_POWERPC_MPC8xx = 0x00500000,
261
262 CPU_POWERPC_G2 = 0x00810011,
263 CPU_POWERPC_G2H4 = 0x80811010,
264 CPU_POWERPC_G2gp = 0x80821010,
265 CPU_POWERPC_G2ls = 0x90810010,
266 CPU_POWERPC_MPC603 = 0x00810100,
267 CPU_POWERPC_G2_HIP3 = 0x00810101,
268 CPU_POWERPC_G2_HIP4 = 0x80811014,
269
270 CPU_POWERPC_G2LE = 0x80820010,
271 CPU_POWERPC_G2LEgp = 0x80822010,
272 CPU_POWERPC_G2LEls = 0xA0822010,
273 CPU_POWERPC_G2LEgp1 = 0x80822011,
274 CPU_POWERPC_G2LEgp3 = 0x80822013,
275
276
277#define CPU_POWERPC_MPC5200_v10 CPU_POWERPC_G2LEgp1
278#define CPU_POWERPC_MPC5200_v11 CPU_POWERPC_G2LEgp1
279#define CPU_POWERPC_MPC5200_v12 CPU_POWERPC_G2LEgp1
280#define CPU_POWERPC_MPC5200B_v20 CPU_POWERPC_G2LEgp1
281#define CPU_POWERPC_MPC5200B_v21 CPU_POWERPC_G2LEgp1
282
283
284#if 0
285 CPU_POWERPC_e200z0 = xxx,
286#endif
287#if 0
288 CPU_POWERPC_e200z1 = xxx,
289#endif
290#if 0
291 CPU_POWERPC_e200z3 = 0x81120000,
292#endif
293 CPU_POWERPC_e200z5 = 0x81000000,
294 CPU_POWERPC_e200z6 = 0x81120000,
295
296#define CPU_POWERPC_MPC55xx CPU_POWERPC_MPC5567
297#if 0
298#define CPU_POWERPC_MPC5514E CPU_POWERPC_MPC5514E_v1
299#define CPU_POWERPC_MPC5514E_v0 CPU_POWERPC_e200z0
300#define CPU_POWERPC_MPC5514E_v1 CPU_POWERPC_e200z1
301#define CPU_POWERPC_MPC5514G CPU_POWERPC_MPC5514G_v1
302#define CPU_POWERPC_MPC5514G_v0 CPU_POWERPC_e200z0
303#define CPU_POWERPC_MPC5514G_v1 CPU_POWERPC_e200z1
304#define CPU_POWERPC_MPC5515S CPU_POWERPC_e200z1
305#define CPU_POWERPC_MPC5516E CPU_POWERPC_MPC5516E_v1
306#define CPU_POWERPC_MPC5516E_v0 CPU_POWERPC_e200z0
307#define CPU_POWERPC_MPC5516E_v1 CPU_POWERPC_e200z1
308#define CPU_POWERPC_MPC5516G CPU_POWERPC_MPC5516G_v1
309#define CPU_POWERPC_MPC5516G_v0 CPU_POWERPC_e200z0
310#define CPU_POWERPC_MPC5516G_v1 CPU_POWERPC_e200z1
311#define CPU_POWERPC_MPC5516S CPU_POWERPC_e200z1
312#endif
313#if 0
314#define CPU_POWERPC_MPC5533 CPU_POWERPC_e200z3
315#define CPU_POWERPC_MPC5534 CPU_POWERPC_e200z3
316#endif
317#define CPU_POWERPC_MPC5553 CPU_POWERPC_e200z6
318#define CPU_POWERPC_MPC5554 CPU_POWERPC_e200z6
319#define CPU_POWERPC_MPC5561 CPU_POWERPC_e200z6
320#define CPU_POWERPC_MPC5565 CPU_POWERPC_e200z6
321#define CPU_POWERPC_MPC5566 CPU_POWERPC_e200z6
322#define CPU_POWERPC_MPC5567 CPU_POWERPC_e200z6
323
324
325 CPU_POWERPC_e300c1 = 0x00830010,
326 CPU_POWERPC_e300c2 = 0x00840010,
327 CPU_POWERPC_e300c3 = 0x00850010,
328 CPU_POWERPC_e300c4 = 0x00860010,
329
330#define CPU_POWERPC_MPC831x CPU_POWERPC_e300c3
331#define CPU_POWERPC_MPC832x CPU_POWERPC_e300c2
332#define CPU_POWERPC_MPC834x CPU_POWERPC_e300c1
333#define CPU_POWERPC_MPC835x CPU_POWERPC_e300c1
334#define CPU_POWERPC_MPC836x CPU_POWERPC_e300c1
335#define CPU_POWERPC_MPC837x CPU_POWERPC_e300c4
336
337
338#define CPU_POWERPC_e500 CPU_POWERPC_e500v2_v22
339 CPU_POWERPC_e500v1_v10 = 0x80200010,
340 CPU_POWERPC_e500v1_v20 = 0x80200020,
341 CPU_POWERPC_e500v2_v10 = 0x80210010,
342 CPU_POWERPC_e500v2_v11 = 0x80210011,
343 CPU_POWERPC_e500v2_v20 = 0x80210020,
344 CPU_POWERPC_e500v2_v21 = 0x80210021,
345 CPU_POWERPC_e500v2_v22 = 0x80210022,
346 CPU_POWERPC_e500v2_v30 = 0x80210030,
347 CPU_POWERPC_e500mc = 0x80230020,
348 CPU_POWERPC_e5500 = 0x80240020,
349
350#define CPU_POWERPC_MPC8533_v10 CPU_POWERPC_e500v2_v21
351#define CPU_POWERPC_MPC8533_v11 CPU_POWERPC_e500v2_v22
352#define CPU_POWERPC_MPC8533E_v10 CPU_POWERPC_e500v2_v21
353#define CPU_POWERPC_MPC8533E_v11 CPU_POWERPC_e500v2_v22
354#define CPU_POWERPC_MPC8540_v10 CPU_POWERPC_e500v1_v10
355#define CPU_POWERPC_MPC8540_v20 CPU_POWERPC_e500v1_v20
356#define CPU_POWERPC_MPC8540_v21 CPU_POWERPC_e500v1_v20
357#define CPU_POWERPC_MPC8541_v10 CPU_POWERPC_e500v1_v20
358#define CPU_POWERPC_MPC8541_v11 CPU_POWERPC_e500v1_v20
359#define CPU_POWERPC_MPC8541E_v10 CPU_POWERPC_e500v1_v20
360#define CPU_POWERPC_MPC8541E_v11 CPU_POWERPC_e500v1_v20
361#define CPU_POWERPC_MPC8543_v10 CPU_POWERPC_e500v2_v10
362#define CPU_POWERPC_MPC8543_v11 CPU_POWERPC_e500v2_v11
363#define CPU_POWERPC_MPC8543_v20 CPU_POWERPC_e500v2_v20
364#define CPU_POWERPC_MPC8543_v21 CPU_POWERPC_e500v2_v21
365#define CPU_POWERPC_MPC8543E_v10 CPU_POWERPC_e500v2_v10
366#define CPU_POWERPC_MPC8543E_v11 CPU_POWERPC_e500v2_v11
367#define CPU_POWERPC_MPC8543E_v20 CPU_POWERPC_e500v2_v20
368#define CPU_POWERPC_MPC8543E_v21 CPU_POWERPC_e500v2_v21
369#define CPU_POWERPC_MPC8544_v10 CPU_POWERPC_e500v2_v21
370#define CPU_POWERPC_MPC8544_v11 CPU_POWERPC_e500v2_v22
371#define CPU_POWERPC_MPC8544E_v11 CPU_POWERPC_e500v2_v22
372#define CPU_POWERPC_MPC8544E_v10 CPU_POWERPC_e500v2_v21
373#define CPU_POWERPC_MPC8545_v10 CPU_POWERPC_e500v2_v10
374#define CPU_POWERPC_MPC8545_v20 CPU_POWERPC_e500v2_v20
375#define CPU_POWERPC_MPC8545_v21 CPU_POWERPC_e500v2_v21
376#define CPU_POWERPC_MPC8545E_v10 CPU_POWERPC_e500v2_v10
377#define CPU_POWERPC_MPC8545E_v20 CPU_POWERPC_e500v2_v20
378#define CPU_POWERPC_MPC8545E_v21 CPU_POWERPC_e500v2_v21
379#define CPU_POWERPC_MPC8547E_v10 CPU_POWERPC_e500v2_v10
380#define CPU_POWERPC_MPC8547E_v20 CPU_POWERPC_e500v2_v20
381#define CPU_POWERPC_MPC8547E_v21 CPU_POWERPC_e500v2_v21
382#define CPU_POWERPC_MPC8548_v10 CPU_POWERPC_e500v2_v10
383#define CPU_POWERPC_MPC8548_v11 CPU_POWERPC_e500v2_v11
384#define CPU_POWERPC_MPC8548_v20 CPU_POWERPC_e500v2_v20
385#define CPU_POWERPC_MPC8548_v21 CPU_POWERPC_e500v2_v21
386#define CPU_POWERPC_MPC8548E_v10 CPU_POWERPC_e500v2_v10
387#define CPU_POWERPC_MPC8548E_v11 CPU_POWERPC_e500v2_v11
388#define CPU_POWERPC_MPC8548E_v20 CPU_POWERPC_e500v2_v20
389#define CPU_POWERPC_MPC8548E_v21 CPU_POWERPC_e500v2_v21
390#define CPU_POWERPC_MPC8555_v10 CPU_POWERPC_e500v2_v10
391#define CPU_POWERPC_MPC8555_v11 CPU_POWERPC_e500v2_v11
392#define CPU_POWERPC_MPC8555E_v10 CPU_POWERPC_e500v2_v10
393#define CPU_POWERPC_MPC8555E_v11 CPU_POWERPC_e500v2_v11
394#define CPU_POWERPC_MPC8560_v10 CPU_POWERPC_e500v2_v10
395#define CPU_POWERPC_MPC8560_v20 CPU_POWERPC_e500v2_v20
396#define CPU_POWERPC_MPC8560_v21 CPU_POWERPC_e500v2_v21
397#define CPU_POWERPC_MPC8567 CPU_POWERPC_e500v2_v22
398#define CPU_POWERPC_MPC8567E CPU_POWERPC_e500v2_v22
399#define CPU_POWERPC_MPC8568 CPU_POWERPC_e500v2_v22
400#define CPU_POWERPC_MPC8568E CPU_POWERPC_e500v2_v22
401#define CPU_POWERPC_MPC8572 CPU_POWERPC_e500v2_v30
402#define CPU_POWERPC_MPC8572E CPU_POWERPC_e500v2_v30
403
404
405 CPU_POWERPC_e600 = 0x80040010,
406
407#define CPU_POWERPC_MPC8610 CPU_POWERPC_e600
408#define CPU_POWERPC_MPC8641 CPU_POWERPC_e600
409#define CPU_POWERPC_MPC8641D CPU_POWERPC_e600
410
411 CPU_POWERPC_601_v0 = 0x00010001,
412 CPU_POWERPC_601_v1 = 0x00010001,
413 CPU_POWERPC_601_v2 = 0x00010002,
414 CPU_POWERPC_602 = 0x00050100,
415 CPU_POWERPC_603 = 0x00030100,
416 CPU_POWERPC_603E_v11 = 0x00060101,
417 CPU_POWERPC_603E_v12 = 0x00060102,
418 CPU_POWERPC_603E_v13 = 0x00060103,
419 CPU_POWERPC_603E_v14 = 0x00060104,
420 CPU_POWERPC_603E_v22 = 0x00060202,
421 CPU_POWERPC_603E_v3 = 0x00060300,
422 CPU_POWERPC_603E_v4 = 0x00060400,
423 CPU_POWERPC_603E_v41 = 0x00060401,
424 CPU_POWERPC_603E7t = 0x00071201,
425 CPU_POWERPC_603E7v = 0x00070100,
426 CPU_POWERPC_603E7v1 = 0x00070101,
427 CPU_POWERPC_603E7v2 = 0x00070201,
428 CPU_POWERPC_603E7 = 0x00070200,
429 CPU_POWERPC_603P = 0x00070000,
430
431 CPU_POWERPC_604 = 0x00040103,
432
433
434
435 CPU_POWERPC_604E_v10 = 0x00090100,
436 CPU_POWERPC_604E_v22 = 0x00090202,
437 CPU_POWERPC_604E_v24 = 0x00090204,
438
439
440 CPU_POWERPC_604R = 0x000a0101,
441#if 0
442 CPU_POWERPC_604EV = xxx,
443#endif
444
445
446 CPU_POWERPC_7x0_v10 = 0x00080100,
447 CPU_POWERPC_7x0_v20 = 0x00080200,
448 CPU_POWERPC_7x0_v21 = 0x00080201,
449 CPU_POWERPC_7x0_v22 = 0x00080202,
450 CPU_POWERPC_7x0_v30 = 0x00080300,
451 CPU_POWERPC_7x0_v31 = 0x00080301,
452 CPU_POWERPC_740E = 0x00080100,
453 CPU_POWERPC_750E = 0x00080200,
454 CPU_POWERPC_7x0P = 0x10080000,
455
456 CPU_POWERPC_750CL_v10 = 0x00087200,
457 CPU_POWERPC_750CL_v20 = 0x00087210,
458 CPU_POWERPC_750CX_v10 = 0x00082100,
459 CPU_POWERPC_750CX_v20 = 0x00082200,
460 CPU_POWERPC_750CX_v21 = 0x00082201,
461 CPU_POWERPC_750CX_v22 = 0x00082202,
462 CPU_POWERPC_750CXE_v21 = 0x00082211,
463 CPU_POWERPC_750CXE_v22 = 0x00082212,
464 CPU_POWERPC_750CXE_v23 = 0x00082213,
465 CPU_POWERPC_750CXE_v24 = 0x00082214,
466 CPU_POWERPC_750CXE_v24b = 0x00083214,
467 CPU_POWERPC_750CXE_v30 = 0x00082310,
468 CPU_POWERPC_750CXE_v31 = 0x00082311,
469 CPU_POWERPC_750CXE_v31b = 0x00083311,
470 CPU_POWERPC_750CXR = 0x00083410,
471 CPU_POWERPC_750FL = 0x70000203,
472 CPU_POWERPC_750FX_v10 = 0x70000100,
473 CPU_POWERPC_750FX_v20 = 0x70000200,
474 CPU_POWERPC_750FX_v21 = 0x70000201,
475 CPU_POWERPC_750FX_v22 = 0x70000202,
476 CPU_POWERPC_750FX_v23 = 0x70000203,
477 CPU_POWERPC_750GL = 0x70020102,
478 CPU_POWERPC_750GX_v10 = 0x70020100,
479 CPU_POWERPC_750GX_v11 = 0x70020101,
480 CPU_POWERPC_750GX_v12 = 0x70020102,
481 CPU_POWERPC_750L_v20 = 0x00088200,
482 CPU_POWERPC_750L_v21 = 0x00088201,
483 CPU_POWERPC_750L_v22 = 0x00088202,
484 CPU_POWERPC_750L_v30 = 0x00088300,
485 CPU_POWERPC_750L_v32 = 0x00088302,
486
487 CPU_POWERPC_7x5_v10 = 0x00083100,
488 CPU_POWERPC_7x5_v11 = 0x00083101,
489 CPU_POWERPC_7x5_v20 = 0x00083200,
490 CPU_POWERPC_7x5_v21 = 0x00083201,
491 CPU_POWERPC_7x5_v22 = 0x00083202,
492 CPU_POWERPC_7x5_v23 = 0x00083203,
493 CPU_POWERPC_7x5_v24 = 0x00083204,
494 CPU_POWERPC_7x5_v25 = 0x00083205,
495 CPU_POWERPC_7x5_v26 = 0x00083206,
496 CPU_POWERPC_7x5_v27 = 0x00083207,
497 CPU_POWERPC_7x5_v28 = 0x00083208,
498#if 0
499 CPU_POWERPC_7x5P = xxx,
500#endif
501
502
503 CPU_POWERPC_7400_v10 = 0x000C0100,
504 CPU_POWERPC_7400_v11 = 0x000C0101,
505 CPU_POWERPC_7400_v20 = 0x000C0200,
506 CPU_POWERPC_7400_v21 = 0x000C0201,
507 CPU_POWERPC_7400_v22 = 0x000C0202,
508 CPU_POWERPC_7400_v26 = 0x000C0206,
509 CPU_POWERPC_7400_v27 = 0x000C0207,
510 CPU_POWERPC_7400_v28 = 0x000C0208,
511 CPU_POWERPC_7400_v29 = 0x000C0209,
512 CPU_POWERPC_7410_v10 = 0x800C1100,
513 CPU_POWERPC_7410_v11 = 0x800C1101,
514 CPU_POWERPC_7410_v12 = 0x800C1102,
515 CPU_POWERPC_7410_v13 = 0x800C1103,
516 CPU_POWERPC_7410_v14 = 0x800C1104,
517 CPU_POWERPC_7448_v10 = 0x80040100,
518 CPU_POWERPC_7448_v11 = 0x80040101,
519 CPU_POWERPC_7448_v20 = 0x80040200,
520 CPU_POWERPC_7448_v21 = 0x80040201,
521 CPU_POWERPC_7450_v10 = 0x80000100,
522 CPU_POWERPC_7450_v11 = 0x80000101,
523 CPU_POWERPC_7450_v12 = 0x80000102,
524 CPU_POWERPC_7450_v20 = 0x80000200,
525 CPU_POWERPC_7450_v21 = 0x80000201,
526 CPU_POWERPC_74x1_v23 = 0x80000203,
527
528 CPU_POWERPC_74x1_v210 = 0x80000210,
529 CPU_POWERPC_74x5_v10 = 0x80010100,
530
531 CPU_POWERPC_74x5_v21 = 0x80010201,
532 CPU_POWERPC_74x5_v32 = 0x80010302,
533 CPU_POWERPC_74x5_v33 = 0x80010303,
534 CPU_POWERPC_74x5_v34 = 0x80010304,
535 CPU_POWERPC_74x7_v10 = 0x80020100,
536 CPU_POWERPC_74x7_v11 = 0x80020101,
537 CPU_POWERPC_74x7_v12 = 0x80020102,
538 CPU_POWERPC_74x7A_v10 = 0x80030100,
539 CPU_POWERPC_74x7A_v11 = 0x80030101,
540 CPU_POWERPC_74x7A_v12 = 0x80030102,
541
542#if defined(TARGET_PPC64)
543 CPU_POWERPC_620 = 0x00140000,
544 CPU_POWERPC_630 = 0x00400000,
545 CPU_POWERPC_631 = 0x00410104,
546 CPU_POWERPC_POWER4 = 0x00350000,
547 CPU_POWERPC_POWER4P = 0x00380000,
548
549 CPU_POWERPC_POWER5 = 0x003A0203,
550 CPU_POWERPC_POWER5P = 0x003B0000,
551 CPU_POWERPC_POWER5P_v21 = 0x003B0201,
552 CPU_POWERPC_POWER6 = 0x003E0000,
553 CPU_POWERPC_POWER6_5 = 0x0F000001,
554 CPU_POWERPC_POWER6A = 0x0F000002,
555 CPU_POWERPC_POWER7_v20 = 0x003F0200,
556 CPU_POWERPC_POWER7_v21 = 0x003F0201,
557 CPU_POWERPC_POWER7_v23 = 0x003F0203,
558 CPU_POWERPC_POWER7P_v21 = 0x004A0201,
559 CPU_POWERPC_POWER8_v10 = 0x004B0100,
560 CPU_POWERPC_970 = 0x00390202,
561 CPU_POWERPC_970FX_v10 = 0x00391100,
562 CPU_POWERPC_970FX_v20 = 0x003C0200,
563 CPU_POWERPC_970FX_v21 = 0x003C0201,
564 CPU_POWERPC_970FX_v30 = 0x003C0300,
565 CPU_POWERPC_970FX_v31 = 0x003C0301,
566 CPU_POWERPC_970GX = 0x00450000,
567 CPU_POWERPC_970MP_v10 = 0x00440100,
568 CPU_POWERPC_970MP_v11 = 0x00440101,
569#define CPU_POWERPC_CELL CPU_POWERPC_CELL_v32
570 CPU_POWERPC_CELL_v10 = 0x00700100,
571 CPU_POWERPC_CELL_v20 = 0x00700400,
572 CPU_POWERPC_CELL_v30 = 0x00700500,
573 CPU_POWERPC_CELL_v31 = 0x00700501,
574#define CPU_POWERPC_CELL_v32 CPU_POWERPC_CELL_v31
575 CPU_POWERPC_RS64 = 0x00330000,
576 CPU_POWERPC_RS64II = 0x00340000,
577 CPU_POWERPC_RS64III = 0x00360000,
578 CPU_POWERPC_RS64IV = 0x00370000,
579#endif
580
581
582
583
584#if 0
585 CPU_POWER = xxx,
586#endif
587#if 0
588 CPU_POWER2 = xxx,
589#endif
590
591 CPU_POWERPC_PA6T = 0x00900000,
592};
593
594
595enum {
596 POWERPC_SVR_NONE = 0x00000000,
597 POWERPC_SVR_5200_v10 = 0x80110010,
598 POWERPC_SVR_5200_v11 = 0x80110011,
599 POWERPC_SVR_5200_v12 = 0x80110012,
600 POWERPC_SVR_5200B_v20 = 0x80110020,
601 POWERPC_SVR_5200B_v21 = 0x80110021,
602#define POWERPC_SVR_55xx POWERPC_SVR_5567
603#if 0
604 POWERPC_SVR_5533 = xxx,
605#endif
606#if 0
607 POWERPC_SVR_5534 = xxx,
608#endif
609#if 0
610 POWERPC_SVR_5553 = xxx,
611#endif
612#if 0
613 POWERPC_SVR_5554 = xxx,
614#endif
615#if 0
616 POWERPC_SVR_5561 = xxx,
617#endif
618#if 0
619 POWERPC_SVR_5565 = xxx,
620#endif
621#if 0
622 POWERPC_SVR_5566 = xxx,
623#endif
624#if 0
625 POWERPC_SVR_5567 = xxx,
626#endif
627#if 0
628 POWERPC_SVR_8313 = xxx,
629#endif
630#if 0
631 POWERPC_SVR_8313E = xxx,
632#endif
633#if 0
634 POWERPC_SVR_8314 = xxx,
635#endif
636#if 0
637 POWERPC_SVR_8314E = xxx,
638#endif
639#if 0
640 POWERPC_SVR_8315 = xxx,
641#endif
642#if 0
643 POWERPC_SVR_8315E = xxx,
644#endif
645#if 0
646 POWERPC_SVR_8321 = xxx,
647#endif
648#if 0
649 POWERPC_SVR_8321E = xxx,
650#endif
651#if 0
652 POWERPC_SVR_8323 = xxx,
653#endif
654#if 0
655 POWERPC_SVR_8323E = xxx,
656#endif
657 POWERPC_SVR_8343 = 0x80570010,
658 POWERPC_SVR_8343A = 0x80570030,
659 POWERPC_SVR_8343E = 0x80560010,
660 POWERPC_SVR_8343EA = 0x80560030,
661 POWERPC_SVR_8347P = 0x80550010,
662 POWERPC_SVR_8347T = 0x80530010,
663 POWERPC_SVR_8347AP = 0x80550030,
664 POWERPC_SVR_8347AT = 0x80530030,
665 POWERPC_SVR_8347EP = 0x80540010,
666 POWERPC_SVR_8347ET = 0x80520010,
667 POWERPC_SVR_8347EAP = 0x80540030,
668 POWERPC_SVR_8347EAT = 0x80520030,
669 POWERPC_SVR_8349 = 0x80510010,
670 POWERPC_SVR_8349A = 0x80510030,
671 POWERPC_SVR_8349E = 0x80500010,
672 POWERPC_SVR_8349EA = 0x80500030,
673#if 0
674 POWERPC_SVR_8358E = xxx,
675#endif
676#if 0
677 POWERPC_SVR_8360E = xxx,
678#endif
679#define POWERPC_SVR_E500 0x40000000
680 POWERPC_SVR_8377 = 0x80C70010 | POWERPC_SVR_E500,
681 POWERPC_SVR_8377E = 0x80C60010 | POWERPC_SVR_E500,
682 POWERPC_SVR_8378 = 0x80C50010 | POWERPC_SVR_E500,
683 POWERPC_SVR_8378E = 0x80C40010 | POWERPC_SVR_E500,
684 POWERPC_SVR_8379 = 0x80C30010 | POWERPC_SVR_E500,
685 POWERPC_SVR_8379E = 0x80C00010 | POWERPC_SVR_E500,
686 POWERPC_SVR_8533_v10 = 0x80340010 | POWERPC_SVR_E500,
687 POWERPC_SVR_8533_v11 = 0x80340011 | POWERPC_SVR_E500,
688 POWERPC_SVR_8533E_v10 = 0x803C0010 | POWERPC_SVR_E500,
689 POWERPC_SVR_8533E_v11 = 0x803C0011 | POWERPC_SVR_E500,
690 POWERPC_SVR_8540_v10 = 0x80300010 | POWERPC_SVR_E500,
691 POWERPC_SVR_8540_v20 = 0x80300020 | POWERPC_SVR_E500,
692 POWERPC_SVR_8540_v21 = 0x80300021 | POWERPC_SVR_E500,
693 POWERPC_SVR_8541_v10 = 0x80720010 | POWERPC_SVR_E500,
694 POWERPC_SVR_8541_v11 = 0x80720011 | POWERPC_SVR_E500,
695 POWERPC_SVR_8541E_v10 = 0x807A0010 | POWERPC_SVR_E500,
696 POWERPC_SVR_8541E_v11 = 0x807A0011 | POWERPC_SVR_E500,
697 POWERPC_SVR_8543_v10 = 0x80320010 | POWERPC_SVR_E500,
698 POWERPC_SVR_8543_v11 = 0x80320011 | POWERPC_SVR_E500,
699 POWERPC_SVR_8543_v20 = 0x80320020 | POWERPC_SVR_E500,
700 POWERPC_SVR_8543_v21 = 0x80320021 | POWERPC_SVR_E500,
701 POWERPC_SVR_8543E_v10 = 0x803A0010 | POWERPC_SVR_E500,
702 POWERPC_SVR_8543E_v11 = 0x803A0011 | POWERPC_SVR_E500,
703 POWERPC_SVR_8543E_v20 = 0x803A0020 | POWERPC_SVR_E500,
704 POWERPC_SVR_8543E_v21 = 0x803A0021 | POWERPC_SVR_E500,
705 POWERPC_SVR_8544_v10 = 0x80340110 | POWERPC_SVR_E500,
706 POWERPC_SVR_8544_v11 = 0x80340111 | POWERPC_SVR_E500,
707 POWERPC_SVR_8544E_v10 = 0x803C0110 | POWERPC_SVR_E500,
708 POWERPC_SVR_8544E_v11 = 0x803C0111 | POWERPC_SVR_E500,
709 POWERPC_SVR_8545_v20 = 0x80310220 | POWERPC_SVR_E500,
710 POWERPC_SVR_8545_v21 = 0x80310221 | POWERPC_SVR_E500,
711 POWERPC_SVR_8545E_v20 = 0x80390220 | POWERPC_SVR_E500,
712 POWERPC_SVR_8545E_v21 = 0x80390221 | POWERPC_SVR_E500,
713 POWERPC_SVR_8547E_v20 = 0x80390120 | POWERPC_SVR_E500,
714 POWERPC_SVR_8547E_v21 = 0x80390121 | POWERPC_SVR_E500,
715 POWERPC_SVR_8548_v10 = 0x80310010 | POWERPC_SVR_E500,
716 POWERPC_SVR_8548_v11 = 0x80310011 | POWERPC_SVR_E500,
717 POWERPC_SVR_8548_v20 = 0x80310020 | POWERPC_SVR_E500,
718 POWERPC_SVR_8548_v21 = 0x80310021 | POWERPC_SVR_E500,
719 POWERPC_SVR_8548E_v10 = 0x80390010 | POWERPC_SVR_E500,
720 POWERPC_SVR_8548E_v11 = 0x80390011 | POWERPC_SVR_E500,
721 POWERPC_SVR_8548E_v20 = 0x80390020 | POWERPC_SVR_E500,
722 POWERPC_SVR_8548E_v21 = 0x80390021 | POWERPC_SVR_E500,
723 POWERPC_SVR_8555_v10 = 0x80710010 | POWERPC_SVR_E500,
724 POWERPC_SVR_8555_v11 = 0x80710011 | POWERPC_SVR_E500,
725 POWERPC_SVR_8555E_v10 = 0x80790010 | POWERPC_SVR_E500,
726 POWERPC_SVR_8555E_v11 = 0x80790011 | POWERPC_SVR_E500,
727 POWERPC_SVR_8560_v10 = 0x80700010 | POWERPC_SVR_E500,
728 POWERPC_SVR_8560_v20 = 0x80700020 | POWERPC_SVR_E500,
729 POWERPC_SVR_8560_v21 = 0x80700021 | POWERPC_SVR_E500,
730 POWERPC_SVR_8567 = 0x80750111 | POWERPC_SVR_E500,
731 POWERPC_SVR_8567E = 0x807D0111 | POWERPC_SVR_E500,
732 POWERPC_SVR_8568 = 0x80750011 | POWERPC_SVR_E500,
733 POWERPC_SVR_8568E = 0x807D0011 | POWERPC_SVR_E500,
734 POWERPC_SVR_8572 = 0x80E00010 | POWERPC_SVR_E500,
735 POWERPC_SVR_8572E = 0x80E80010 | POWERPC_SVR_E500,
736 POWERPC_SVR_8610 = 0x80A00011,
737 POWERPC_SVR_8641 = 0x80900021,
738 POWERPC_SVR_8641D = 0x80900121,
739};
740
741#endif
742