regenerate configure
[binutils.git] / opcodes / ppc-opc.c
blob8dbfad33ca952e21ebab20c1ac85fa39c76ef019
1 /* ppc-opc.c -- PowerPC opcode list
2 Copyright 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2004,
3 2005, 2006, 2007 Free Software Foundation, Inc.
4 Written by Ian Lance Taylor, Cygnus Support
6 This file is part of the GNU opcodes library.
8 This library is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option)
11 any later version.
13 It is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
16 License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this file; see the file COPYING. If not, write to the
20 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
21 MA 02110-1301, USA. */
23 #include <stdio.h>
24 #include "sysdep.h"
25 #include "opcode/ppc.h"
26 #include "opintl.h"
28 /* This file holds the PowerPC opcode table. The opcode table
29 includes almost all of the extended instruction mnemonics. This
30 permits the disassembler to use them, and simplifies the assembler
31 logic, at the cost of increasing the table size. The table is
32 strictly constant data, so the compiler should be able to put it in
33 the .text section.
35 This file also holds the operand table. All knowledge about
36 inserting operands into instructions and vice-versa is kept in this
37 file. */
39 /* Local insertion and extraction functions. */
41 static unsigned long insert_bat (unsigned long, long, int, const char **);
42 static long extract_bat (unsigned long, int, int *);
43 static unsigned long insert_bba (unsigned long, long, int, const char **);
44 static long extract_bba (unsigned long, int, int *);
45 static unsigned long insert_bdm (unsigned long, long, int, const char **);
46 static long extract_bdm (unsigned long, int, int *);
47 static unsigned long insert_bdp (unsigned long, long, int, const char **);
48 static long extract_bdp (unsigned long, int, int *);
49 static unsigned long insert_bo (unsigned long, long, int, const char **);
50 static long extract_bo (unsigned long, int, int *);
51 static unsigned long insert_boe (unsigned long, long, int, const char **);
52 static long extract_boe (unsigned long, int, int *);
53 static unsigned long insert_fxm (unsigned long, long, int, const char **);
54 static long extract_fxm (unsigned long, int, int *);
55 static unsigned long insert_mbe (unsigned long, long, int, const char **);
56 static long extract_mbe (unsigned long, int, int *);
57 static unsigned long insert_mb6 (unsigned long, long, int, const char **);
58 static long extract_mb6 (unsigned long, int, int *);
59 static long extract_nb (unsigned long, int, int *);
60 static unsigned long insert_nsi (unsigned long, long, int, const char **);
61 static long extract_nsi (unsigned long, int, int *);
62 static unsigned long insert_ral (unsigned long, long, int, const char **);
63 static unsigned long insert_ram (unsigned long, long, int, const char **);
64 static unsigned long insert_raq (unsigned long, long, int, const char **);
65 static unsigned long insert_ras (unsigned long, long, int, const char **);
66 static unsigned long insert_rbs (unsigned long, long, int, const char **);
67 static long extract_rbs (unsigned long, int, int *);
68 static unsigned long insert_sh6 (unsigned long, long, int, const char **);
69 static long extract_sh6 (unsigned long, int, int *);
70 static unsigned long insert_spr (unsigned long, long, int, const char **);
71 static long extract_spr (unsigned long, int, int *);
72 static unsigned long insert_sprg (unsigned long, long, int, const char **);
73 static long extract_sprg (unsigned long, int, int *);
74 static unsigned long insert_tbr (unsigned long, long, int, const char **);
75 static long extract_tbr (unsigned long, int, int *);
77 /* The operands table.
79 The fields are bitm, shift, insert, extract, flags.
81 We used to put parens around the various additions, like the one
82 for BA just below. However, that caused trouble with feeble
83 compilers with a limit on depth of a parenthesized expression, like
84 (reportedly) the compiler in Microsoft Developer Studio 5. So we
85 omit the parens, since the macros are never used in a context where
86 the addition will be ambiguous. */
88 const struct powerpc_operand powerpc_operands[] =
90 /* The zero index is used to indicate the end of the list of
91 operands. */
92 #define UNUSED 0
93 { 0, 0, NULL, NULL, 0 },
95 /* The BA field in an XL form instruction. */
96 #define BA UNUSED + 1
97 /* The BI field in a B form or XL form instruction. */
98 #define BI BA
99 #define BI_MASK (0x1f << 16)
100 { 0x1f, 16, NULL, NULL, PPC_OPERAND_CR },
102 /* The BA field in an XL form instruction when it must be the same
103 as the BT field in the same instruction. */
104 #define BAT BA + 1
105 { 0x1f, 16, insert_bat, extract_bat, PPC_OPERAND_FAKE },
107 /* The BB field in an XL form instruction. */
108 #define BB BAT + 1
109 #define BB_MASK (0x1f << 11)
110 { 0x1f, 11, NULL, NULL, PPC_OPERAND_CR },
112 /* The BB field in an XL form instruction when it must be the same
113 as the BA field in the same instruction. */
114 #define BBA BB + 1
115 { 0x1f, 11, insert_bba, extract_bba, PPC_OPERAND_FAKE },
117 /* The BD field in a B form instruction. The lower two bits are
118 forced to zero. */
119 #define BD BBA + 1
120 { 0xfffc, 0, NULL, NULL, PPC_OPERAND_RELATIVE | PPC_OPERAND_SIGNED },
122 /* The BD field in a B form instruction when absolute addressing is
123 used. */
124 #define BDA BD + 1
125 { 0xfffc, 0, NULL, NULL, PPC_OPERAND_ABSOLUTE | PPC_OPERAND_SIGNED },
127 /* The BD field in a B form instruction when the - modifier is used.
128 This sets the y bit of the BO field appropriately. */
129 #define BDM BDA + 1
130 { 0xfffc, 0, insert_bdm, extract_bdm,
131 PPC_OPERAND_RELATIVE | PPC_OPERAND_SIGNED },
133 /* The BD field in a B form instruction when the - modifier is used
134 and absolute address is used. */
135 #define BDMA BDM + 1
136 { 0xfffc, 0, insert_bdm, extract_bdm,
137 PPC_OPERAND_ABSOLUTE | PPC_OPERAND_SIGNED },
139 /* The BD field in a B form instruction when the + modifier is used.
140 This sets the y bit of the BO field appropriately. */
141 #define BDP BDMA + 1
142 { 0xfffc, 0, insert_bdp, extract_bdp,
143 PPC_OPERAND_RELATIVE | PPC_OPERAND_SIGNED },
145 /* The BD field in a B form instruction when the + modifier is used
146 and absolute addressing is used. */
147 #define BDPA BDP + 1
148 { 0xfffc, 0, insert_bdp, extract_bdp,
149 PPC_OPERAND_ABSOLUTE | PPC_OPERAND_SIGNED },
151 /* The BF field in an X or XL form instruction. */
152 #define BF BDPA + 1
153 /* The CRFD field in an X form instruction. */
154 #define CRFD BF
155 { 0x7, 23, NULL, NULL, PPC_OPERAND_CR },
157 /* The BF field in an X or XL form instruction. */
158 #define BFF BF + 1
159 { 0x7, 23, NULL, NULL, 0 },
161 /* An optional BF field. This is used for comparison instructions,
162 in which an omitted BF field is taken as zero. */
163 #define OBF BFF + 1
164 { 0x7, 23, NULL, NULL, PPC_OPERAND_CR | PPC_OPERAND_OPTIONAL },
166 /* The BFA field in an X or XL form instruction. */
167 #define BFA OBF + 1
168 { 0x7, 18, NULL, NULL, PPC_OPERAND_CR },
170 /* The BO field in a B form instruction. Certain values are
171 illegal. */
172 #define BO BFA + 1
173 #define BO_MASK (0x1f << 21)
174 { 0x1f, 21, insert_bo, extract_bo, 0 },
176 /* The BO field in a B form instruction when the + or - modifier is
177 used. This is like the BO field, but it must be even. */
178 #define BOE BO + 1
179 { 0x1e, 21, insert_boe, extract_boe, 0 },
181 #define BH BOE + 1
182 { 0x3, 11, NULL, NULL, PPC_OPERAND_OPTIONAL },
184 /* The BT field in an X or XL form instruction. */
185 #define BT BH + 1
186 { 0x1f, 21, NULL, NULL, PPC_OPERAND_CR },
188 /* The condition register number portion of the BI field in a B form
189 or XL form instruction. This is used for the extended
190 conditional branch mnemonics, which set the lower two bits of the
191 BI field. This field is optional. */
192 #define CR BT + 1
193 { 0x7, 18, NULL, NULL, PPC_OPERAND_CR | PPC_OPERAND_OPTIONAL },
195 /* The CRB field in an X form instruction. */
196 #define CRB CR + 1
197 /* The MB field in an M form instruction. */
198 #define MB CRB
199 #define MB_MASK (0x1f << 6)
200 { 0x1f, 6, NULL, NULL, 0 },
202 /* The CRFS field in an X form instruction. */
203 #define CRFS CRB + 1
204 { 0x7, 0, NULL, NULL, PPC_OPERAND_CR },
206 /* The CT field in an X form instruction. */
207 #define CT CRFS + 1
208 /* The MO field in an mbar instruction. */
209 #define MO CT
210 { 0x1f, 21, NULL, NULL, PPC_OPERAND_OPTIONAL },
212 /* The D field in a D form instruction. This is a displacement off
213 a register, and implies that the next operand is a register in
214 parentheses. */
215 #define D CT + 1
216 { 0xffff, 0, NULL, NULL, PPC_OPERAND_PARENS | PPC_OPERAND_SIGNED },
218 /* The DE field in a DE form instruction. This is like D, but is 12
219 bits only. */
220 #define DE D + 1
221 { 0xfff, 4, NULL, NULL, PPC_OPERAND_PARENS | PPC_OPERAND_SIGNED },
223 /* The DES field in a DES form instruction. This is like DS, but is 14
224 bits only (12 stored.) */
225 #define DES DE + 1
226 { 0x3ffc, 2, NULL, NULL, PPC_OPERAND_PARENS | PPC_OPERAND_SIGNED },
228 /* The DQ field in a DQ form instruction. This is like D, but the
229 lower four bits are forced to zero. */
230 #define DQ DES + 1
231 { 0xfff0, 0, NULL, NULL,
232 PPC_OPERAND_PARENS | PPC_OPERAND_SIGNED | PPC_OPERAND_DQ },
234 /* The DS field in a DS form instruction. This is like D, but the
235 lower two bits are forced to zero. */
236 #define DS DQ + 1
237 { 0xfffc, 0, NULL, NULL,
238 PPC_OPERAND_PARENS | PPC_OPERAND_SIGNED | PPC_OPERAND_DS },
240 /* The E field in a wrteei instruction. */
241 /* And the W bit in the pair singles instructions. */
242 #define E DS + 1
243 #define PSW E
244 { 0x1, 15, NULL, NULL, 0 },
246 /* The FL1 field in a POWER SC form instruction. */
247 #define FL1 E + 1
248 /* The U field in an X form instruction. */
249 #define U FL1
250 { 0xf, 12, NULL, NULL, 0 },
252 /* The FL2 field in a POWER SC form instruction. */
253 #define FL2 FL1 + 1
254 { 0x7, 2, NULL, NULL, 0 },
256 /* The FLM field in an XFL form instruction. */
257 #define FLM FL2 + 1
258 { 0xff, 17, NULL, NULL, 0 },
260 /* The FRA field in an X or A form instruction. */
261 #define FRA FLM + 1
262 #define FRA_MASK (0x1f << 16)
263 { 0x1f, 16, NULL, NULL, PPC_OPERAND_FPR },
265 /* The FRB field in an X or A form instruction. */
266 #define FRB FRA + 1
267 #define FRB_MASK (0x1f << 11)
268 { 0x1f, 11, NULL, NULL, PPC_OPERAND_FPR },
270 /* The FRC field in an A form instruction. */
271 #define FRC FRB + 1
272 #define FRC_MASK (0x1f << 6)
273 { 0x1f, 6, NULL, NULL, PPC_OPERAND_FPR },
275 /* The FRS field in an X form instruction or the FRT field in a D, X
276 or A form instruction. */
277 #define FRS FRC + 1
278 #define FRT FRS
279 { 0x1f, 21, NULL, NULL, PPC_OPERAND_FPR },
281 /* The FXM field in an XFX instruction. */
282 #define FXM FRS + 1
283 { 0xff, 12, insert_fxm, extract_fxm, 0 },
285 /* Power4 version for mfcr. */
286 #define FXM4 FXM + 1
287 { 0xff, 12, insert_fxm, extract_fxm, PPC_OPERAND_OPTIONAL },
289 /* The L field in a D or X form instruction. */
290 #define L FXM4 + 1
291 { 0x1, 21, NULL, NULL, PPC_OPERAND_OPTIONAL },
293 /* The LEV field in a POWER SVC form instruction. */
294 #define SVC_LEV L + 1
295 { 0x7f, 5, NULL, NULL, 0 },
297 /* The LEV field in an SC form instruction. */
298 #define LEV SVC_LEV + 1
299 { 0x7f, 5, NULL, NULL, PPC_OPERAND_OPTIONAL },
301 /* The LI field in an I form instruction. The lower two bits are
302 forced to zero. */
303 #define LI LEV + 1
304 { 0x3fffffc, 0, NULL, NULL, PPC_OPERAND_RELATIVE | PPC_OPERAND_SIGNED },
306 /* The LI field in an I form instruction when used as an absolute
307 address. */
308 #define LIA LI + 1
309 { 0x3fffffc, 0, NULL, NULL, PPC_OPERAND_ABSOLUTE | PPC_OPERAND_SIGNED },
311 /* The LS field in an X (sync) form instruction. */
312 #define LS LIA + 1
313 { 0x3, 21, NULL, NULL, PPC_OPERAND_OPTIONAL },
315 /* The ME field in an M form instruction. */
316 #define ME LS + 1
317 #define ME_MASK (0x1f << 1)
318 { 0x1f, 1, NULL, NULL, 0 },
320 /* The MB and ME fields in an M form instruction expressed a single
321 operand which is a bitmask indicating which bits to select. This
322 is a two operand form using PPC_OPERAND_NEXT. See the
323 description in opcode/ppc.h for what this means. */
324 #define MBE ME + 1
325 { 0x1f, 6, NULL, NULL, PPC_OPERAND_OPTIONAL | PPC_OPERAND_NEXT },
326 { -1, 0, insert_mbe, extract_mbe, 0 },
328 /* The MB or ME field in an MD or MDS form instruction. The high
329 bit is wrapped to the low end. */
330 #define MB6 MBE + 2
331 #define ME6 MB6
332 #define MB6_MASK (0x3f << 5)
333 { 0x3f, 5, insert_mb6, extract_mb6, 0 },
335 /* The NB field in an X form instruction. The value 32 is stored as
336 0. */
337 #define NB MB6 + 1
338 { 0x1f, 11, NULL, extract_nb, PPC_OPERAND_PLUS1 },
340 /* The NSI field in a D form instruction. This is the same as the
341 SI field, only negated. */
342 #define NSI NB + 1
343 { 0xffff, 0, insert_nsi, extract_nsi,
344 PPC_OPERAND_NEGATIVE | PPC_OPERAND_SIGNED },
346 /* The RA field in an D, DS, DQ, X, XO, M, or MDS form instruction. */
347 #define RA NSI + 1
348 #define RA_MASK (0x1f << 16)
349 { 0x1f, 16, NULL, NULL, PPC_OPERAND_GPR },
351 /* As above, but 0 in the RA field means zero, not r0. */
352 #define RA0 RA + 1
353 { 0x1f, 16, NULL, NULL, PPC_OPERAND_GPR_0 },
355 /* The RA field in the DQ form lq instruction, which has special
356 value restrictions. */
357 #define RAQ RA0 + 1
358 { 0x1f, 16, insert_raq, NULL, PPC_OPERAND_GPR_0 },
360 /* The RA field in a D or X form instruction which is an updating
361 load, which means that the RA field may not be zero and may not
362 equal the RT field. */
363 #define RAL RAQ + 1
364 { 0x1f, 16, insert_ral, NULL, PPC_OPERAND_GPR_0 },
366 /* The RA field in an lmw instruction, which has special value
367 restrictions. */
368 #define RAM RAL + 1
369 { 0x1f, 16, insert_ram, NULL, PPC_OPERAND_GPR_0 },
371 /* The RA field in a D or X form instruction which is an updating
372 store or an updating floating point load, which means that the RA
373 field may not be zero. */
374 #define RAS RAM + 1
375 { 0x1f, 16, insert_ras, NULL, PPC_OPERAND_GPR_0 },
377 /* The RA field of the tlbwe instruction, which is optional. */
378 #define RAOPT RAS + 1
379 { 0x1f, 16, NULL, NULL, PPC_OPERAND_GPR | PPC_OPERAND_OPTIONAL },
381 /* The RB field in an X, XO, M, or MDS form instruction. */
382 #define RB RAOPT + 1
383 #define RB_MASK (0x1f << 11)
384 { 0x1f, 11, NULL, NULL, PPC_OPERAND_GPR },
386 /* The RB field in an X form instruction when it must be the same as
387 the RS field in the instruction. This is used for extended
388 mnemonics like mr. */
389 #define RBS RB + 1
390 { 0x1f, 11, insert_rbs, extract_rbs, PPC_OPERAND_FAKE },
392 /* The RS field in a D, DS, X, XFX, XS, M, MD or MDS form
393 instruction or the RT field in a D, DS, X, XFX or XO form
394 instruction. */
395 #define RS RBS + 1
396 #define RT RS
397 #define RT_MASK (0x1f << 21)
398 { 0x1f, 21, NULL, NULL, PPC_OPERAND_GPR },
400 /* The RS and RT fields of the DS form stq instruction, which have
401 special value restrictions. */
402 #define RSQ RS + 1
403 #define RTQ RSQ
404 { 0x1e, 21, NULL, NULL, PPC_OPERAND_GPR_0 },
406 /* The RS field of the tlbwe instruction, which is optional. */
407 #define RSO RSQ + 1
408 #define RTO RSO
409 { 0x1f, 21, NULL, NULL, PPC_OPERAND_GPR | PPC_OPERAND_OPTIONAL },
411 /* The SH field in an X or M form instruction. */
412 #define SH RSO + 1
413 #define SH_MASK (0x1f << 11)
414 /* The other UIMM field in a EVX form instruction. */
415 #define EVUIMM SH
416 { 0x1f, 11, NULL, NULL, 0 },
418 /* The SH field in an MD form instruction. This is split. */
419 #define SH6 SH + 1
420 #define SH6_MASK ((0x1f << 11) | (1 << 1))
421 { 0x3f, -1, insert_sh6, extract_sh6, 0 },
423 /* The SH field of the tlbwe instruction, which is optional. */
424 #define SHO SH6 + 1
425 { 0x1f, 11, NULL, NULL, PPC_OPERAND_OPTIONAL },
427 /* The SI field in a D form instruction. */
428 #define SI SHO + 1
429 { 0xffff, 0, NULL, NULL, PPC_OPERAND_SIGNED },
431 /* The SI field in a D form instruction when we accept a wide range
432 of positive values. */
433 #define SISIGNOPT SI + 1
434 { 0xffff, 0, NULL, NULL, PPC_OPERAND_SIGNED | PPC_OPERAND_SIGNOPT },
436 /* The SPR field in an XFX form instruction. This is flipped--the
437 lower 5 bits are stored in the upper 5 and vice- versa. */
438 #define SPR SISIGNOPT + 1
439 #define PMR SPR
440 #define SPR_MASK (0x3ff << 11)
441 { 0x3ff, 11, insert_spr, extract_spr, 0 },
443 /* The BAT index number in an XFX form m[ft]ibat[lu] instruction. */
444 #define SPRBAT SPR + 1
445 #define SPRBAT_MASK (0x3 << 17)
446 { 0x3, 17, NULL, NULL, 0 },
448 /* The SPRG register number in an XFX form m[ft]sprg instruction. */
449 #define SPRG SPRBAT + 1
450 { 0x1f, 16, insert_sprg, extract_sprg, 0 },
452 /* The SR field in an X form instruction. */
453 #define SR SPRG + 1
454 { 0xf, 16, NULL, NULL, 0 },
456 /* The STRM field in an X AltiVec form instruction. */
457 #define STRM SR + 1
458 { 0x3, 21, NULL, NULL, 0 },
460 /* The SV field in a POWER SC form instruction. */
461 #define SV STRM + 1
462 { 0x3fff, 2, NULL, NULL, 0 },
464 /* The TBR field in an XFX form instruction. This is like the SPR
465 field, but it is optional. */
466 #define TBR SV + 1
467 { 0x3ff, 11, insert_tbr, extract_tbr, PPC_OPERAND_OPTIONAL },
469 /* The TO field in a D or X form instruction. */
470 #define TO TBR + 1
471 #define TO_MASK (0x1f << 21)
472 { 0x1f, 21, NULL, NULL, 0 },
474 /* The UI field in a D form instruction. */
475 #define UI TO + 1
476 { 0xffff, 0, NULL, NULL, 0 },
478 /* The VA field in a VA, VX or VXR form instruction. */
479 #define VA UI + 1
480 { 0x1f, 16, NULL, NULL, PPC_OPERAND_VR },
482 /* The VB field in a VA, VX or VXR form instruction. */
483 #define VB VA + 1
484 { 0x1f, 11, NULL, NULL, PPC_OPERAND_VR },
486 /* The VC field in a VA form instruction. */
487 #define VC VB + 1
488 { 0x1f, 6, NULL, NULL, PPC_OPERAND_VR },
490 /* The VD or VS field in a VA, VX, VXR or X form instruction. */
491 #define VD VC + 1
492 #define VS VD
493 { 0x1f, 21, NULL, NULL, PPC_OPERAND_VR },
495 /* The SIMM field in a VX form instruction. */
496 #define SIMM VD + 1
497 { 0x1f, 16, NULL, NULL, PPC_OPERAND_SIGNED},
499 /* The UIMM field in a VX form instruction, and TE in Z form. */
500 #define UIMM SIMM + 1
501 #define TE UIMM
502 { 0x1f, 16, NULL, NULL, 0 },
504 /* The SHB field in a VA form instruction. */
505 #define SHB UIMM + 1
506 { 0xf, 6, NULL, NULL, 0 },
508 /* The other UIMM field in a half word EVX form instruction. */
509 #define EVUIMM_2 SHB + 1
510 { 0x3e, 10, NULL, NULL, PPC_OPERAND_PARENS },
512 /* The other UIMM field in a word EVX form instruction. */
513 #define EVUIMM_4 EVUIMM_2 + 1
514 { 0x7c, 9, NULL, NULL, PPC_OPERAND_PARENS },
516 /* The other UIMM field in a double EVX form instruction. */
517 #define EVUIMM_8 EVUIMM_4 + 1
518 { 0xf8, 8, NULL, NULL, PPC_OPERAND_PARENS },
520 /* The WS field. */
521 #define WS EVUIMM_8 + 1
522 { 0x7, 11, NULL, NULL, 0 },
524 /* PowerPC paired singles extensions. */
525 /* W bit in the pair singles instructions for x type instructions. */
526 #define PSWM WS + 1
527 { 0x1, 10, 0, 0, 0 },
529 /* IDX bits for quantization in the pair singles instructions. */
530 #define PSQ PSWM + 1
531 { 0x7, 12, 0, 0, 0 },
533 /* IDX bits for quantization in the pair singles x-type instructions. */
534 #define PSQM PSQ + 1
535 { 0x7, 7, 0, 0, 0 },
537 /* Smaller D field for quantization in the pair singles instructions. */
538 #define PSD PSQM + 1
539 { 0xfff, 0, 0, 0, PPC_OPERAND_PARENS | PPC_OPERAND_SIGNED },
541 #define A_L PSD + 1
542 #define W A_L
543 #define MTMSRD_L W
544 { 0x1, 16, NULL, NULL, PPC_OPERAND_OPTIONAL },
546 #define RMC MTMSRD_L + 1
547 { 0x3, 9, NULL, NULL, 0 },
549 #define R RMC + 1
550 { 0x1, 16, NULL, NULL, 0 },
552 #define SP R + 1
553 { 0x3, 19, NULL, NULL, 0 },
555 #define S SP + 1
556 { 0x1, 20, NULL, NULL, 0 },
558 /* SH field starting at bit position 16. */
559 #define SH16 S + 1
560 /* The DCM and DGM fields in a Z form instruction. */
561 #define DCM SH16
562 #define DGM DCM
563 { 0x3f, 10, NULL, NULL, 0 },
565 /* The EH field in larx instruction. */
566 #define EH SH16 + 1
567 { 0x1, 0, NULL, NULL, PPC_OPERAND_OPTIONAL },
569 /* The L field in an mtfsf or XFL form instruction. */
570 #define XFL_L EH + 1
571 { 0x1, 25, NULL, NULL, PPC_OPERAND_OPTIONAL},
574 const unsigned int num_powerpc_operands = (sizeof (powerpc_operands)
575 / sizeof (powerpc_operands[0]));
577 /* The functions used to insert and extract complicated operands. */
579 /* The BA field in an XL form instruction when it must be the same as
580 the BT field in the same instruction. This operand is marked FAKE.
581 The insertion function just copies the BT field into the BA field,
582 and the extraction function just checks that the fields are the
583 same. */
585 static unsigned long
586 insert_bat (unsigned long insn,
587 long value ATTRIBUTE_UNUSED,
588 int dialect ATTRIBUTE_UNUSED,
589 const char **errmsg ATTRIBUTE_UNUSED)
591 return insn | (((insn >> 21) & 0x1f) << 16);
594 static long
595 extract_bat (unsigned long insn,
596 int dialect ATTRIBUTE_UNUSED,
597 int *invalid)
599 if (((insn >> 21) & 0x1f) != ((insn >> 16) & 0x1f))
600 *invalid = 1;
601 return 0;
604 /* The BB field in an XL form instruction when it must be the same as
605 the BA field in the same instruction. This operand is marked FAKE.
606 The insertion function just copies the BA field into the BB field,
607 and the extraction function just checks that the fields are the
608 same. */
610 static unsigned long
611 insert_bba (unsigned long insn,
612 long value ATTRIBUTE_UNUSED,
613 int dialect ATTRIBUTE_UNUSED,
614 const char **errmsg ATTRIBUTE_UNUSED)
616 return insn | (((insn >> 16) & 0x1f) << 11);
619 static long
620 extract_bba (unsigned long insn,
621 int dialect ATTRIBUTE_UNUSED,
622 int *invalid)
624 if (((insn >> 16) & 0x1f) != ((insn >> 11) & 0x1f))
625 *invalid = 1;
626 return 0;
629 /* The BD field in a B form instruction when the - modifier is used.
630 This modifier means that the branch is not expected to be taken.
631 For chips built to versions of the architecture prior to version 2
632 (ie. not Power4 compatible), we set the y bit of the BO field to 1
633 if the offset is negative. When extracting, we require that the y
634 bit be 1 and that the offset be positive, since if the y bit is 0
635 we just want to print the normal form of the instruction.
636 Power4 compatible targets use two bits, "a", and "t", instead of
637 the "y" bit. "at" == 00 => no hint, "at" == 01 => unpredictable,
638 "at" == 10 => not taken, "at" == 11 => taken. The "t" bit is 00001
639 in BO field, the "a" bit is 00010 for branch on CR(BI) and 01000
640 for branch on CTR. We only handle the taken/not-taken hint here.
641 Note that we don't relax the conditions tested here when
642 disassembling with -Many because insns using extract_bdm and
643 extract_bdp always occur in pairs. One or the other will always
644 be valid. */
646 static unsigned long
647 insert_bdm (unsigned long insn,
648 long value,
649 int dialect,
650 const char **errmsg ATTRIBUTE_UNUSED)
652 if ((dialect & PPC_OPCODE_POWER4) == 0)
654 if ((value & 0x8000) != 0)
655 insn |= 1 << 21;
657 else
659 if ((insn & (0x14 << 21)) == (0x04 << 21))
660 insn |= 0x02 << 21;
661 else if ((insn & (0x14 << 21)) == (0x10 << 21))
662 insn |= 0x08 << 21;
664 return insn | (value & 0xfffc);
667 static long
668 extract_bdm (unsigned long insn,
669 int dialect,
670 int *invalid)
672 if ((dialect & PPC_OPCODE_POWER4) == 0)
674 if (((insn & (1 << 21)) == 0) != ((insn & (1 << 15)) == 0))
675 *invalid = 1;
677 else
679 if ((insn & (0x17 << 21)) != (0x06 << 21)
680 && (insn & (0x1d << 21)) != (0x18 << 21))
681 *invalid = 1;
684 return ((insn & 0xfffc) ^ 0x8000) - 0x8000;
687 /* The BD field in a B form instruction when the + modifier is used.
688 This is like BDM, above, except that the branch is expected to be
689 taken. */
691 static unsigned long
692 insert_bdp (unsigned long insn,
693 long value,
694 int dialect,
695 const char **errmsg ATTRIBUTE_UNUSED)
697 if ((dialect & PPC_OPCODE_POWER4) == 0)
699 if ((value & 0x8000) == 0)
700 insn |= 1 << 21;
702 else
704 if ((insn & (0x14 << 21)) == (0x04 << 21))
705 insn |= 0x03 << 21;
706 else if ((insn & (0x14 << 21)) == (0x10 << 21))
707 insn |= 0x09 << 21;
709 return insn | (value & 0xfffc);
712 static long
713 extract_bdp (unsigned long insn,
714 int dialect,
715 int *invalid)
717 if ((dialect & PPC_OPCODE_POWER4) == 0)
719 if (((insn & (1 << 21)) == 0) == ((insn & (1 << 15)) == 0))
720 *invalid = 1;
722 else
724 if ((insn & (0x17 << 21)) != (0x07 << 21)
725 && (insn & (0x1d << 21)) != (0x19 << 21))
726 *invalid = 1;
729 return ((insn & 0xfffc) ^ 0x8000) - 0x8000;
732 /* Check for legal values of a BO field. */
734 static int
735 valid_bo (long value, int dialect, int extract)
737 if ((dialect & PPC_OPCODE_POWER4) == 0)
739 int valid;
740 /* Certain encodings have bits that are required to be zero.
741 These are (z must be zero, y may be anything):
742 001zy
743 011zy
744 1z00y
745 1z01y
746 1z1zz
748 switch (value & 0x14)
750 default:
751 case 0:
752 valid = 1;
753 break;
754 case 0x4:
755 valid = (value & 0x2) == 0;
756 break;
757 case 0x10:
758 valid = (value & 0x8) == 0;
759 break;
760 case 0x14:
761 valid = value == 0x14;
762 break;
764 /* When disassembling with -Many, accept power4 encodings too. */
765 if (valid
766 || (dialect & PPC_OPCODE_ANY) == 0
767 || !extract)
768 return valid;
771 /* Certain encodings have bits that are required to be zero.
772 These are (z must be zero, a & t may be anything):
773 0000z
774 0001z
775 0100z
776 0101z
777 001at
778 011at
779 1a00t
780 1a01t
781 1z1zz
783 if ((value & 0x14) == 0)
784 return (value & 0x1) == 0;
785 else if ((value & 0x14) == 0x14)
786 return value == 0x14;
787 else
788 return 1;
791 /* The BO field in a B form instruction. Warn about attempts to set
792 the field to an illegal value. */
794 static unsigned long
795 insert_bo (unsigned long insn,
796 long value,
797 int dialect,
798 const char **errmsg)
800 if (!valid_bo (value, dialect, 0))
801 *errmsg = _("invalid conditional option");
802 return insn | ((value & 0x1f) << 21);
805 static long
806 extract_bo (unsigned long insn,
807 int dialect,
808 int *invalid)
810 long value;
812 value = (insn >> 21) & 0x1f;
813 if (!valid_bo (value, dialect, 1))
814 *invalid = 1;
815 return value;
818 /* The BO field in a B form instruction when the + or - modifier is
819 used. This is like the BO field, but it must be even. When
820 extracting it, we force it to be even. */
822 static unsigned long
823 insert_boe (unsigned long insn,
824 long value,
825 int dialect,
826 const char **errmsg)
828 if (!valid_bo (value, dialect, 0))
829 *errmsg = _("invalid conditional option");
830 else if ((value & 1) != 0)
831 *errmsg = _("attempt to set y bit when using + or - modifier");
833 return insn | ((value & 0x1f) << 21);
836 static long
837 extract_boe (unsigned long insn,
838 int dialect,
839 int *invalid)
841 long value;
843 value = (insn >> 21) & 0x1f;
844 if (!valid_bo (value, dialect, 1))
845 *invalid = 1;
846 return value & 0x1e;
849 /* FXM mask in mfcr and mtcrf instructions. */
851 static unsigned long
852 insert_fxm (unsigned long insn,
853 long value,
854 int dialect,
855 const char **errmsg)
857 /* If we're handling the mfocrf and mtocrf insns ensure that exactly
858 one bit of the mask field is set. */
859 if ((insn & (1 << 20)) != 0)
861 if (value == 0 || (value & -value) != value)
863 *errmsg = _("invalid mask field");
864 value = 0;
868 /* If the optional field on mfcr is missing that means we want to use
869 the old form of the instruction that moves the whole cr. In that
870 case we'll have VALUE zero. There doesn't seem to be a way to
871 distinguish this from the case where someone writes mfcr %r3,0. */
872 else if (value == 0)
875 /* If only one bit of the FXM field is set, we can use the new form
876 of the instruction, which is faster. Unlike the Power4 branch hint
877 encoding, this is not backward compatible. Do not generate the
878 new form unless -mpower4 has been given, or -many and the two
879 operand form of mfcr was used. */
880 else if ((value & -value) == value
881 && ((dialect & PPC_OPCODE_POWER4) != 0
882 || ((dialect & PPC_OPCODE_ANY) != 0
883 && (insn & (0x3ff << 1)) == 19 << 1)))
884 insn |= 1 << 20;
886 /* Any other value on mfcr is an error. */
887 else if ((insn & (0x3ff << 1)) == 19 << 1)
889 *errmsg = _("ignoring invalid mfcr mask");
890 value = 0;
893 return insn | ((value & 0xff) << 12);
896 static long
897 extract_fxm (unsigned long insn,
898 int dialect ATTRIBUTE_UNUSED,
899 int *invalid)
901 long mask = (insn >> 12) & 0xff;
903 /* Is this a Power4 insn? */
904 if ((insn & (1 << 20)) != 0)
906 /* Exactly one bit of MASK should be set. */
907 if (mask == 0 || (mask & -mask) != mask)
908 *invalid = 1;
911 /* Check that non-power4 form of mfcr has a zero MASK. */
912 else if ((insn & (0x3ff << 1)) == 19 << 1)
914 if (mask != 0)
915 *invalid = 1;
918 return mask;
921 /* The MB and ME fields in an M form instruction expressed as a single
922 operand which is itself a bitmask. The extraction function always
923 marks it as invalid, since we never want to recognize an
924 instruction which uses a field of this type. */
926 static unsigned long
927 insert_mbe (unsigned long insn,
928 long value,
929 int dialect ATTRIBUTE_UNUSED,
930 const char **errmsg)
932 unsigned long uval, mask;
933 int mb, me, mx, count, last;
935 uval = value;
937 if (uval == 0)
939 *errmsg = _("illegal bitmask");
940 return insn;
943 mb = 0;
944 me = 32;
945 if ((uval & 1) != 0)
946 last = 1;
947 else
948 last = 0;
949 count = 0;
951 /* mb: location of last 0->1 transition */
952 /* me: location of last 1->0 transition */
953 /* count: # transitions */
955 for (mx = 0, mask = 1L << 31; mx < 32; ++mx, mask >>= 1)
957 if ((uval & mask) && !last)
959 ++count;
960 mb = mx;
961 last = 1;
963 else if (!(uval & mask) && last)
965 ++count;
966 me = mx;
967 last = 0;
970 if (me == 0)
971 me = 32;
973 if (count != 2 && (count != 0 || ! last))
974 *errmsg = _("illegal bitmask");
976 return insn | (mb << 6) | ((me - 1) << 1);
979 static long
980 extract_mbe (unsigned long insn,
981 int dialect ATTRIBUTE_UNUSED,
982 int *invalid)
984 long ret;
985 int mb, me;
986 int i;
988 *invalid = 1;
990 mb = (insn >> 6) & 0x1f;
991 me = (insn >> 1) & 0x1f;
992 if (mb < me + 1)
994 ret = 0;
995 for (i = mb; i <= me; i++)
996 ret |= 1L << (31 - i);
998 else if (mb == me + 1)
999 ret = ~0;
1000 else /* (mb > me + 1) */
1002 ret = ~0;
1003 for (i = me + 1; i < mb; i++)
1004 ret &= ~(1L << (31 - i));
1006 return ret;
1009 /* The MB or ME field in an MD or MDS form instruction. The high bit
1010 is wrapped to the low end. */
1012 static unsigned long
1013 insert_mb6 (unsigned long insn,
1014 long value,
1015 int dialect ATTRIBUTE_UNUSED,
1016 const char **errmsg ATTRIBUTE_UNUSED)
1018 return insn | ((value & 0x1f) << 6) | (value & 0x20);
1021 static long
1022 extract_mb6 (unsigned long insn,
1023 int dialect ATTRIBUTE_UNUSED,
1024 int *invalid ATTRIBUTE_UNUSED)
1026 return ((insn >> 6) & 0x1f) | (insn & 0x20);
1029 /* The NB field in an X form instruction. The value 32 is stored as
1030 0. */
1032 static long
1033 extract_nb (unsigned long insn,
1034 int dialect ATTRIBUTE_UNUSED,
1035 int *invalid ATTRIBUTE_UNUSED)
1037 long ret;
1039 ret = (insn >> 11) & 0x1f;
1040 if (ret == 0)
1041 ret = 32;
1042 return ret;
1045 /* The NSI field in a D form instruction. This is the same as the SI
1046 field, only negated. The extraction function always marks it as
1047 invalid, since we never want to recognize an instruction which uses
1048 a field of this type. */
1050 static unsigned long
1051 insert_nsi (unsigned long insn,
1052 long value,
1053 int dialect ATTRIBUTE_UNUSED,
1054 const char **errmsg ATTRIBUTE_UNUSED)
1056 return insn | (-value & 0xffff);
1059 static long
1060 extract_nsi (unsigned long insn,
1061 int dialect ATTRIBUTE_UNUSED,
1062 int *invalid)
1064 *invalid = 1;
1065 return -(((insn & 0xffff) ^ 0x8000) - 0x8000);
1068 /* The RA field in a D or X form instruction which is an updating
1069 load, which means that the RA field may not be zero and may not
1070 equal the RT field. */
1072 static unsigned long
1073 insert_ral (unsigned long insn,
1074 long value,
1075 int dialect ATTRIBUTE_UNUSED,
1076 const char **errmsg)
1078 if (value == 0
1079 || (unsigned long) value == ((insn >> 21) & 0x1f))
1080 *errmsg = "invalid register operand when updating";
1081 return insn | ((value & 0x1f) << 16);
1084 /* The RA field in an lmw instruction, which has special value
1085 restrictions. */
1087 static unsigned long
1088 insert_ram (unsigned long insn,
1089 long value,
1090 int dialect ATTRIBUTE_UNUSED,
1091 const char **errmsg)
1093 if ((unsigned long) value >= ((insn >> 21) & 0x1f))
1094 *errmsg = _("index register in load range");
1095 return insn | ((value & 0x1f) << 16);
1098 /* The RA field in the DQ form lq instruction, which has special
1099 value restrictions. */
1101 static unsigned long
1102 insert_raq (unsigned long insn,
1103 long value,
1104 int dialect ATTRIBUTE_UNUSED,
1105 const char **errmsg)
1107 long rtvalue = (insn & RT_MASK) >> 21;
1109 if (value == rtvalue)
1110 *errmsg = _("source and target register operands must be different");
1111 return insn | ((value & 0x1f) << 16);
1114 /* The RA field in a D or X form instruction which is an updating
1115 store or an updating floating point load, which means that the RA
1116 field may not be zero. */
1118 static unsigned long
1119 insert_ras (unsigned long insn,
1120 long value,
1121 int dialect ATTRIBUTE_UNUSED,
1122 const char **errmsg)
1124 if (value == 0)
1125 *errmsg = _("invalid register operand when updating");
1126 return insn | ((value & 0x1f) << 16);
1129 /* The RB field in an X form instruction when it must be the same as
1130 the RS field in the instruction. This is used for extended
1131 mnemonics like mr. This operand is marked FAKE. The insertion
1132 function just copies the BT field into the BA field, and the
1133 extraction function just checks that the fields are the same. */
1135 static unsigned long
1136 insert_rbs (unsigned long insn,
1137 long value ATTRIBUTE_UNUSED,
1138 int dialect ATTRIBUTE_UNUSED,
1139 const char **errmsg ATTRIBUTE_UNUSED)
1141 return insn | (((insn >> 21) & 0x1f) << 11);
1144 static long
1145 extract_rbs (unsigned long insn,
1146 int dialect ATTRIBUTE_UNUSED,
1147 int *invalid)
1149 if (((insn >> 21) & 0x1f) != ((insn >> 11) & 0x1f))
1150 *invalid = 1;
1151 return 0;
1154 /* The SH field in an MD form instruction. This is split. */
1156 static unsigned long
1157 insert_sh6 (unsigned long insn,
1158 long value,
1159 int dialect ATTRIBUTE_UNUSED,
1160 const char **errmsg ATTRIBUTE_UNUSED)
1162 return insn | ((value & 0x1f) << 11) | ((value & 0x20) >> 4);
1165 static long
1166 extract_sh6 (unsigned long insn,
1167 int dialect ATTRIBUTE_UNUSED,
1168 int *invalid ATTRIBUTE_UNUSED)
1170 return ((insn >> 11) & 0x1f) | ((insn << 4) & 0x20);
1173 /* The SPR field in an XFX form instruction. This is flipped--the
1174 lower 5 bits are stored in the upper 5 and vice- versa. */
1176 static unsigned long
1177 insert_spr (unsigned long insn,
1178 long value,
1179 int dialect ATTRIBUTE_UNUSED,
1180 const char **errmsg ATTRIBUTE_UNUSED)
1182 return insn | ((value & 0x1f) << 16) | ((value & 0x3e0) << 6);
1185 static long
1186 extract_spr (unsigned long insn,
1187 int dialect ATTRIBUTE_UNUSED,
1188 int *invalid ATTRIBUTE_UNUSED)
1190 return ((insn >> 16) & 0x1f) | ((insn >> 6) & 0x3e0);
1193 /* Some dialects have 8 SPRG registers instead of the standard 4. */
1195 static unsigned long
1196 insert_sprg (unsigned long insn,
1197 long value,
1198 int dialect,
1199 const char **errmsg)
1201 /* This check uses PPC_OPCODE_403 because PPC405 is later defined
1202 as a synonym. If ever a 405 specific dialect is added this
1203 check should use that instead. */
1204 if (value > 7
1205 || (value > 3
1206 && (dialect & (PPC_OPCODE_BOOKE | PPC_OPCODE_403)) == 0))
1207 *errmsg = _("invalid sprg number");
1209 /* If this is mfsprg4..7 then use spr 260..263 which can be read in
1210 user mode. Anything else must use spr 272..279. */
1211 if (value <= 3 || (insn & 0x100) != 0)
1212 value |= 0x10;
1214 return insn | ((value & 0x17) << 16);
1217 static long
1218 extract_sprg (unsigned long insn,
1219 int dialect,
1220 int *invalid)
1222 unsigned long val = (insn >> 16) & 0x1f;
1224 /* mfsprg can use 260..263 and 272..279. mtsprg only uses spr 272..279
1225 If not BOOKE or 405, then both use only 272..275. */
1226 if (val <= 3
1227 || (val < 0x10 && (insn & 0x100) != 0)
1228 || (val - 0x10 > 3
1229 && (dialect & (PPC_OPCODE_BOOKE | PPC_OPCODE_403)) == 0))
1230 *invalid = 1;
1231 return val & 7;
1234 /* The TBR field in an XFX instruction. This is just like SPR, but it
1235 is optional. When TBR is omitted, it must be inserted as 268 (the
1236 magic number of the TB register). These functions treat 0
1237 (indicating an omitted optional operand) as 268. This means that
1238 ``mftb 4,0'' is not handled correctly. This does not matter very
1239 much, since the architecture manual does not define mftb as
1240 accepting any values other than 268 or 269. */
1242 #define TB (268)
1244 static unsigned long
1245 insert_tbr (unsigned long insn,
1246 long value,
1247 int dialect ATTRIBUTE_UNUSED,
1248 const char **errmsg ATTRIBUTE_UNUSED)
1250 if (value == 0)
1251 value = TB;
1252 return insn | ((value & 0x1f) << 16) | ((value & 0x3e0) << 6);
1255 static long
1256 extract_tbr (unsigned long insn,
1257 int dialect ATTRIBUTE_UNUSED,
1258 int *invalid ATTRIBUTE_UNUSED)
1260 long ret;
1262 ret = ((insn >> 16) & 0x1f) | ((insn >> 6) & 0x3e0);
1263 if (ret == TB)
1264 ret = 0;
1265 return ret;
1268 /* Macros used to form opcodes. */
1270 /* The main opcode. */
1271 #define OP(x) ((((unsigned long)(x)) & 0x3f) << 26)
1272 #define OP_MASK OP (0x3f)
1274 /* The main opcode combined with a trap code in the TO field of a D
1275 form instruction. Used for extended mnemonics for the trap
1276 instructions. */
1277 #define OPTO(x,to) (OP (x) | ((((unsigned long)(to)) & 0x1f) << 21))
1278 #define OPTO_MASK (OP_MASK | TO_MASK)
1280 /* The main opcode combined with a comparison size bit in the L field
1281 of a D form or X form instruction. Used for extended mnemonics for
1282 the comparison instructions. */
1283 #define OPL(x,l) (OP (x) | ((((unsigned long)(l)) & 1) << 21))
1284 #define OPL_MASK OPL (0x3f,1)
1286 /* An A form instruction. */
1287 #define A(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x1f) << 1) | (((unsigned long)(rc)) & 1))
1288 #define A_MASK A (0x3f, 0x1f, 1)
1290 /* An A_MASK with the FRB field fixed. */
1291 #define AFRB_MASK (A_MASK | FRB_MASK)
1293 /* An A_MASK with the FRC field fixed. */
1294 #define AFRC_MASK (A_MASK | FRC_MASK)
1296 /* An A_MASK with the FRA and FRC fields fixed. */
1297 #define AFRAFRC_MASK (A_MASK | FRA_MASK | FRC_MASK)
1299 /* An AFRAFRC_MASK, but with L bit clear. */
1300 #define AFRALFRC_MASK (AFRAFRC_MASK & ~((unsigned long) 1 << 16))
1302 /* A B form instruction. */
1303 #define B(op, aa, lk) (OP (op) | ((((unsigned long)(aa)) & 1) << 1) | ((lk) & 1))
1304 #define B_MASK B (0x3f, 1, 1)
1306 /* A B form instruction setting the BO field. */
1307 #define BBO(op, bo, aa, lk) (B ((op), (aa), (lk)) | ((((unsigned long)(bo)) & 0x1f) << 21))
1308 #define BBO_MASK BBO (0x3f, 0x1f, 1, 1)
1310 /* A BBO_MASK with the y bit of the BO field removed. This permits
1311 matching a conditional branch regardless of the setting of the y
1312 bit. Similarly for the 'at' bits used for power4 branch hints. */
1313 #define Y_MASK (((unsigned long) 1) << 21)
1314 #define AT1_MASK (((unsigned long) 3) << 21)
1315 #define AT2_MASK (((unsigned long) 9) << 21)
1316 #define BBOY_MASK (BBO_MASK &~ Y_MASK)
1317 #define BBOAT_MASK (BBO_MASK &~ AT1_MASK)
1319 /* A B form instruction setting the BO field and the condition bits of
1320 the BI field. */
1321 #define BBOCB(op, bo, cb, aa, lk) \
1322 (BBO ((op), (bo), (aa), (lk)) | ((((unsigned long)(cb)) & 0x3) << 16))
1323 #define BBOCB_MASK BBOCB (0x3f, 0x1f, 0x3, 1, 1)
1325 /* A BBOCB_MASK with the y bit of the BO field removed. */
1326 #define BBOYCB_MASK (BBOCB_MASK &~ Y_MASK)
1327 #define BBOATCB_MASK (BBOCB_MASK &~ AT1_MASK)
1328 #define BBOAT2CB_MASK (BBOCB_MASK &~ AT2_MASK)
1330 /* A BBOYCB_MASK in which the BI field is fixed. */
1331 #define BBOYBI_MASK (BBOYCB_MASK | BI_MASK)
1332 #define BBOATBI_MASK (BBOAT2CB_MASK | BI_MASK)
1334 /* An Context form instruction. */
1335 #define CTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7))
1336 #define CTX_MASK CTX(0x3f, 0x7)
1338 /* An User Context form instruction. */
1339 #define UCTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x1f))
1340 #define UCTX_MASK UCTX(0x3f, 0x1f)
1342 /* The main opcode mask with the RA field clear. */
1343 #define DRA_MASK (OP_MASK | RA_MASK)
1345 /* A DS form instruction. */
1346 #define DSO(op, xop) (OP (op) | ((xop) & 0x3))
1347 #define DS_MASK DSO (0x3f, 3)
1349 /* A DE form instruction. */
1350 #define DEO(op, xop) (OP (op) | ((xop) & 0xf))
1351 #define DE_MASK DEO (0x3e, 0xf)
1353 /* An EVSEL form instruction. */
1354 #define EVSEL(op, xop) (OP (op) | (((unsigned long)(xop)) & 0xff) << 3)
1355 #define EVSEL_MASK EVSEL(0x3f, 0xff)
1357 /* An M form instruction. */
1358 #define M(op, rc) (OP (op) | ((rc) & 1))
1359 #define M_MASK M (0x3f, 1)
1361 /* An M form instruction with the ME field specified. */
1362 #define MME(op, me, rc) (M ((op), (rc)) | ((((unsigned long)(me)) & 0x1f) << 1))
1364 /* An M_MASK with the MB and ME fields fixed. */
1365 #define MMBME_MASK (M_MASK | MB_MASK | ME_MASK)
1367 /* An M_MASK with the SH and ME fields fixed. */
1368 #define MSHME_MASK (M_MASK | SH_MASK | ME_MASK)
1370 /* An MD form instruction. */
1371 #define MD(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x7) << 2) | ((rc) & 1))
1372 #define MD_MASK MD (0x3f, 0x7, 1)
1374 /* An MD_MASK with the MB field fixed. */
1375 #define MDMB_MASK (MD_MASK | MB6_MASK)
1377 /* An MD_MASK with the SH field fixed. */
1378 #define MDSH_MASK (MD_MASK | SH6_MASK)
1380 /* An MDS form instruction. */
1381 #define MDS(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0xf) << 1) | ((rc) & 1))
1382 #define MDS_MASK MDS (0x3f, 0xf, 1)
1384 /* An MDS_MASK with the MB field fixed. */
1385 #define MDSMB_MASK (MDS_MASK | MB6_MASK)
1387 /* An SC form instruction. */
1388 #define SC(op, sa, lk) (OP (op) | ((((unsigned long)(sa)) & 1) << 1) | ((lk) & 1))
1389 #define SC_MASK (OP_MASK | (((unsigned long)0x3ff) << 16) | (((unsigned long)1) << 1) | 1)
1391 /* An VX form instruction. */
1392 #define VX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7ff))
1394 /* The mask for an VX form instruction. */
1395 #define VX_MASK VX(0x3f, 0x7ff)
1397 /* An VA form instruction. */
1398 #define VXA(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x03f))
1400 /* The mask for an VA form instruction. */
1401 #define VXA_MASK VXA(0x3f, 0x3f)
1403 /* An VXR form instruction. */
1404 #define VXR(op, xop, rc) (OP (op) | (((rc) & 1) << 10) | (((unsigned long)(xop)) & 0x3ff))
1406 /* The mask for a VXR form instruction. */
1407 #define VXR_MASK VXR(0x3f, 0x3ff, 1)
1409 /* An X form instruction. */
1410 #define X(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x3ff) << 1))
1412 /* A Z form instruction. */
1413 #define Z(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x1ff) << 1))
1415 /* An X form instruction with the RC bit specified. */
1416 #define XRC(op, xop, rc) (X ((op), (xop)) | ((rc) & 1))
1418 /* A Z form instruction with the RC bit specified. */
1419 #define ZRC(op, xop, rc) (Z ((op), (xop)) | ((rc) & 1))
1421 /* The mask for an X form instruction. */
1422 #define X_MASK XRC (0x3f, 0x3ff, 1)
1424 /* The mask for a Z form instruction. */
1425 #define Z_MASK ZRC (0x3f, 0x1ff, 1)
1426 #define Z2_MASK ZRC (0x3f, 0xff, 1)
1428 /* An X_MASK with the RA field fixed. */
1429 #define XRA_MASK (X_MASK | RA_MASK)
1431 /* An XRA_MASK with the W field clear. */
1432 #define XWRA_MASK (XRA_MASK & ~((unsigned long) 1 << 16))
1434 /* An X_MASK with the RB field fixed. */
1435 #define XRB_MASK (X_MASK | RB_MASK)
1437 /* An X_MASK with the RT field fixed. */
1438 #define XRT_MASK (X_MASK | RT_MASK)
1440 /* An XRT_MASK mask with the L bits clear. */
1441 #define XLRT_MASK (XRT_MASK & ~((unsigned long) 0x3 << 21))
1443 /* An X_MASK with the RA and RB fields fixed. */
1444 #define XRARB_MASK (X_MASK | RA_MASK | RB_MASK)
1446 /* An XRARB_MASK, but with the L bit clear. */
1447 #define XRLARB_MASK (XRARB_MASK & ~((unsigned long) 1 << 16))
1449 /* An X_MASK with the RT and RA fields fixed. */
1450 #define XRTRA_MASK (X_MASK | RT_MASK | RA_MASK)
1452 /* An XRTRA_MASK, but with L bit clear. */
1453 #define XRTLRA_MASK (XRTRA_MASK & ~((unsigned long) 1 << 21))
1455 /* An X form instruction with the L bit specified. */
1456 #define XOPL(op, xop, l) (X ((op), (xop)) | ((((unsigned long)(l)) & 1) << 21))
1458 /* The mask for an X form comparison instruction. */
1459 #define XCMP_MASK (X_MASK | (((unsigned long)1) << 22))
1461 /* The mask for an X form comparison instruction with the L field
1462 fixed. */
1463 #define XCMPL_MASK (XCMP_MASK | (((unsigned long)1) << 21))
1465 /* An X form trap instruction with the TO field specified. */
1466 #define XTO(op, xop, to) (X ((op), (xop)) | ((((unsigned long)(to)) & 0x1f) << 21))
1467 #define XTO_MASK (X_MASK | TO_MASK)
1469 /* An X form tlb instruction with the SH field specified. */
1470 #define XTLB(op, xop, sh) (X ((op), (xop)) | ((((unsigned long)(sh)) & 0x1f) << 11))
1471 #define XTLB_MASK (X_MASK | SH_MASK)
1473 /* An X form sync instruction. */
1474 #define XSYNC(op, xop, l) (X ((op), (xop)) | ((((unsigned long)(l)) & 3) << 21))
1476 /* An X form sync instruction with everything filled in except the LS field. */
1477 #define XSYNC_MASK (0xff9fffff)
1479 /* An X_MASK, but with the EH bit clear. */
1480 #define XEH_MASK (X_MASK & ~((unsigned long )1))
1482 /* An X form AltiVec dss instruction. */
1483 #define XDSS(op, xop, a) (X ((op), (xop)) | ((((unsigned long)(a)) & 1) << 25))
1484 #define XDSS_MASK XDSS(0x3f, 0x3ff, 1)
1486 /* An XFL form instruction. */
1487 #define XFL(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x3ff) << 1) | (((unsigned long)(rc)) & 1))
1488 #define XFL_MASK XFL (0x3f, 0x3ff, 1)
1490 /* An X form isel instruction. */
1491 #define XISEL(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x1f) << 1))
1492 #define XISEL_MASK XISEL(0x3f, 0x1f)
1494 /* An XL form instruction with the LK field set to 0. */
1495 #define XL(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x3ff) << 1))
1497 /* An XL form instruction which uses the LK field. */
1498 #define XLLK(op, xop, lk) (XL ((op), (xop)) | ((lk) & 1))
1500 /* The mask for an XL form instruction. */
1501 #define XL_MASK XLLK (0x3f, 0x3ff, 1)
1503 /* An XL form instruction which explicitly sets the BO field. */
1504 #define XLO(op, bo, xop, lk) \
1505 (XLLK ((op), (xop), (lk)) | ((((unsigned long)(bo)) & 0x1f) << 21))
1506 #define XLO_MASK (XL_MASK | BO_MASK)
1508 /* An XL form instruction which explicitly sets the y bit of the BO
1509 field. */
1510 #define XLYLK(op, xop, y, lk) (XLLK ((op), (xop), (lk)) | ((((unsigned long)(y)) & 1) << 21))
1511 #define XLYLK_MASK (XL_MASK | Y_MASK)
1513 /* An XL form instruction which sets the BO field and the condition
1514 bits of the BI field. */
1515 #define XLOCB(op, bo, cb, xop, lk) \
1516 (XLO ((op), (bo), (xop), (lk)) | ((((unsigned long)(cb)) & 3) << 16))
1517 #define XLOCB_MASK XLOCB (0x3f, 0x1f, 0x3, 0x3ff, 1)
1519 /* An XL_MASK or XLYLK_MASK or XLOCB_MASK with the BB field fixed. */
1520 #define XLBB_MASK (XL_MASK | BB_MASK)
1521 #define XLYBB_MASK (XLYLK_MASK | BB_MASK)
1522 #define XLBOCBBB_MASK (XLOCB_MASK | BB_MASK)
1524 /* A mask for branch instructions using the BH field. */
1525 #define XLBH_MASK (XL_MASK | (0x1c << 11))
1527 /* An XL_MASK with the BO and BB fields fixed. */
1528 #define XLBOBB_MASK (XL_MASK | BO_MASK | BB_MASK)
1530 /* An XL_MASK with the BO, BI and BB fields fixed. */
1531 #define XLBOBIBB_MASK (XL_MASK | BO_MASK | BI_MASK | BB_MASK)
1533 /* An XO form instruction. */
1534 #define XO(op, xop, oe, rc) \
1535 (OP (op) | ((((unsigned long)(xop)) & 0x1ff) << 1) | ((((unsigned long)(oe)) & 1) << 10) | (((unsigned long)(rc)) & 1))
1536 #define XO_MASK XO (0x3f, 0x1ff, 1, 1)
1538 /* An XO_MASK with the RB field fixed. */
1539 #define XORB_MASK (XO_MASK | RB_MASK)
1541 /* An XOPS form instruction for paired singles. */
1542 #define XOPS(op, xop, rc) \
1543 (OP (op) | ((((unsigned long)(xop)) & 0x3ff) << 1) | (((unsigned long)(rc)) & 1))
1544 #define XOPS_MASK XOPS (0x3f, 0x3ff, 1)
1547 /* An XS form instruction. */
1548 #define XS(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x1ff) << 2) | (((unsigned long)(rc)) & 1))
1549 #define XS_MASK XS (0x3f, 0x1ff, 1)
1551 /* A mask for the FXM version of an XFX form instruction. */
1552 #define XFXFXM_MASK (X_MASK | (1 << 11) | (1 << 20))
1554 /* An XFX form instruction with the FXM field filled in. */
1555 #define XFXM(op, xop, fxm, p4) \
1556 (X ((op), (xop)) | ((((unsigned long)(fxm)) & 0xff) << 12) \
1557 | ((unsigned long)(p4) << 20))
1559 /* An XFX form instruction with the SPR field filled in. */
1560 #define XSPR(op, xop, spr) \
1561 (X ((op), (xop)) | ((((unsigned long)(spr)) & 0x1f) << 16) | ((((unsigned long)(spr)) & 0x3e0) << 6))
1562 #define XSPR_MASK (X_MASK | SPR_MASK)
1564 /* An XFX form instruction with the SPR field filled in except for the
1565 SPRBAT field. */
1566 #define XSPRBAT_MASK (XSPR_MASK &~ SPRBAT_MASK)
1568 /* An XFX form instruction with the SPR field filled in except for the
1569 SPRG field. */
1570 #define XSPRG_MASK (XSPR_MASK & ~(0x1f << 16))
1572 /* An X form instruction with everything filled in except the E field. */
1573 #define XE_MASK (0xffff7fff)
1575 /* An X form user context instruction. */
1576 #define XUC(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x1f))
1577 #define XUC_MASK XUC(0x3f, 0x1f)
1579 /* An XW form instruction. */
1580 #define XW(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x3f) << 1) | ((rc) & 1))
1581 /* The mask for a G form instruction. rc not supported at present. */
1582 #define XW_MASK XW (0x3f, 0x3f, 0)
1584 /* The BO encodings used in extended conditional branch mnemonics. */
1585 #define BODNZF (0x0)
1586 #define BODNZFP (0x1)
1587 #define BODZF (0x2)
1588 #define BODZFP (0x3)
1589 #define BODNZT (0x8)
1590 #define BODNZTP (0x9)
1591 #define BODZT (0xa)
1592 #define BODZTP (0xb)
1594 #define BOF (0x4)
1595 #define BOFP (0x5)
1596 #define BOFM4 (0x6)
1597 #define BOFP4 (0x7)
1598 #define BOT (0xc)
1599 #define BOTP (0xd)
1600 #define BOTM4 (0xe)
1601 #define BOTP4 (0xf)
1603 #define BODNZ (0x10)
1604 #define BODNZP (0x11)
1605 #define BODZ (0x12)
1606 #define BODZP (0x13)
1607 #define BODNZM4 (0x18)
1608 #define BODNZP4 (0x19)
1609 #define BODZM4 (0x1a)
1610 #define BODZP4 (0x1b)
1612 #define BOU (0x14)
1614 /* The BI condition bit encodings used in extended conditional branch
1615 mnemonics. */
1616 #define CBLT (0)
1617 #define CBGT (1)
1618 #define CBEQ (2)
1619 #define CBSO (3)
1621 /* The TO encodings used in extended trap mnemonics. */
1622 #define TOLGT (0x1)
1623 #define TOLLT (0x2)
1624 #define TOEQ (0x4)
1625 #define TOLGE (0x5)
1626 #define TOLNL (0x5)
1627 #define TOLLE (0x6)
1628 #define TOLNG (0x6)
1629 #define TOGT (0x8)
1630 #define TOGE (0xc)
1631 #define TONL (0xc)
1632 #define TOLT (0x10)
1633 #define TOLE (0x14)
1634 #define TONG (0x14)
1635 #define TONE (0x18)
1636 #define TOU (0x1f)
1638 /* Smaller names for the flags so each entry in the opcodes table will
1639 fit on a single line. */
1640 #undef PPC
1641 #define PPC PPC_OPCODE_PPC
1642 #define PPCCOM PPC_OPCODE_PPC | PPC_OPCODE_COMMON
1643 #define NOPOWER4 PPC_OPCODE_NOPOWER4 | PPCCOM
1644 #define POWER4 PPC_OPCODE_POWER4
1645 #define POWER5 PPC_OPCODE_POWER5
1646 #define POWER6 PPC_OPCODE_POWER6
1647 #define CELL PPC_OPCODE_CELL
1648 #define PPC32 PPC_OPCODE_32 | PPC_OPCODE_PPC
1649 #define PPC64 PPC_OPCODE_64 | PPC_OPCODE_PPC
1650 #define PPC403 PPC_OPCODE_403
1651 #define PPC405 PPC403
1652 #define PPC440 PPC_OPCODE_440
1653 #define PPC750 PPC
1654 #define PPC7450 PPC
1655 #define PPC860 PPC
1656 #define PPCPS PPC_OPCODE_PPCPS
1657 #define PPCVEC PPC_OPCODE_ALTIVEC
1658 #define POWER PPC_OPCODE_POWER
1659 #define POWER2 PPC_OPCODE_POWER | PPC_OPCODE_POWER2
1660 #define PPCPWR2 PPC_OPCODE_PPC | PPC_OPCODE_POWER | PPC_OPCODE_POWER2
1661 #define POWER32 PPC_OPCODE_POWER | PPC_OPCODE_32
1662 #define COM PPC_OPCODE_POWER | PPC_OPCODE_PPC | PPC_OPCODE_COMMON
1663 #define COM32 PPC_OPCODE_POWER | PPC_OPCODE_PPC | PPC_OPCODE_COMMON | PPC_OPCODE_32
1664 #define M601 PPC_OPCODE_POWER | PPC_OPCODE_601
1665 #define PWRCOM PPC_OPCODE_POWER | PPC_OPCODE_601 | PPC_OPCODE_COMMON
1666 #define MFDEC1 PPC_OPCODE_POWER
1667 #define MFDEC2 PPC_OPCODE_PPC | PPC_OPCODE_601 | PPC_OPCODE_BOOKE
1668 #define BOOKE PPC_OPCODE_BOOKE
1669 #define BOOKE64 PPC_OPCODE_BOOKE64
1670 #define CLASSIC PPC_OPCODE_CLASSIC
1671 #define PPCE300 PPC_OPCODE_E300
1672 #define PPCSPE PPC_OPCODE_SPE
1673 #define PPCISEL PPC_OPCODE_ISEL
1674 #define PPCEFS PPC_OPCODE_EFS
1675 #define PPCBRLK PPC_OPCODE_BRLOCK
1676 #define PPCPMR PPC_OPCODE_PMR
1677 #define PPCCHLK PPC_OPCODE_CACHELCK
1678 #define PPCCHLK64 PPC_OPCODE_CACHELCK | PPC_OPCODE_BOOKE64
1679 #define PPCRFMCI PPC_OPCODE_RFMCI
1681 /* The opcode table.
1683 The format of the opcode table is:
1685 NAME OPCODE MASK FLAGS { OPERANDS }
1687 NAME is the name of the instruction.
1688 OPCODE is the instruction opcode.
1689 MASK is the opcode mask; this is used to tell the disassembler
1690 which bits in the actual opcode must match OPCODE.
1691 FLAGS are flags indicated what processors support the instruction.
1692 OPERANDS is the list of operands.
1694 The disassembler reads the table in order and prints the first
1695 instruction which matches, so this table is sorted to put more
1696 specific instructions before more general instructions. It is also
1697 sorted by major opcode. */
1699 const struct powerpc_opcode powerpc_opcodes[] = {
1700 { "attn", X(0,256), X_MASK, POWER4, { 0 } },
1701 { "tdlgti", OPTO(2,TOLGT), OPTO_MASK, PPC64, { RA, SI } },
1702 { "tdllti", OPTO(2,TOLLT), OPTO_MASK, PPC64, { RA, SI } },
1703 { "tdeqi", OPTO(2,TOEQ), OPTO_MASK, PPC64, { RA, SI } },
1704 { "tdlgei", OPTO(2,TOLGE), OPTO_MASK, PPC64, { RA, SI } },
1705 { "tdlnli", OPTO(2,TOLNL), OPTO_MASK, PPC64, { RA, SI } },
1706 { "tdllei", OPTO(2,TOLLE), OPTO_MASK, PPC64, { RA, SI } },
1707 { "tdlngi", OPTO(2,TOLNG), OPTO_MASK, PPC64, { RA, SI } },
1708 { "tdgti", OPTO(2,TOGT), OPTO_MASK, PPC64, { RA, SI } },
1709 { "tdgei", OPTO(2,TOGE), OPTO_MASK, PPC64, { RA, SI } },
1710 { "tdnli", OPTO(2,TONL), OPTO_MASK, PPC64, { RA, SI } },
1711 { "tdlti", OPTO(2,TOLT), OPTO_MASK, PPC64, { RA, SI } },
1712 { "tdlei", OPTO(2,TOLE), OPTO_MASK, PPC64, { RA, SI } },
1713 { "tdngi", OPTO(2,TONG), OPTO_MASK, PPC64, { RA, SI } },
1714 { "tdnei", OPTO(2,TONE), OPTO_MASK, PPC64, { RA, SI } },
1715 { "tdi", OP(2), OP_MASK, PPC64, { TO, RA, SI } },
1717 { "twlgti", OPTO(3,TOLGT), OPTO_MASK, PPCCOM, { RA, SI } },
1718 { "tlgti", OPTO(3,TOLGT), OPTO_MASK, PWRCOM, { RA, SI } },
1719 { "twllti", OPTO(3,TOLLT), OPTO_MASK, PPCCOM, { RA, SI } },
1720 { "tllti", OPTO(3,TOLLT), OPTO_MASK, PWRCOM, { RA, SI } },
1721 { "tweqi", OPTO(3,TOEQ), OPTO_MASK, PPCCOM, { RA, SI } },
1722 { "teqi", OPTO(3,TOEQ), OPTO_MASK, PWRCOM, { RA, SI } },
1723 { "twlgei", OPTO(3,TOLGE), OPTO_MASK, PPCCOM, { RA, SI } },
1724 { "tlgei", OPTO(3,TOLGE), OPTO_MASK, PWRCOM, { RA, SI } },
1725 { "twlnli", OPTO(3,TOLNL), OPTO_MASK, PPCCOM, { RA, SI } },
1726 { "tlnli", OPTO(3,TOLNL), OPTO_MASK, PWRCOM, { RA, SI } },
1727 { "twllei", OPTO(3,TOLLE), OPTO_MASK, PPCCOM, { RA, SI } },
1728 { "tllei", OPTO(3,TOLLE), OPTO_MASK, PWRCOM, { RA, SI } },
1729 { "twlngi", OPTO(3,TOLNG), OPTO_MASK, PPCCOM, { RA, SI } },
1730 { "tlngi", OPTO(3,TOLNG), OPTO_MASK, PWRCOM, { RA, SI } },
1731 { "twgti", OPTO(3,TOGT), OPTO_MASK, PPCCOM, { RA, SI } },
1732 { "tgti", OPTO(3,TOGT), OPTO_MASK, PWRCOM, { RA, SI } },
1733 { "twgei", OPTO(3,TOGE), OPTO_MASK, PPCCOM, { RA, SI } },
1734 { "tgei", OPTO(3,TOGE), OPTO_MASK, PWRCOM, { RA, SI } },
1735 { "twnli", OPTO(3,TONL), OPTO_MASK, PPCCOM, { RA, SI } },
1736 { "tnli", OPTO(3,TONL), OPTO_MASK, PWRCOM, { RA, SI } },
1737 { "twlti", OPTO(3,TOLT), OPTO_MASK, PPCCOM, { RA, SI } },
1738 { "tlti", OPTO(3,TOLT), OPTO_MASK, PWRCOM, { RA, SI } },
1739 { "twlei", OPTO(3,TOLE), OPTO_MASK, PPCCOM, { RA, SI } },
1740 { "tlei", OPTO(3,TOLE), OPTO_MASK, PWRCOM, { RA, SI } },
1741 { "twngi", OPTO(3,TONG), OPTO_MASK, PPCCOM, { RA, SI } },
1742 { "tngi", OPTO(3,TONG), OPTO_MASK, PWRCOM, { RA, SI } },
1743 { "twnei", OPTO(3,TONE), OPTO_MASK, PPCCOM, { RA, SI } },
1744 { "tnei", OPTO(3,TONE), OPTO_MASK, PWRCOM, { RA, SI } },
1745 { "twi", OP(3), OP_MASK, PPCCOM, { TO, RA, SI } },
1746 { "ti", OP(3), OP_MASK, PWRCOM, { TO, RA, SI } },
1748 { "dcbz_l", X(4,1014), XRT_MASK, PPCPS, { RA, RB } },
1749 { "ps_cmpu0", X(4 ,0), X_MASK|(3<<21),PPCPS, { BF, FRA, FRB } },
1750 { "psq_lx", XW(4,6,0), XW_MASK, PPCPS, { FRT, RA, RB, PSWM, PSQM } },
1751 { "psq_stx", XW(4,7,0), XW_MASK, PPCPS, { FRS, RA, RB, PSWM, PSQM } },
1752 { "ps_sum0", A(4 ,10,0), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1753 { "ps_sum0.", A(4 ,10,1), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1754 { "ps_sum1", A(4 ,11,0), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1755 { "ps_sum1.", A(4 ,11,1), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1756 { "ps_muls0", A(4 ,12,0), AFRB_MASK, PPCPS, { FRT, FRA, FRC } },
1757 { "ps_muls0.", A(4 ,12,1), AFRB_MASK, PPCPS, { FRT, FRA, FRC } },
1758 { "ps_muls1", A(4 ,13,0), AFRB_MASK, PPCPS, { FRT, FRA, FRC } },
1759 { "ps_muls1.", A(4 ,13,1), AFRB_MASK, PPCPS, { FRT, FRA, FRC } },
1760 { "ps_madds0", A(4 ,14,0), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1761 { "ps_madds0.", A(4 ,14,1), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1762 { "ps_madds1", A(4 ,15,0), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1763 { "ps_madds1.", A(4 ,15,1), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1764 { "ps_div", A(4,18,0), AFRC_MASK, PPCPS, { FRT, FRA, FRB } },
1765 { "ps_div.", A(4,18,1), AFRC_MASK, PPCPS, { FRT, FRA, FRB } },
1766 { "ps_sub", A(4,20,0), AFRC_MASK, PPCPS, { FRT, FRA, FRB } },
1767 { "ps_sub.", A(4,20,1), AFRC_MASK, PPCPS, { FRT, FRA, FRB } },
1768 { "ps_add", A(4,21,0), AFRC_MASK, PPCPS, { FRT, FRA, FRB } },
1769 { "ps_add.", A(4,21,1), AFRC_MASK, PPCPS, { FRT, FRA, FRB } },
1770 { "ps_sel", A(4,23,0), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1771 { "ps_sel.", A(4,23,1), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1772 { "ps_res", A(4,24,0), AFRAFRC_MASK, PPCPS, { FRT, FRB } },
1773 { "ps_res.", A(4,24,1), AFRAFRC_MASK, PPCPS, { FRT, FRB } },
1774 { "ps_mul", A(4,25,0), AFRB_MASK, PPCPS, { FRT, FRA, FRC } },
1775 { "ps_mul.", A(4,25,1), AFRB_MASK, PPCPS, { FRT, FRA, FRC } },
1776 { "ps_rsqrte", A(4 ,26,0), AFRAFRC_MASK, PPCPS, { FRT, FRB } },
1777 { "ps_rsqrte.", A(4 ,26,1), AFRAFRC_MASK, PPCPS, { FRT, FRB } },
1778 { "ps_madd", A(4,29,0), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1779 { "ps_madd.", A(4,29,1), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1780 { "ps_msub", A(4,28,0), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1781 { "ps_msub.", A(4,28,1), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1782 { "ps_nmsub", A(4,30,0), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1783 { "ps_nmsub.", A(4,30,1), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1784 { "ps_nmadd", A(4,31,0), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1785 { "ps_nmadd.", A(4,31,1), A_MASK, PPCPS, { FRT,FRA,FRC,FRB } },
1786 { "ps_cmpo0", X(4 ,32), X_MASK|(3<<21),PPCPS, { BF, FRA, FRB } },
1787 { "psq_lux", XW(4,38,0), XW_MASK, PPCPS, { FRT, RA, RB, PSWM, PSQM } },
1788 { "psq_stux", XW(4,39,0), XW_MASK, PPCPS, { FRS, RA, RB, PSWM, PSQM } },
1789 { "ps_neg", XRC(4 ,40,0), XRA_MASK, PPCPS, { FRT, FRB } },
1790 { "ps_neg.", XRC(4 ,40,1), XRA_MASK, PPCPS, { FRT, FRB } },
1791 { "ps_cmpu1", X(4 ,64), X_MASK|(3<<21), PPCPS, { BF, FRA, FRB } },
1792 { "ps_mr", XRC(4 ,72,0), XRA_MASK, PPCPS, { FRT, FRB } },
1793 { "ps_mr.", XRC(4 ,72,1), XRA_MASK, PPCPS, { FRT, FRB } },
1794 { "ps_cmpo1", X(4 ,96), X_MASK|(3<<21), PPCPS, { BF, FRA, FRB } },
1795 { "ps_nabs", XRC(4 ,136,0), XRA_MASK, PPCPS, { FRT, FRB } },
1796 { "ps_nabs.", XRC(4 ,136,1), XRA_MASK, PPCPS, { FRT, FRB } },
1797 { "ps_abs", XRC(4,264,0), XRA_MASK, PPCPS, { FRT, FRB } },
1798 { "ps_abs.", XRC(4,264,1), XRA_MASK, PPCPS, { FRT, FRB } },
1799 { "ps_merge00", XOPS(4,528,0), XOPS_MASK, PPCPS, { FRT, FRA, FRB } },
1800 { "ps_merge00.",XOPS(4,528,1), XOPS_MASK, PPCPS, { FRT, FRA, FRB } },
1801 { "ps_merge01", XOPS(4,560,0), XOPS_MASK, PPCPS, { FRT, FRA, FRB } },
1802 { "ps_merge01.",XOPS(4,560,1), XOPS_MASK, PPCPS, { FRT, FRA, FRB } },
1803 { "ps_merge10", XOPS(4,592,0), XOPS_MASK, PPCPS, { FRT, FRA, FRB } },
1804 { "ps_merge10.",XOPS(4,592,1), XOPS_MASK, PPCPS, { FRT, FRA, FRB } },
1805 { "ps_merge11", XOPS(4,624,0), XOPS_MASK, PPCPS, { FRT, FRA, FRB } },
1806 { "ps_merge11.",XOPS(4,624,1), XOPS_MASK, PPCPS, { FRT, FRA, FRB } },
1807 { "macchw", XO(4,172,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1808 { "macchw.", XO(4,172,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1809 { "macchwo", XO(4,172,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1810 { "macchwo.", XO(4,172,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1811 { "macchws", XO(4,236,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1812 { "macchws.", XO(4,236,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1813 { "macchwso", XO(4,236,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1814 { "macchwso.", XO(4,236,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1815 { "macchwsu", XO(4,204,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1816 { "macchwsu.", XO(4,204,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1817 { "macchwsuo", XO(4,204,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1818 { "macchwsuo.", XO(4,204,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1819 { "macchwu", XO(4,140,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1820 { "macchwu.", XO(4,140,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1821 { "macchwuo", XO(4,140,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1822 { "macchwuo.", XO(4,140,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1823 { "machhw", XO(4,44,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1824 { "machhw.", XO(4,44,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1825 { "machhwo", XO(4,44,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1826 { "machhwo.", XO(4,44,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1827 { "machhws", XO(4,108,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1828 { "machhws.", XO(4,108,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1829 { "machhwso", XO(4,108,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1830 { "machhwso.", XO(4,108,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1831 { "machhwsu", XO(4,76,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1832 { "machhwsu.", XO(4,76,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1833 { "machhwsuo", XO(4,76,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1834 { "machhwsuo.", XO(4,76,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1835 { "machhwu", XO(4,12,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1836 { "machhwu.", XO(4,12,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1837 { "machhwuo", XO(4,12,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1838 { "machhwuo.", XO(4,12,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1839 { "maclhw", XO(4,428,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1840 { "maclhw.", XO(4,428,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1841 { "maclhwo", XO(4,428,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1842 { "maclhwo.", XO(4,428,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1843 { "maclhws", XO(4,492,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1844 { "maclhws.", XO(4,492,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1845 { "maclhwso", XO(4,492,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1846 { "maclhwso.", XO(4,492,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1847 { "maclhwsu", XO(4,460,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1848 { "maclhwsu.", XO(4,460,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1849 { "maclhwsuo", XO(4,460,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1850 { "maclhwsuo.", XO(4,460,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1851 { "maclhwu", XO(4,396,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1852 { "maclhwu.", XO(4,396,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1853 { "maclhwuo", XO(4,396,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1854 { "maclhwuo.", XO(4,396,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1855 { "mulchw", XRC(4,168,0), X_MASK, PPC405|PPC440, { RT, RA, RB } },
1856 { "mulchw.", XRC(4,168,1), X_MASK, PPC405|PPC440, { RT, RA, RB } },
1857 { "mulchwu", XRC(4,136,0), X_MASK, PPC405|PPC440, { RT, RA, RB } },
1858 { "mulchwu.", XRC(4,136,1), X_MASK, PPC405|PPC440, { RT, RA, RB } },
1859 { "mulhhw", XRC(4,40,0), X_MASK, PPC405|PPC440, { RT, RA, RB } },
1860 { "mulhhw.", XRC(4,40,1), X_MASK, PPC405|PPC440, { RT, RA, RB } },
1861 { "mulhhwu", XRC(4,8,0), X_MASK, PPC405|PPC440, { RT, RA, RB } },
1862 { "mulhhwu.", XRC(4,8,1), X_MASK, PPC405|PPC440, { RT, RA, RB } },
1863 { "mullhw", XRC(4,424,0), X_MASK, PPC405|PPC440, { RT, RA, RB } },
1864 { "mullhw.", XRC(4,424,1), X_MASK, PPC405|PPC440, { RT, RA, RB } },
1865 { "mullhwu", XRC(4,392,0), X_MASK, PPC405|PPC440, { RT, RA, RB } },
1866 { "mullhwu.", XRC(4,392,1), X_MASK, PPC405|PPC440, { RT, RA, RB } },
1867 { "nmacchw", XO(4,174,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1868 { "nmacchw.", XO(4,174,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1869 { "nmacchwo", XO(4,174,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1870 { "nmacchwo.", XO(4,174,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1871 { "nmacchws", XO(4,238,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1872 { "nmacchws.", XO(4,238,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1873 { "nmacchwso", XO(4,238,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1874 { "nmacchwso.", XO(4,238,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1875 { "nmachhw", XO(4,46,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1876 { "nmachhw.", XO(4,46,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1877 { "nmachhwo", XO(4,46,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1878 { "nmachhwo.", XO(4,46,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1879 { "nmachhws", XO(4,110,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1880 { "nmachhws.", XO(4,110,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1881 { "nmachhwso", XO(4,110,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1882 { "nmachhwso.", XO(4,110,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1883 { "nmaclhw", XO(4,430,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1884 { "nmaclhw.", XO(4,430,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1885 { "nmaclhwo", XO(4,430,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1886 { "nmaclhwo.", XO(4,430,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1887 { "nmaclhws", XO(4,494,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1888 { "nmaclhws.", XO(4,494,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1889 { "nmaclhwso", XO(4,494,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1890 { "nmaclhwso.", XO(4,494,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
1891 { "mfvscr", VX(4, 1540), VX_MASK, PPCVEC, { VD } },
1892 { "mtvscr", VX(4, 1604), VX_MASK, PPCVEC, { VB } },
1894 /* Double-precision opcodes. */
1895 /* Some of these conflict with AltiVec, so move them before, since
1896 PPCVEC includes the PPC_OPCODE_PPC set. */
1897 { "efscfd", VX(4, 719), VX_MASK, PPCEFS, { RS, RB } },
1898 { "efdabs", VX(4, 740), VX_MASK, PPCEFS, { RS, RA } },
1899 { "efdnabs", VX(4, 741), VX_MASK, PPCEFS, { RS, RA } },
1900 { "efdneg", VX(4, 742), VX_MASK, PPCEFS, { RS, RA } },
1901 { "efdadd", VX(4, 736), VX_MASK, PPCEFS, { RS, RA, RB } },
1902 { "efdsub", VX(4, 737), VX_MASK, PPCEFS, { RS, RA, RB } },
1903 { "efdmul", VX(4, 744), VX_MASK, PPCEFS, { RS, RA, RB } },
1904 { "efddiv", VX(4, 745), VX_MASK, PPCEFS, { RS, RA, RB } },
1905 { "efdcmpgt", VX(4, 748), VX_MASK, PPCEFS, { CRFD, RA, RB } },
1906 { "efdcmplt", VX(4, 749), VX_MASK, PPCEFS, { CRFD, RA, RB } },
1907 { "efdcmpeq", VX(4, 750), VX_MASK, PPCEFS, { CRFD, RA, RB } },
1908 { "efdtstgt", VX(4, 764), VX_MASK, PPCEFS, { CRFD, RA, RB } },
1909 { "efdtstlt", VX(4, 765), VX_MASK, PPCEFS, { CRFD, RA, RB } },
1910 { "efdtsteq", VX(4, 766), VX_MASK, PPCEFS, { CRFD, RA, RB } },
1911 { "efdcfsi", VX(4, 753), VX_MASK, PPCEFS, { RS, RB } },
1912 { "efdcfsid", VX(4, 739), VX_MASK, PPCEFS, { RS, RB } },
1913 { "efdcfui", VX(4, 752), VX_MASK, PPCEFS, { RS, RB } },
1914 { "efdcfuid", VX(4, 738), VX_MASK, PPCEFS, { RS, RB } },
1915 { "efdcfsf", VX(4, 755), VX_MASK, PPCEFS, { RS, RB } },
1916 { "efdcfuf", VX(4, 754), VX_MASK, PPCEFS, { RS, RB } },
1917 { "efdctsi", VX(4, 757), VX_MASK, PPCEFS, { RS, RB } },
1918 { "efdctsidz",VX(4, 747), VX_MASK, PPCEFS, { RS, RB } },
1919 { "efdctsiz", VX(4, 762), VX_MASK, PPCEFS, { RS, RB } },
1920 { "efdctui", VX(4, 756), VX_MASK, PPCEFS, { RS, RB } },
1921 { "efdctuidz",VX(4, 746), VX_MASK, PPCEFS, { RS, RB } },
1922 { "efdctuiz", VX(4, 760), VX_MASK, PPCEFS, { RS, RB } },
1923 { "efdctsf", VX(4, 759), VX_MASK, PPCEFS, { RS, RB } },
1924 { "efdctuf", VX(4, 758), VX_MASK, PPCEFS, { RS, RB } },
1925 { "efdcfs", VX(4, 751), VX_MASK, PPCEFS, { RS, RB } },
1926 /* End of double-precision opcodes. */
1928 { "vaddcuw", VX(4, 384), VX_MASK, PPCVEC, { VD, VA, VB } },
1929 { "vaddfp", VX(4, 10), VX_MASK, PPCVEC, { VD, VA, VB } },
1930 { "vaddsbs", VX(4, 768), VX_MASK, PPCVEC, { VD, VA, VB } },
1931 { "vaddshs", VX(4, 832), VX_MASK, PPCVEC, { VD, VA, VB } },
1932 { "vaddsws", VX(4, 896), VX_MASK, PPCVEC, { VD, VA, VB } },
1933 { "vaddubm", VX(4, 0), VX_MASK, PPCVEC, { VD, VA, VB } },
1934 { "vaddubs", VX(4, 512), VX_MASK, PPCVEC, { VD, VA, VB } },
1935 { "vadduhm", VX(4, 64), VX_MASK, PPCVEC, { VD, VA, VB } },
1936 { "vadduhs", VX(4, 576), VX_MASK, PPCVEC, { VD, VA, VB } },
1937 { "vadduwm", VX(4, 128), VX_MASK, PPCVEC, { VD, VA, VB } },
1938 { "vadduws", VX(4, 640), VX_MASK, PPCVEC, { VD, VA, VB } },
1939 { "vand", VX(4, 1028), VX_MASK, PPCVEC, { VD, VA, VB } },
1940 { "vandc", VX(4, 1092), VX_MASK, PPCVEC, { VD, VA, VB } },
1941 { "vavgsb", VX(4, 1282), VX_MASK, PPCVEC, { VD, VA, VB } },
1942 { "vavgsh", VX(4, 1346), VX_MASK, PPCVEC, { VD, VA, VB } },
1943 { "vavgsw", VX(4, 1410), VX_MASK, PPCVEC, { VD, VA, VB } },
1944 { "vavgub", VX(4, 1026), VX_MASK, PPCVEC, { VD, VA, VB } },
1945 { "vavguh", VX(4, 1090), VX_MASK, PPCVEC, { VD, VA, VB } },
1946 { "vavguw", VX(4, 1154), VX_MASK, PPCVEC, { VD, VA, VB } },
1947 { "vcfsx", VX(4, 842), VX_MASK, PPCVEC, { VD, VB, UIMM } },
1948 { "vcfux", VX(4, 778), VX_MASK, PPCVEC, { VD, VB, UIMM } },
1949 { "vcmpbfp", VXR(4, 966, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
1950 { "vcmpbfp.", VXR(4, 966, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
1951 { "vcmpeqfp", VXR(4, 198, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
1952 { "vcmpeqfp.", VXR(4, 198, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
1953 { "vcmpequb", VXR(4, 6, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
1954 { "vcmpequb.", VXR(4, 6, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
1955 { "vcmpequh", VXR(4, 70, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
1956 { "vcmpequh.", VXR(4, 70, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
1957 { "vcmpequw", VXR(4, 134, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
1958 { "vcmpequw.", VXR(4, 134, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
1959 { "vcmpgefp", VXR(4, 454, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
1960 { "vcmpgefp.", VXR(4, 454, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
1961 { "vcmpgtfp", VXR(4, 710, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
1962 { "vcmpgtfp.", VXR(4, 710, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
1963 { "vcmpgtsb", VXR(4, 774, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
1964 { "vcmpgtsb.", VXR(4, 774, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
1965 { "vcmpgtsh", VXR(4, 838, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
1966 { "vcmpgtsh.", VXR(4, 838, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
1967 { "vcmpgtsw", VXR(4, 902, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
1968 { "vcmpgtsw.", VXR(4, 902, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
1969 { "vcmpgtub", VXR(4, 518, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
1970 { "vcmpgtub.", VXR(4, 518, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
1971 { "vcmpgtuh", VXR(4, 582, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
1972 { "vcmpgtuh.", VXR(4, 582, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
1973 { "vcmpgtuw", VXR(4, 646, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
1974 { "vcmpgtuw.", VXR(4, 646, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
1975 { "vctsxs", VX(4, 970), VX_MASK, PPCVEC, { VD, VB, UIMM } },
1976 { "vctuxs", VX(4, 906), VX_MASK, PPCVEC, { VD, VB, UIMM } },
1977 { "vexptefp", VX(4, 394), VX_MASK, PPCVEC, { VD, VB } },
1978 { "vlogefp", VX(4, 458), VX_MASK, PPCVEC, { VD, VB } },
1979 { "vmaddfp", VXA(4, 46), VXA_MASK, PPCVEC, { VD, VA, VC, VB } },
1980 { "vmaxfp", VX(4, 1034), VX_MASK, PPCVEC, { VD, VA, VB } },
1981 { "vmaxsb", VX(4, 258), VX_MASK, PPCVEC, { VD, VA, VB } },
1982 { "vmaxsh", VX(4, 322), VX_MASK, PPCVEC, { VD, VA, VB } },
1983 { "vmaxsw", VX(4, 386), VX_MASK, PPCVEC, { VD, VA, VB } },
1984 { "vmaxub", VX(4, 2), VX_MASK, PPCVEC, { VD, VA, VB } },
1985 { "vmaxuh", VX(4, 66), VX_MASK, PPCVEC, { VD, VA, VB } },
1986 { "vmaxuw", VX(4, 130), VX_MASK, PPCVEC, { VD, VA, VB } },
1987 { "vmhaddshs", VXA(4, 32), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
1988 { "vmhraddshs", VXA(4, 33), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
1989 { "vminfp", VX(4, 1098), VX_MASK, PPCVEC, { VD, VA, VB } },
1990 { "vminsb", VX(4, 770), VX_MASK, PPCVEC, { VD, VA, VB } },
1991 { "vminsh", VX(4, 834), VX_MASK, PPCVEC, { VD, VA, VB } },
1992 { "vminsw", VX(4, 898), VX_MASK, PPCVEC, { VD, VA, VB } },
1993 { "vminub", VX(4, 514), VX_MASK, PPCVEC, { VD, VA, VB } },
1994 { "vminuh", VX(4, 578), VX_MASK, PPCVEC, { VD, VA, VB } },
1995 { "vminuw", VX(4, 642), VX_MASK, PPCVEC, { VD, VA, VB } },
1996 { "vmladduhm", VXA(4, 34), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
1997 { "vmrghb", VX(4, 12), VX_MASK, PPCVEC, { VD, VA, VB } },
1998 { "vmrghh", VX(4, 76), VX_MASK, PPCVEC, { VD, VA, VB } },
1999 { "vmrghw", VX(4, 140), VX_MASK, PPCVEC, { VD, VA, VB } },
2000 { "vmrglb", VX(4, 268), VX_MASK, PPCVEC, { VD, VA, VB } },
2001 { "vmrglh", VX(4, 332), VX_MASK, PPCVEC, { VD, VA, VB } },
2002 { "vmrglw", VX(4, 396), VX_MASK, PPCVEC, { VD, VA, VB } },
2003 { "vmsummbm", VXA(4, 37), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2004 { "vmsumshm", VXA(4, 40), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2005 { "vmsumshs", VXA(4, 41), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2006 { "vmsumubm", VXA(4, 36), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2007 { "vmsumuhm", VXA(4, 38), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2008 { "vmsumuhs", VXA(4, 39), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2009 { "vmulesb", VX(4, 776), VX_MASK, PPCVEC, { VD, VA, VB } },
2010 { "vmulesh", VX(4, 840), VX_MASK, PPCVEC, { VD, VA, VB } },
2011 { "vmuleub", VX(4, 520), VX_MASK, PPCVEC, { VD, VA, VB } },
2012 { "vmuleuh", VX(4, 584), VX_MASK, PPCVEC, { VD, VA, VB } },
2013 { "vmulosb", VX(4, 264), VX_MASK, PPCVEC, { VD, VA, VB } },
2014 { "vmulosh", VX(4, 328), VX_MASK, PPCVEC, { VD, VA, VB } },
2015 { "vmuloub", VX(4, 8), VX_MASK, PPCVEC, { VD, VA, VB } },
2016 { "vmulouh", VX(4, 72), VX_MASK, PPCVEC, { VD, VA, VB } },
2017 { "vnmsubfp", VXA(4, 47), VXA_MASK, PPCVEC, { VD, VA, VC, VB } },
2018 { "vnor", VX(4, 1284), VX_MASK, PPCVEC, { VD, VA, VB } },
2019 { "vor", VX(4, 1156), VX_MASK, PPCVEC, { VD, VA, VB } },
2020 { "vperm", VXA(4, 43), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2021 { "vpkpx", VX(4, 782), VX_MASK, PPCVEC, { VD, VA, VB } },
2022 { "vpkshss", VX(4, 398), VX_MASK, PPCVEC, { VD, VA, VB } },
2023 { "vpkshus", VX(4, 270), VX_MASK, PPCVEC, { VD, VA, VB } },
2024 { "vpkswss", VX(4, 462), VX_MASK, PPCVEC, { VD, VA, VB } },
2025 { "vpkswus", VX(4, 334), VX_MASK, PPCVEC, { VD, VA, VB } },
2026 { "vpkuhum", VX(4, 14), VX_MASK, PPCVEC, { VD, VA, VB } },
2027 { "vpkuhus", VX(4, 142), VX_MASK, PPCVEC, { VD, VA, VB } },
2028 { "vpkuwum", VX(4, 78), VX_MASK, PPCVEC, { VD, VA, VB } },
2029 { "vpkuwus", VX(4, 206), VX_MASK, PPCVEC, { VD, VA, VB } },
2030 { "vrefp", VX(4, 266), VX_MASK, PPCVEC, { VD, VB } },
2031 { "vrfim", VX(4, 714), VX_MASK, PPCVEC, { VD, VB } },
2032 { "vrfin", VX(4, 522), VX_MASK, PPCVEC, { VD, VB } },
2033 { "vrfip", VX(4, 650), VX_MASK, PPCVEC, { VD, VB } },
2034 { "vrfiz", VX(4, 586), VX_MASK, PPCVEC, { VD, VB } },
2035 { "vrlb", VX(4, 4), VX_MASK, PPCVEC, { VD, VA, VB } },
2036 { "vrlh", VX(4, 68), VX_MASK, PPCVEC, { VD, VA, VB } },
2037 { "vrlw", VX(4, 132), VX_MASK, PPCVEC, { VD, VA, VB } },
2038 { "vrsqrtefp", VX(4, 330), VX_MASK, PPCVEC, { VD, VB } },
2039 { "vsel", VXA(4, 42), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2040 { "vsl", VX(4, 452), VX_MASK, PPCVEC, { VD, VA, VB } },
2041 { "vslb", VX(4, 260), VX_MASK, PPCVEC, { VD, VA, VB } },
2042 { "vsldoi", VXA(4, 44), VXA_MASK, PPCVEC, { VD, VA, VB, SHB } },
2043 { "vslh", VX(4, 324), VX_MASK, PPCVEC, { VD, VA, VB } },
2044 { "vslo", VX(4, 1036), VX_MASK, PPCVEC, { VD, VA, VB } },
2045 { "vslw", VX(4, 388), VX_MASK, PPCVEC, { VD, VA, VB } },
2046 { "vspltb", VX(4, 524), VX_MASK, PPCVEC, { VD, VB, UIMM } },
2047 { "vsplth", VX(4, 588), VX_MASK, PPCVEC, { VD, VB, UIMM } },
2048 { "vspltisb", VX(4, 780), VX_MASK, PPCVEC, { VD, SIMM } },
2049 { "vspltish", VX(4, 844), VX_MASK, PPCVEC, { VD, SIMM } },
2050 { "vspltisw", VX(4, 908), VX_MASK, PPCVEC, { VD, SIMM } },
2051 { "vspltw", VX(4, 652), VX_MASK, PPCVEC, { VD, VB, UIMM } },
2052 { "vsr", VX(4, 708), VX_MASK, PPCVEC, { VD, VA, VB } },
2053 { "vsrab", VX(4, 772), VX_MASK, PPCVEC, { VD, VA, VB } },
2054 { "vsrah", VX(4, 836), VX_MASK, PPCVEC, { VD, VA, VB } },
2055 { "vsraw", VX(4, 900), VX_MASK, PPCVEC, { VD, VA, VB } },
2056 { "vsrb", VX(4, 516), VX_MASK, PPCVEC, { VD, VA, VB } },
2057 { "vsrh", VX(4, 580), VX_MASK, PPCVEC, { VD, VA, VB } },
2058 { "vsro", VX(4, 1100), VX_MASK, PPCVEC, { VD, VA, VB } },
2059 { "vsrw", VX(4, 644), VX_MASK, PPCVEC, { VD, VA, VB } },
2060 { "vsubcuw", VX(4, 1408), VX_MASK, PPCVEC, { VD, VA, VB } },
2061 { "vsubfp", VX(4, 74), VX_MASK, PPCVEC, { VD, VA, VB } },
2062 { "vsubsbs", VX(4, 1792), VX_MASK, PPCVEC, { VD, VA, VB } },
2063 { "vsubshs", VX(4, 1856), VX_MASK, PPCVEC, { VD, VA, VB } },
2064 { "vsubsws", VX(4, 1920), VX_MASK, PPCVEC, { VD, VA, VB } },
2065 { "vsububm", VX(4, 1024), VX_MASK, PPCVEC, { VD, VA, VB } },
2066 { "vsububs", VX(4, 1536), VX_MASK, PPCVEC, { VD, VA, VB } },
2067 { "vsubuhm", VX(4, 1088), VX_MASK, PPCVEC, { VD, VA, VB } },
2068 { "vsubuhs", VX(4, 1600), VX_MASK, PPCVEC, { VD, VA, VB } },
2069 { "vsubuwm", VX(4, 1152), VX_MASK, PPCVEC, { VD, VA, VB } },
2070 { "vsubuws", VX(4, 1664), VX_MASK, PPCVEC, { VD, VA, VB } },
2071 { "vsumsws", VX(4, 1928), VX_MASK, PPCVEC, { VD, VA, VB } },
2072 { "vsum2sws", VX(4, 1672), VX_MASK, PPCVEC, { VD, VA, VB } },
2073 { "vsum4sbs", VX(4, 1800), VX_MASK, PPCVEC, { VD, VA, VB } },
2074 { "vsum4shs", VX(4, 1608), VX_MASK, PPCVEC, { VD, VA, VB } },
2075 { "vsum4ubs", VX(4, 1544), VX_MASK, PPCVEC, { VD, VA, VB } },
2076 { "vupkhpx", VX(4, 846), VX_MASK, PPCVEC, { VD, VB } },
2077 { "vupkhsb", VX(4, 526), VX_MASK, PPCVEC, { VD, VB } },
2078 { "vupkhsh", VX(4, 590), VX_MASK, PPCVEC, { VD, VB } },
2079 { "vupklpx", VX(4, 974), VX_MASK, PPCVEC, { VD, VB } },
2080 { "vupklsb", VX(4, 654), VX_MASK, PPCVEC, { VD, VB } },
2081 { "vupklsh", VX(4, 718), VX_MASK, PPCVEC, { VD, VB } },
2082 { "vxor", VX(4, 1220), VX_MASK, PPCVEC, { VD, VA, VB } },
2084 { "evaddw", VX(4, 512), VX_MASK, PPCSPE, { RS, RA, RB } },
2085 { "evaddiw", VX(4, 514), VX_MASK, PPCSPE, { RS, RB, UIMM } },
2086 { "evsubfw", VX(4, 516), VX_MASK, PPCSPE, { RS, RA, RB } },
2087 { "evsubw", VX(4, 516), VX_MASK, PPCSPE, { RS, RB, RA } },
2088 { "evsubifw", VX(4, 518), VX_MASK, PPCSPE, { RS, UIMM, RB } },
2089 { "evsubiw", VX(4, 518), VX_MASK, PPCSPE, { RS, RB, UIMM } },
2090 { "evabs", VX(4, 520), VX_MASK, PPCSPE, { RS, RA } },
2091 { "evneg", VX(4, 521), VX_MASK, PPCSPE, { RS, RA } },
2092 { "evextsb", VX(4, 522), VX_MASK, PPCSPE, { RS, RA } },
2093 { "evextsh", VX(4, 523), VX_MASK, PPCSPE, { RS, RA } },
2094 { "evrndw", VX(4, 524), VX_MASK, PPCSPE, { RS, RA } },
2095 { "evcntlzw", VX(4, 525), VX_MASK, PPCSPE, { RS, RA } },
2096 { "evcntlsw", VX(4, 526), VX_MASK, PPCSPE, { RS, RA } },
2098 { "brinc", VX(4, 527), VX_MASK, PPCSPE, { RS, RA, RB } },
2100 { "evand", VX(4, 529), VX_MASK, PPCSPE, { RS, RA, RB } },
2101 { "evandc", VX(4, 530), VX_MASK, PPCSPE, { RS, RA, RB } },
2102 { "evmr", VX(4, 535), VX_MASK, PPCSPE, { RS, RA, BBA } },
2103 { "evor", VX(4, 535), VX_MASK, PPCSPE, { RS, RA, RB } },
2104 { "evorc", VX(4, 539), VX_MASK, PPCSPE, { RS, RA, RB } },
2105 { "evxor", VX(4, 534), VX_MASK, PPCSPE, { RS, RA, RB } },
2106 { "eveqv", VX(4, 537), VX_MASK, PPCSPE, { RS, RA, RB } },
2107 { "evnand", VX(4, 542), VX_MASK, PPCSPE, { RS, RA, RB } },
2108 { "evnot", VX(4, 536), VX_MASK, PPCSPE, { RS, RA, BBA } },
2109 { "evnor", VX(4, 536), VX_MASK, PPCSPE, { RS, RA, RB } },
2111 { "evrlw", VX(4, 552), VX_MASK, PPCSPE, { RS, RA, RB } },
2112 { "evrlwi", VX(4, 554), VX_MASK, PPCSPE, { RS, RA, EVUIMM } },
2113 { "evslw", VX(4, 548), VX_MASK, PPCSPE, { RS, RA, RB } },
2114 { "evslwi", VX(4, 550), VX_MASK, PPCSPE, { RS, RA, EVUIMM } },
2115 { "evsrws", VX(4, 545), VX_MASK, PPCSPE, { RS, RA, RB } },
2116 { "evsrwu", VX(4, 544), VX_MASK, PPCSPE, { RS, RA, RB } },
2117 { "evsrwis", VX(4, 547), VX_MASK, PPCSPE, { RS, RA, EVUIMM } },
2118 { "evsrwiu", VX(4, 546), VX_MASK, PPCSPE, { RS, RA, EVUIMM } },
2119 { "evsplati", VX(4, 553), VX_MASK, PPCSPE, { RS, SIMM } },
2120 { "evsplatfi", VX(4, 555), VX_MASK, PPCSPE, { RS, SIMM } },
2121 { "evmergehi", VX(4, 556), VX_MASK, PPCSPE, { RS, RA, RB } },
2122 { "evmergelo", VX(4, 557), VX_MASK, PPCSPE, { RS, RA, RB } },
2123 { "evmergehilo",VX(4,558), VX_MASK, PPCSPE, { RS, RA, RB } },
2124 { "evmergelohi",VX(4,559), VX_MASK, PPCSPE, { RS, RA, RB } },
2126 { "evcmpgts", VX(4, 561), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2127 { "evcmpgtu", VX(4, 560), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2128 { "evcmplts", VX(4, 563), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2129 { "evcmpltu", VX(4, 562), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2130 { "evcmpeq", VX(4, 564), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2131 { "evsel", EVSEL(4,79),EVSEL_MASK, PPCSPE, { RS, RA, RB, CRFS } },
2133 { "evldd", VX(4, 769), VX_MASK, PPCSPE, { RS, EVUIMM_8, RA } },
2134 { "evlddx", VX(4, 768), VX_MASK, PPCSPE, { RS, RA, RB } },
2135 { "evldw", VX(4, 771), VX_MASK, PPCSPE, { RS, EVUIMM_8, RA } },
2136 { "evldwx", VX(4, 770), VX_MASK, PPCSPE, { RS, RA, RB } },
2137 { "evldh", VX(4, 773), VX_MASK, PPCSPE, { RS, EVUIMM_8, RA } },
2138 { "evldhx", VX(4, 772), VX_MASK, PPCSPE, { RS, RA, RB } },
2139 { "evlwhe", VX(4, 785), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2140 { "evlwhex", VX(4, 784), VX_MASK, PPCSPE, { RS, RA, RB } },
2141 { "evlwhou", VX(4, 789), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2142 { "evlwhoux", VX(4, 788), VX_MASK, PPCSPE, { RS, RA, RB } },
2143 { "evlwhos", VX(4, 791), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2144 { "evlwhosx", VX(4, 790), VX_MASK, PPCSPE, { RS, RA, RB } },
2145 { "evlwwsplat",VX(4, 793), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2146 { "evlwwsplatx",VX(4, 792), VX_MASK, PPCSPE, { RS, RA, RB } },
2147 { "evlwhsplat",VX(4, 797), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2148 { "evlwhsplatx",VX(4, 796), VX_MASK, PPCSPE, { RS, RA, RB } },
2149 { "evlhhesplat",VX(4, 777), VX_MASK, PPCSPE, { RS, EVUIMM_2, RA } },
2150 { "evlhhesplatx",VX(4, 776), VX_MASK, PPCSPE, { RS, RA, RB } },
2151 { "evlhhousplat",VX(4, 781), VX_MASK, PPCSPE, { RS, EVUIMM_2, RA } },
2152 { "evlhhousplatx",VX(4, 780), VX_MASK, PPCSPE, { RS, RA, RB } },
2153 { "evlhhossplat",VX(4, 783), VX_MASK, PPCSPE, { RS, EVUIMM_2, RA } },
2154 { "evlhhossplatx",VX(4, 782), VX_MASK, PPCSPE, { RS, RA, RB } },
2156 { "evstdd", VX(4, 801), VX_MASK, PPCSPE, { RS, EVUIMM_8, RA } },
2157 { "evstddx", VX(4, 800), VX_MASK, PPCSPE, { RS, RA, RB } },
2158 { "evstdw", VX(4, 803), VX_MASK, PPCSPE, { RS, EVUIMM_8, RA } },
2159 { "evstdwx", VX(4, 802), VX_MASK, PPCSPE, { RS, RA, RB } },
2160 { "evstdh", VX(4, 805), VX_MASK, PPCSPE, { RS, EVUIMM_8, RA } },
2161 { "evstdhx", VX(4, 804), VX_MASK, PPCSPE, { RS, RA, RB } },
2162 { "evstwwe", VX(4, 825), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2163 { "evstwwex", VX(4, 824), VX_MASK, PPCSPE, { RS, RA, RB } },
2164 { "evstwwo", VX(4, 829), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2165 { "evstwwox", VX(4, 828), VX_MASK, PPCSPE, { RS, RA, RB } },
2166 { "evstwhe", VX(4, 817), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2167 { "evstwhex", VX(4, 816), VX_MASK, PPCSPE, { RS, RA, RB } },
2168 { "evstwho", VX(4, 821), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2169 { "evstwhox", VX(4, 820), VX_MASK, PPCSPE, { RS, RA, RB } },
2171 { "evfsabs", VX(4, 644), VX_MASK, PPCSPE, { RS, RA } },
2172 { "evfsnabs", VX(4, 645), VX_MASK, PPCSPE, { RS, RA } },
2173 { "evfsneg", VX(4, 646), VX_MASK, PPCSPE, { RS, RA } },
2174 { "evfsadd", VX(4, 640), VX_MASK, PPCSPE, { RS, RA, RB } },
2175 { "evfssub", VX(4, 641), VX_MASK, PPCSPE, { RS, RA, RB } },
2176 { "evfsmul", VX(4, 648), VX_MASK, PPCSPE, { RS, RA, RB } },
2177 { "evfsdiv", VX(4, 649), VX_MASK, PPCSPE, { RS, RA, RB } },
2178 { "evfscmpgt", VX(4, 652), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2179 { "evfscmplt", VX(4, 653), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2180 { "evfscmpeq", VX(4, 654), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2181 { "evfststgt", VX(4, 668), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2182 { "evfststlt", VX(4, 669), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2183 { "evfststeq", VX(4, 670), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2184 { "evfscfui", VX(4, 656), VX_MASK, PPCSPE, { RS, RB } },
2185 { "evfsctuiz", VX(4, 664), VX_MASK, PPCSPE, { RS, RB } },
2186 { "evfscfsi", VX(4, 657), VX_MASK, PPCSPE, { RS, RB } },
2187 { "evfscfuf", VX(4, 658), VX_MASK, PPCSPE, { RS, RB } },
2188 { "evfscfsf", VX(4, 659), VX_MASK, PPCSPE, { RS, RB } },
2189 { "evfsctui", VX(4, 660), VX_MASK, PPCSPE, { RS, RB } },
2190 { "evfsctsi", VX(4, 661), VX_MASK, PPCSPE, { RS, RB } },
2191 { "evfsctsiz", VX(4, 666), VX_MASK, PPCSPE, { RS, RB } },
2192 { "evfsctuf", VX(4, 662), VX_MASK, PPCSPE, { RS, RB } },
2193 { "evfsctsf", VX(4, 663), VX_MASK, PPCSPE, { RS, RB } },
2195 { "efsabs", VX(4, 708), VX_MASK, PPCEFS, { RS, RA } },
2196 { "efsnabs", VX(4, 709), VX_MASK, PPCEFS, { RS, RA } },
2197 { "efsneg", VX(4, 710), VX_MASK, PPCEFS, { RS, RA } },
2198 { "efsadd", VX(4, 704), VX_MASK, PPCEFS, { RS, RA, RB } },
2199 { "efssub", VX(4, 705), VX_MASK, PPCEFS, { RS, RA, RB } },
2200 { "efsmul", VX(4, 712), VX_MASK, PPCEFS, { RS, RA, RB } },
2201 { "efsdiv", VX(4, 713), VX_MASK, PPCEFS, { RS, RA, RB } },
2202 { "efscmpgt", VX(4, 716), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2203 { "efscmplt", VX(4, 717), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2204 { "efscmpeq", VX(4, 718), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2205 { "efststgt", VX(4, 732), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2206 { "efststlt", VX(4, 733), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2207 { "efststeq", VX(4, 734), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2208 { "efscfui", VX(4, 720), VX_MASK, PPCEFS, { RS, RB } },
2209 { "efsctuiz", VX(4, 728), VX_MASK, PPCEFS, { RS, RB } },
2210 { "efscfsi", VX(4, 721), VX_MASK, PPCEFS, { RS, RB } },
2211 { "efscfuf", VX(4, 722), VX_MASK, PPCEFS, { RS, RB } },
2212 { "efscfsf", VX(4, 723), VX_MASK, PPCEFS, { RS, RB } },
2213 { "efsctui", VX(4, 724), VX_MASK, PPCEFS, { RS, RB } },
2214 { "efsctsi", VX(4, 725), VX_MASK, PPCEFS, { RS, RB } },
2215 { "efsctsiz", VX(4, 730), VX_MASK, PPCEFS, { RS, RB } },
2216 { "efsctuf", VX(4, 726), VX_MASK, PPCEFS, { RS, RB } },
2217 { "efsctsf", VX(4, 727), VX_MASK, PPCEFS, { RS, RB } },
2219 { "evmhossf", VX(4, 1031), VX_MASK, PPCSPE, { RS, RA, RB } },
2220 { "evmhossfa", VX(4, 1063), VX_MASK, PPCSPE, { RS, RA, RB } },
2221 { "evmhosmf", VX(4, 1039), VX_MASK, PPCSPE, { RS, RA, RB } },
2222 { "evmhosmfa", VX(4, 1071), VX_MASK, PPCSPE, { RS, RA, RB } },
2223 { "evmhosmi", VX(4, 1037), VX_MASK, PPCSPE, { RS, RA, RB } },
2224 { "evmhosmia", VX(4, 1069), VX_MASK, PPCSPE, { RS, RA, RB } },
2225 { "evmhoumi", VX(4, 1036), VX_MASK, PPCSPE, { RS, RA, RB } },
2226 { "evmhoumia", VX(4, 1068), VX_MASK, PPCSPE, { RS, RA, RB } },
2227 { "evmhessf", VX(4, 1027), VX_MASK, PPCSPE, { RS, RA, RB } },
2228 { "evmhessfa", VX(4, 1059), VX_MASK, PPCSPE, { RS, RA, RB } },
2229 { "evmhesmf", VX(4, 1035), VX_MASK, PPCSPE, { RS, RA, RB } },
2230 { "evmhesmfa", VX(4, 1067), VX_MASK, PPCSPE, { RS, RA, RB } },
2231 { "evmhesmi", VX(4, 1033), VX_MASK, PPCSPE, { RS, RA, RB } },
2232 { "evmhesmia", VX(4, 1065), VX_MASK, PPCSPE, { RS, RA, RB } },
2233 { "evmheumi", VX(4, 1032), VX_MASK, PPCSPE, { RS, RA, RB } },
2234 { "evmheumia", VX(4, 1064), VX_MASK, PPCSPE, { RS, RA, RB } },
2236 { "evmhossfaaw",VX(4, 1287), VX_MASK, PPCSPE, { RS, RA, RB } },
2237 { "evmhossiaaw",VX(4, 1285), VX_MASK, PPCSPE, { RS, RA, RB } },
2238 { "evmhosmfaaw",VX(4, 1295), VX_MASK, PPCSPE, { RS, RA, RB } },
2239 { "evmhosmiaaw",VX(4, 1293), VX_MASK, PPCSPE, { RS, RA, RB } },
2240 { "evmhousiaaw",VX(4, 1284), VX_MASK, PPCSPE, { RS, RA, RB } },
2241 { "evmhoumiaaw",VX(4, 1292), VX_MASK, PPCSPE, { RS, RA, RB } },
2242 { "evmhessfaaw",VX(4, 1283), VX_MASK, PPCSPE, { RS, RA, RB } },
2243 { "evmhessiaaw",VX(4, 1281), VX_MASK, PPCSPE, { RS, RA, RB } },
2244 { "evmhesmfaaw",VX(4, 1291), VX_MASK, PPCSPE, { RS, RA, RB } },
2245 { "evmhesmiaaw",VX(4, 1289), VX_MASK, PPCSPE, { RS, RA, RB } },
2246 { "evmheusiaaw",VX(4, 1280), VX_MASK, PPCSPE, { RS, RA, RB } },
2247 { "evmheumiaaw",VX(4, 1288), VX_MASK, PPCSPE, { RS, RA, RB } },
2249 { "evmhossfanw",VX(4, 1415), VX_MASK, PPCSPE, { RS, RA, RB } },
2250 { "evmhossianw",VX(4, 1413), VX_MASK, PPCSPE, { RS, RA, RB } },
2251 { "evmhosmfanw",VX(4, 1423), VX_MASK, PPCSPE, { RS, RA, RB } },
2252 { "evmhosmianw",VX(4, 1421), VX_MASK, PPCSPE, { RS, RA, RB } },
2253 { "evmhousianw",VX(4, 1412), VX_MASK, PPCSPE, { RS, RA, RB } },
2254 { "evmhoumianw",VX(4, 1420), VX_MASK, PPCSPE, { RS, RA, RB } },
2255 { "evmhessfanw",VX(4, 1411), VX_MASK, PPCSPE, { RS, RA, RB } },
2256 { "evmhessianw",VX(4, 1409), VX_MASK, PPCSPE, { RS, RA, RB } },
2257 { "evmhesmfanw",VX(4, 1419), VX_MASK, PPCSPE, { RS, RA, RB } },
2258 { "evmhesmianw",VX(4, 1417), VX_MASK, PPCSPE, { RS, RA, RB } },
2259 { "evmheusianw",VX(4, 1408), VX_MASK, PPCSPE, { RS, RA, RB } },
2260 { "evmheumianw",VX(4, 1416), VX_MASK, PPCSPE, { RS, RA, RB } },
2262 { "evmhogsmfaa",VX(4, 1327), VX_MASK, PPCSPE, { RS, RA, RB } },
2263 { "evmhogsmiaa",VX(4, 1325), VX_MASK, PPCSPE, { RS, RA, RB } },
2264 { "evmhogumiaa",VX(4, 1324), VX_MASK, PPCSPE, { RS, RA, RB } },
2265 { "evmhegsmfaa",VX(4, 1323), VX_MASK, PPCSPE, { RS, RA, RB } },
2266 { "evmhegsmiaa",VX(4, 1321), VX_MASK, PPCSPE, { RS, RA, RB } },
2267 { "evmhegumiaa",VX(4, 1320), VX_MASK, PPCSPE, { RS, RA, RB } },
2269 { "evmhogsmfan",VX(4, 1455), VX_MASK, PPCSPE, { RS, RA, RB } },
2270 { "evmhogsmian",VX(4, 1453), VX_MASK, PPCSPE, { RS, RA, RB } },
2271 { "evmhogumian",VX(4, 1452), VX_MASK, PPCSPE, { RS, RA, RB } },
2272 { "evmhegsmfan",VX(4, 1451), VX_MASK, PPCSPE, { RS, RA, RB } },
2273 { "evmhegsmian",VX(4, 1449), VX_MASK, PPCSPE, { RS, RA, RB } },
2274 { "evmhegumian",VX(4, 1448), VX_MASK, PPCSPE, { RS, RA, RB } },
2276 { "evmwhssf", VX(4, 1095), VX_MASK, PPCSPE, { RS, RA, RB } },
2277 { "evmwhssfa", VX(4, 1127), VX_MASK, PPCSPE, { RS, RA, RB } },
2278 { "evmwhsmf", VX(4, 1103), VX_MASK, PPCSPE, { RS, RA, RB } },
2279 { "evmwhsmfa", VX(4, 1135), VX_MASK, PPCSPE, { RS, RA, RB } },
2280 { "evmwhsmi", VX(4, 1101), VX_MASK, PPCSPE, { RS, RA, RB } },
2281 { "evmwhsmia", VX(4, 1133), VX_MASK, PPCSPE, { RS, RA, RB } },
2282 { "evmwhumi", VX(4, 1100), VX_MASK, PPCSPE, { RS, RA, RB } },
2283 { "evmwhumia", VX(4, 1132), VX_MASK, PPCSPE, { RS, RA, RB } },
2285 { "evmwlumi", VX(4, 1096), VX_MASK, PPCSPE, { RS, RA, RB } },
2286 { "evmwlumia", VX(4, 1128), VX_MASK, PPCSPE, { RS, RA, RB } },
2288 { "evmwlssiaaw",VX(4, 1345), VX_MASK, PPCSPE, { RS, RA, RB } },
2289 { "evmwlsmiaaw",VX(4, 1353), VX_MASK, PPCSPE, { RS, RA, RB } },
2290 { "evmwlusiaaw",VX(4, 1344), VX_MASK, PPCSPE, { RS, RA, RB } },
2291 { "evmwlumiaaw",VX(4, 1352), VX_MASK, PPCSPE, { RS, RA, RB } },
2293 { "evmwlssianw",VX(4, 1473), VX_MASK, PPCSPE, { RS, RA, RB } },
2294 { "evmwlsmianw",VX(4, 1481), VX_MASK, PPCSPE, { RS, RA, RB } },
2295 { "evmwlusianw",VX(4, 1472), VX_MASK, PPCSPE, { RS, RA, RB } },
2296 { "evmwlumianw",VX(4, 1480), VX_MASK, PPCSPE, { RS, RA, RB } },
2298 { "evmwssf", VX(4, 1107), VX_MASK, PPCSPE, { RS, RA, RB } },
2299 { "evmwssfa", VX(4, 1139), VX_MASK, PPCSPE, { RS, RA, RB } },
2300 { "evmwsmf", VX(4, 1115), VX_MASK, PPCSPE, { RS, RA, RB } },
2301 { "evmwsmfa", VX(4, 1147), VX_MASK, PPCSPE, { RS, RA, RB } },
2302 { "evmwsmi", VX(4, 1113), VX_MASK, PPCSPE, { RS, RA, RB } },
2303 { "evmwsmia", VX(4, 1145), VX_MASK, PPCSPE, { RS, RA, RB } },
2304 { "evmwumi", VX(4, 1112), VX_MASK, PPCSPE, { RS, RA, RB } },
2305 { "evmwumia", VX(4, 1144), VX_MASK, PPCSPE, { RS, RA, RB } },
2307 { "evmwssfaa", VX(4, 1363), VX_MASK, PPCSPE, { RS, RA, RB } },
2308 { "evmwsmfaa", VX(4, 1371), VX_MASK, PPCSPE, { RS, RA, RB } },
2309 { "evmwsmiaa", VX(4, 1369), VX_MASK, PPCSPE, { RS, RA, RB } },
2310 { "evmwumiaa", VX(4, 1368), VX_MASK, PPCSPE, { RS, RA, RB } },
2312 { "evmwssfan", VX(4, 1491), VX_MASK, PPCSPE, { RS, RA, RB } },
2313 { "evmwsmfan", VX(4, 1499), VX_MASK, PPCSPE, { RS, RA, RB } },
2314 { "evmwsmian", VX(4, 1497), VX_MASK, PPCSPE, { RS, RA, RB } },
2315 { "evmwumian", VX(4, 1496), VX_MASK, PPCSPE, { RS, RA, RB } },
2317 { "evaddssiaaw",VX(4, 1217), VX_MASK, PPCSPE, { RS, RA } },
2318 { "evaddsmiaaw",VX(4, 1225), VX_MASK, PPCSPE, { RS, RA } },
2319 { "evaddusiaaw",VX(4, 1216), VX_MASK, PPCSPE, { RS, RA } },
2320 { "evaddumiaaw",VX(4, 1224), VX_MASK, PPCSPE, { RS, RA } },
2322 { "evsubfssiaaw",VX(4, 1219), VX_MASK, PPCSPE, { RS, RA } },
2323 { "evsubfsmiaaw",VX(4, 1227), VX_MASK, PPCSPE, { RS, RA } },
2324 { "evsubfusiaaw",VX(4, 1218), VX_MASK, PPCSPE, { RS, RA } },
2325 { "evsubfumiaaw",VX(4, 1226), VX_MASK, PPCSPE, { RS, RA } },
2327 { "evmra", VX(4, 1220), VX_MASK, PPCSPE, { RS, RA } },
2329 { "evdivws", VX(4, 1222), VX_MASK, PPCSPE, { RS, RA, RB } },
2330 { "evdivwu", VX(4, 1223), VX_MASK, PPCSPE, { RS, RA, RB } },
2332 { "mulli", OP(7), OP_MASK, PPCCOM, { RT, RA, SI } },
2333 { "muli", OP(7), OP_MASK, PWRCOM, { RT, RA, SI } },
2335 { "subfic", OP(8), OP_MASK, PPCCOM, { RT, RA, SI } },
2336 { "sfi", OP(8), OP_MASK, PWRCOM, { RT, RA, SI } },
2338 { "dozi", OP(9), OP_MASK, M601, { RT, RA, SI } },
2340 { "bce", B(9,0,0), B_MASK, BOOKE64, { BO, BI, BD } },
2341 { "bcel", B(9,0,1), B_MASK, BOOKE64, { BO, BI, BD } },
2342 { "bcea", B(9,1,0), B_MASK, BOOKE64, { BO, BI, BDA } },
2343 { "bcela", B(9,1,1), B_MASK, BOOKE64, { BO, BI, BDA } },
2345 { "cmplwi", OPL(10,0), OPL_MASK, PPCCOM, { OBF, RA, UI } },
2346 { "cmpldi", OPL(10,1), OPL_MASK, PPC64, { OBF, RA, UI } },
2347 { "cmpli", OP(10), OP_MASK, PPC, { BF, L, RA, UI } },
2348 { "cmpli", OP(10), OP_MASK, PWRCOM, { BF, RA, UI } },
2350 { "cmpwi", OPL(11,0), OPL_MASK, PPCCOM, { OBF, RA, SI } },
2351 { "cmpdi", OPL(11,1), OPL_MASK, PPC64, { OBF, RA, SI } },
2352 { "cmpi", OP(11), OP_MASK, PPC, { BF, L, RA, SI } },
2353 { "cmpi", OP(11), OP_MASK, PWRCOM, { BF, RA, SI } },
2355 { "addic", OP(12), OP_MASK, PPCCOM, { RT, RA, SI } },
2356 { "ai", OP(12), OP_MASK, PWRCOM, { RT, RA, SI } },
2357 { "subic", OP(12), OP_MASK, PPCCOM, { RT, RA, NSI } },
2359 { "addic.", OP(13), OP_MASK, PPCCOM, { RT, RA, SI } },
2360 { "ai.", OP(13), OP_MASK, PWRCOM, { RT, RA, SI } },
2361 { "subic.", OP(13), OP_MASK, PPCCOM, { RT, RA, NSI } },
2363 { "li", OP(14), DRA_MASK, PPCCOM, { RT, SI } },
2364 { "lil", OP(14), DRA_MASK, PWRCOM, { RT, SI } },
2365 { "addi", OP(14), OP_MASK, PPCCOM, { RT, RA0, SI } },
2366 { "cal", OP(14), OP_MASK, PWRCOM, { RT, D, RA0 } },
2367 { "subi", OP(14), OP_MASK, PPCCOM, { RT, RA0, NSI } },
2368 { "la", OP(14), OP_MASK, PPCCOM, { RT, D, RA0 } },
2370 { "lis", OP(15), DRA_MASK, PPCCOM, { RT, SISIGNOPT } },
2371 { "liu", OP(15), DRA_MASK, PWRCOM, { RT, SISIGNOPT } },
2372 { "addis", OP(15), OP_MASK, PPCCOM, { RT,RA0,SISIGNOPT } },
2373 { "cau", OP(15), OP_MASK, PWRCOM, { RT,RA0,SISIGNOPT } },
2374 { "subis", OP(15), OP_MASK, PPCCOM, { RT, RA0, NSI } },
2376 { "bdnz-", BBO(16,BODNZ,0,0), BBOATBI_MASK, PPCCOM, { BDM } },
2377 { "bdnz+", BBO(16,BODNZ,0,0), BBOATBI_MASK, PPCCOM, { BDP } },
2378 { "bdnz", BBO(16,BODNZ,0,0), BBOATBI_MASK, PPCCOM, { BD } },
2379 { "bdn", BBO(16,BODNZ,0,0), BBOATBI_MASK, PWRCOM, { BD } },
2380 { "bdnzl-", BBO(16,BODNZ,0,1), BBOATBI_MASK, PPCCOM, { BDM } },
2381 { "bdnzl+", BBO(16,BODNZ,0,1), BBOATBI_MASK, PPCCOM, { BDP } },
2382 { "bdnzl", BBO(16,BODNZ,0,1), BBOATBI_MASK, PPCCOM, { BD } },
2383 { "bdnl", BBO(16,BODNZ,0,1), BBOATBI_MASK, PWRCOM, { BD } },
2384 { "bdnza-", BBO(16,BODNZ,1,0), BBOATBI_MASK, PPCCOM, { BDMA } },
2385 { "bdnza+", BBO(16,BODNZ,1,0), BBOATBI_MASK, PPCCOM, { BDPA } },
2386 { "bdnza", BBO(16,BODNZ,1,0), BBOATBI_MASK, PPCCOM, { BDA } },
2387 { "bdna", BBO(16,BODNZ,1,0), BBOATBI_MASK, PWRCOM, { BDA } },
2388 { "bdnzla-", BBO(16,BODNZ,1,1), BBOATBI_MASK, PPCCOM, { BDMA } },
2389 { "bdnzla+", BBO(16,BODNZ,1,1), BBOATBI_MASK, PPCCOM, { BDPA } },
2390 { "bdnzla", BBO(16,BODNZ,1,1), BBOATBI_MASK, PPCCOM, { BDA } },
2391 { "bdnla", BBO(16,BODNZ,1,1), BBOATBI_MASK, PWRCOM, { BDA } },
2392 { "bdz-", BBO(16,BODZ,0,0), BBOATBI_MASK, PPCCOM, { BDM } },
2393 { "bdz+", BBO(16,BODZ,0,0), BBOATBI_MASK, PPCCOM, { BDP } },
2394 { "bdz", BBO(16,BODZ,0,0), BBOATBI_MASK, COM, { BD } },
2395 { "bdzl-", BBO(16,BODZ,0,1), BBOATBI_MASK, PPCCOM, { BDM } },
2396 { "bdzl+", BBO(16,BODZ,0,1), BBOATBI_MASK, PPCCOM, { BDP } },
2397 { "bdzl", BBO(16,BODZ,0,1), BBOATBI_MASK, COM, { BD } },
2398 { "bdza-", BBO(16,BODZ,1,0), BBOATBI_MASK, PPCCOM, { BDMA } },
2399 { "bdza+", BBO(16,BODZ,1,0), BBOATBI_MASK, PPCCOM, { BDPA } },
2400 { "bdza", BBO(16,BODZ,1,0), BBOATBI_MASK, COM, { BDA } },
2401 { "bdzla-", BBO(16,BODZ,1,1), BBOATBI_MASK, PPCCOM, { BDMA } },
2402 { "bdzla+", BBO(16,BODZ,1,1), BBOATBI_MASK, PPCCOM, { BDPA } },
2403 { "bdzla", BBO(16,BODZ,1,1), BBOATBI_MASK, COM, { BDA } },
2404 { "blt-", BBOCB(16,BOT,CBLT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2405 { "blt+", BBOCB(16,BOT,CBLT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2406 { "blt", BBOCB(16,BOT,CBLT,0,0), BBOATCB_MASK, COM, { CR, BD } },
2407 { "bltl-", BBOCB(16,BOT,CBLT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2408 { "bltl+", BBOCB(16,BOT,CBLT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2409 { "bltl", BBOCB(16,BOT,CBLT,0,1), BBOATCB_MASK, COM, { CR, BD } },
2410 { "blta-", BBOCB(16,BOT,CBLT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2411 { "blta+", BBOCB(16,BOT,CBLT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2412 { "blta", BBOCB(16,BOT,CBLT,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2413 { "bltla-", BBOCB(16,BOT,CBLT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2414 { "bltla+", BBOCB(16,BOT,CBLT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2415 { "bltla", BBOCB(16,BOT,CBLT,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2416 { "bgt-", BBOCB(16,BOT,CBGT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2417 { "bgt+", BBOCB(16,BOT,CBGT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2418 { "bgt", BBOCB(16,BOT,CBGT,0,0), BBOATCB_MASK, COM, { CR, BD } },
2419 { "bgtl-", BBOCB(16,BOT,CBGT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2420 { "bgtl+", BBOCB(16,BOT,CBGT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2421 { "bgtl", BBOCB(16,BOT,CBGT,0,1), BBOATCB_MASK, COM, { CR, BD } },
2422 { "bgta-", BBOCB(16,BOT,CBGT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2423 { "bgta+", BBOCB(16,BOT,CBGT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2424 { "bgta", BBOCB(16,BOT,CBGT,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2425 { "bgtla-", BBOCB(16,BOT,CBGT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2426 { "bgtla+", BBOCB(16,BOT,CBGT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2427 { "bgtla", BBOCB(16,BOT,CBGT,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2428 { "beq-", BBOCB(16,BOT,CBEQ,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2429 { "beq+", BBOCB(16,BOT,CBEQ,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2430 { "beq", BBOCB(16,BOT,CBEQ,0,0), BBOATCB_MASK, COM, { CR, BD } },
2431 { "beql-", BBOCB(16,BOT,CBEQ,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2432 { "beql+", BBOCB(16,BOT,CBEQ,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2433 { "beql", BBOCB(16,BOT,CBEQ,0,1), BBOATCB_MASK, COM, { CR, BD } },
2434 { "beqa-", BBOCB(16,BOT,CBEQ,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2435 { "beqa+", BBOCB(16,BOT,CBEQ,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2436 { "beqa", BBOCB(16,BOT,CBEQ,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2437 { "beqla-", BBOCB(16,BOT,CBEQ,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2438 { "beqla+", BBOCB(16,BOT,CBEQ,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2439 { "beqla", BBOCB(16,BOT,CBEQ,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2440 { "bso-", BBOCB(16,BOT,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2441 { "bso+", BBOCB(16,BOT,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2442 { "bso", BBOCB(16,BOT,CBSO,0,0), BBOATCB_MASK, COM, { CR, BD } },
2443 { "bsol-", BBOCB(16,BOT,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2444 { "bsol+", BBOCB(16,BOT,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2445 { "bsol", BBOCB(16,BOT,CBSO,0,1), BBOATCB_MASK, COM, { CR, BD } },
2446 { "bsoa-", BBOCB(16,BOT,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2447 { "bsoa+", BBOCB(16,BOT,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2448 { "bsoa", BBOCB(16,BOT,CBSO,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2449 { "bsola-", BBOCB(16,BOT,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2450 { "bsola+", BBOCB(16,BOT,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2451 { "bsola", BBOCB(16,BOT,CBSO,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2452 { "bun-", BBOCB(16,BOT,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2453 { "bun+", BBOCB(16,BOT,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2454 { "bun", BBOCB(16,BOT,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BD } },
2455 { "bunl-", BBOCB(16,BOT,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2456 { "bunl+", BBOCB(16,BOT,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2457 { "bunl", BBOCB(16,BOT,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BD } },
2458 { "buna-", BBOCB(16,BOT,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2459 { "buna+", BBOCB(16,BOT,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2460 { "buna", BBOCB(16,BOT,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDA } },
2461 { "bunla-", BBOCB(16,BOT,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2462 { "bunla+", BBOCB(16,BOT,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2463 { "bunla", BBOCB(16,BOT,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDA } },
2464 { "bge-", BBOCB(16,BOF,CBLT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2465 { "bge+", BBOCB(16,BOF,CBLT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2466 { "bge", BBOCB(16,BOF,CBLT,0,0), BBOATCB_MASK, COM, { CR, BD } },
2467 { "bgel-", BBOCB(16,BOF,CBLT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2468 { "bgel+", BBOCB(16,BOF,CBLT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2469 { "bgel", BBOCB(16,BOF,CBLT,0,1), BBOATCB_MASK, COM, { CR, BD } },
2470 { "bgea-", BBOCB(16,BOF,CBLT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2471 { "bgea+", BBOCB(16,BOF,CBLT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2472 { "bgea", BBOCB(16,BOF,CBLT,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2473 { "bgela-", BBOCB(16,BOF,CBLT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2474 { "bgela+", BBOCB(16,BOF,CBLT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2475 { "bgela", BBOCB(16,BOF,CBLT,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2476 { "bnl-", BBOCB(16,BOF,CBLT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2477 { "bnl+", BBOCB(16,BOF,CBLT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2478 { "bnl", BBOCB(16,BOF,CBLT,0,0), BBOATCB_MASK, COM, { CR, BD } },
2479 { "bnll-", BBOCB(16,BOF,CBLT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2480 { "bnll+", BBOCB(16,BOF,CBLT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2481 { "bnll", BBOCB(16,BOF,CBLT,0,1), BBOATCB_MASK, COM, { CR, BD } },
2482 { "bnla-", BBOCB(16,BOF,CBLT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2483 { "bnla+", BBOCB(16,BOF,CBLT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2484 { "bnla", BBOCB(16,BOF,CBLT,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2485 { "bnlla-", BBOCB(16,BOF,CBLT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2486 { "bnlla+", BBOCB(16,BOF,CBLT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2487 { "bnlla", BBOCB(16,BOF,CBLT,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2488 { "ble-", BBOCB(16,BOF,CBGT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2489 { "ble+", BBOCB(16,BOF,CBGT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2490 { "ble", BBOCB(16,BOF,CBGT,0,0), BBOATCB_MASK, COM, { CR, BD } },
2491 { "blel-", BBOCB(16,BOF,CBGT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2492 { "blel+", BBOCB(16,BOF,CBGT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2493 { "blel", BBOCB(16,BOF,CBGT,0,1), BBOATCB_MASK, COM, { CR, BD } },
2494 { "blea-", BBOCB(16,BOF,CBGT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2495 { "blea+", BBOCB(16,BOF,CBGT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2496 { "blea", BBOCB(16,BOF,CBGT,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2497 { "blela-", BBOCB(16,BOF,CBGT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2498 { "blela+", BBOCB(16,BOF,CBGT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2499 { "blela", BBOCB(16,BOF,CBGT,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2500 { "bng-", BBOCB(16,BOF,CBGT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2501 { "bng+", BBOCB(16,BOF,CBGT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2502 { "bng", BBOCB(16,BOF,CBGT,0,0), BBOATCB_MASK, COM, { CR, BD } },
2503 { "bngl-", BBOCB(16,BOF,CBGT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2504 { "bngl+", BBOCB(16,BOF,CBGT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2505 { "bngl", BBOCB(16,BOF,CBGT,0,1), BBOATCB_MASK, COM, { CR, BD } },
2506 { "bnga-", BBOCB(16,BOF,CBGT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2507 { "bnga+", BBOCB(16,BOF,CBGT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2508 { "bnga", BBOCB(16,BOF,CBGT,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2509 { "bngla-", BBOCB(16,BOF,CBGT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2510 { "bngla+", BBOCB(16,BOF,CBGT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2511 { "bngla", BBOCB(16,BOF,CBGT,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2512 { "bne-", BBOCB(16,BOF,CBEQ,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2513 { "bne+", BBOCB(16,BOF,CBEQ,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2514 { "bne", BBOCB(16,BOF,CBEQ,0,0), BBOATCB_MASK, COM, { CR, BD } },
2515 { "bnel-", BBOCB(16,BOF,CBEQ,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2516 { "bnel+", BBOCB(16,BOF,CBEQ,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2517 { "bnel", BBOCB(16,BOF,CBEQ,0,1), BBOATCB_MASK, COM, { CR, BD } },
2518 { "bnea-", BBOCB(16,BOF,CBEQ,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2519 { "bnea+", BBOCB(16,BOF,CBEQ,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2520 { "bnea", BBOCB(16,BOF,CBEQ,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2521 { "bnela-", BBOCB(16,BOF,CBEQ,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2522 { "bnela+", BBOCB(16,BOF,CBEQ,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2523 { "bnela", BBOCB(16,BOF,CBEQ,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2524 { "bns-", BBOCB(16,BOF,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2525 { "bns+", BBOCB(16,BOF,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2526 { "bns", BBOCB(16,BOF,CBSO,0,0), BBOATCB_MASK, COM, { CR, BD } },
2527 { "bnsl-", BBOCB(16,BOF,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2528 { "bnsl+", BBOCB(16,BOF,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2529 { "bnsl", BBOCB(16,BOF,CBSO,0,1), BBOATCB_MASK, COM, { CR, BD } },
2530 { "bnsa-", BBOCB(16,BOF,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2531 { "bnsa+", BBOCB(16,BOF,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2532 { "bnsa", BBOCB(16,BOF,CBSO,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2533 { "bnsla-", BBOCB(16,BOF,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2534 { "bnsla+", BBOCB(16,BOF,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2535 { "bnsla", BBOCB(16,BOF,CBSO,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2536 { "bnu-", BBOCB(16,BOF,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2537 { "bnu+", BBOCB(16,BOF,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2538 { "bnu", BBOCB(16,BOF,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BD } },
2539 { "bnul-", BBOCB(16,BOF,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2540 { "bnul+", BBOCB(16,BOF,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2541 { "bnul", BBOCB(16,BOF,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BD } },
2542 { "bnua-", BBOCB(16,BOF,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2543 { "bnua+", BBOCB(16,BOF,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2544 { "bnua", BBOCB(16,BOF,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDA } },
2545 { "bnula-", BBOCB(16,BOF,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2546 { "bnula+", BBOCB(16,BOF,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2547 { "bnula", BBOCB(16,BOF,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDA } },
2548 { "bdnzt-", BBO(16,BODNZT,0,0), BBOY_MASK, NOPOWER4, { BI, BDM } },
2549 { "bdnzt+", BBO(16,BODNZT,0,0), BBOY_MASK, NOPOWER4, { BI, BDP } },
2550 { "bdnzt", BBO(16,BODNZT,0,0), BBOY_MASK, PPCCOM, { BI, BD } },
2551 { "bdnztl-", BBO(16,BODNZT,0,1), BBOY_MASK, NOPOWER4, { BI, BDM } },
2552 { "bdnztl+", BBO(16,BODNZT,0,1), BBOY_MASK, NOPOWER4, { BI, BDP } },
2553 { "bdnztl", BBO(16,BODNZT,0,1), BBOY_MASK, PPCCOM, { BI, BD } },
2554 { "bdnzta-", BBO(16,BODNZT,1,0), BBOY_MASK, NOPOWER4, { BI, BDMA } },
2555 { "bdnzta+", BBO(16,BODNZT,1,0), BBOY_MASK, NOPOWER4, { BI, BDPA } },
2556 { "bdnzta", BBO(16,BODNZT,1,0), BBOY_MASK, PPCCOM, { BI, BDA } },
2557 { "bdnztla-",BBO(16,BODNZT,1,1), BBOY_MASK, NOPOWER4, { BI, BDMA } },
2558 { "bdnztla+",BBO(16,BODNZT,1,1), BBOY_MASK, NOPOWER4, { BI, BDPA } },
2559 { "bdnztla", BBO(16,BODNZT,1,1), BBOY_MASK, PPCCOM, { BI, BDA } },
2560 { "bdnzf-", BBO(16,BODNZF,0,0), BBOY_MASK, NOPOWER4, { BI, BDM } },
2561 { "bdnzf+", BBO(16,BODNZF,0,0), BBOY_MASK, NOPOWER4, { BI, BDP } },
2562 { "bdnzf", BBO(16,BODNZF,0,0), BBOY_MASK, PPCCOM, { BI, BD } },
2563 { "bdnzfl-", BBO(16,BODNZF,0,1), BBOY_MASK, NOPOWER4, { BI, BDM } },
2564 { "bdnzfl+", BBO(16,BODNZF,0,1), BBOY_MASK, NOPOWER4, { BI, BDP } },
2565 { "bdnzfl", BBO(16,BODNZF,0,1), BBOY_MASK, PPCCOM, { BI, BD } },
2566 { "bdnzfa-", BBO(16,BODNZF,1,0), BBOY_MASK, NOPOWER4, { BI, BDMA } },
2567 { "bdnzfa+", BBO(16,BODNZF,1,0), BBOY_MASK, NOPOWER4, { BI, BDPA } },
2568 { "bdnzfa", BBO(16,BODNZF,1,0), BBOY_MASK, PPCCOM, { BI, BDA } },
2569 { "bdnzfla-",BBO(16,BODNZF,1,1), BBOY_MASK, NOPOWER4, { BI, BDMA } },
2570 { "bdnzfla+",BBO(16,BODNZF,1,1), BBOY_MASK, NOPOWER4, { BI, BDPA } },
2571 { "bdnzfla", BBO(16,BODNZF,1,1), BBOY_MASK, PPCCOM, { BI, BDA } },
2572 { "bt-", BBO(16,BOT,0,0), BBOAT_MASK, PPCCOM, { BI, BDM } },
2573 { "bt+", BBO(16,BOT,0,0), BBOAT_MASK, PPCCOM, { BI, BDP } },
2574 { "bt", BBO(16,BOT,0,0), BBOAT_MASK, PPCCOM, { BI, BD } },
2575 { "bbt", BBO(16,BOT,0,0), BBOAT_MASK, PWRCOM, { BI, BD } },
2576 { "btl-", BBO(16,BOT,0,1), BBOAT_MASK, PPCCOM, { BI, BDM } },
2577 { "btl+", BBO(16,BOT,0,1), BBOAT_MASK, PPCCOM, { BI, BDP } },
2578 { "btl", BBO(16,BOT,0,1), BBOAT_MASK, PPCCOM, { BI, BD } },
2579 { "bbtl", BBO(16,BOT,0,1), BBOAT_MASK, PWRCOM, { BI, BD } },
2580 { "bta-", BBO(16,BOT,1,0), BBOAT_MASK, PPCCOM, { BI, BDMA } },
2581 { "bta+", BBO(16,BOT,1,0), BBOAT_MASK, PPCCOM, { BI, BDPA } },
2582 { "bta", BBO(16,BOT,1,0), BBOAT_MASK, PPCCOM, { BI, BDA } },
2583 { "bbta", BBO(16,BOT,1,0), BBOAT_MASK, PWRCOM, { BI, BDA } },
2584 { "btla-", BBO(16,BOT,1,1), BBOAT_MASK, PPCCOM, { BI, BDMA } },
2585 { "btla+", BBO(16,BOT,1,1), BBOAT_MASK, PPCCOM, { BI, BDPA } },
2586 { "btla", BBO(16,BOT,1,1), BBOAT_MASK, PPCCOM, { BI, BDA } },
2587 { "bbtla", BBO(16,BOT,1,1), BBOAT_MASK, PWRCOM, { BI, BDA } },
2588 { "bf-", BBO(16,BOF,0,0), BBOAT_MASK, PPCCOM, { BI, BDM } },
2589 { "bf+", BBO(16,BOF,0,0), BBOAT_MASK, PPCCOM, { BI, BDP } },
2590 { "bf", BBO(16,BOF,0,0), BBOAT_MASK, PPCCOM, { BI, BD } },
2591 { "bbf", BBO(16,BOF,0,0), BBOAT_MASK, PWRCOM, { BI, BD } },
2592 { "bfl-", BBO(16,BOF,0,1), BBOAT_MASK, PPCCOM, { BI, BDM } },
2593 { "bfl+", BBO(16,BOF,0,1), BBOAT_MASK, PPCCOM, { BI, BDP } },
2594 { "bfl", BBO(16,BOF,0,1), BBOAT_MASK, PPCCOM, { BI, BD } },
2595 { "bbfl", BBO(16,BOF,0,1), BBOAT_MASK, PWRCOM, { BI, BD } },
2596 { "bfa-", BBO(16,BOF,1,0), BBOAT_MASK, PPCCOM, { BI, BDMA } },
2597 { "bfa+", BBO(16,BOF,1,0), BBOAT_MASK, PPCCOM, { BI, BDPA } },
2598 { "bfa", BBO(16,BOF,1,0), BBOAT_MASK, PPCCOM, { BI, BDA } },
2599 { "bbfa", BBO(16,BOF,1,0), BBOAT_MASK, PWRCOM, { BI, BDA } },
2600 { "bfla-", BBO(16,BOF,1,1), BBOAT_MASK, PPCCOM, { BI, BDMA } },
2601 { "bfla+", BBO(16,BOF,1,1), BBOAT_MASK, PPCCOM, { BI, BDPA } },
2602 { "bfla", BBO(16,BOF,1,1), BBOAT_MASK, PPCCOM, { BI, BDA } },
2603 { "bbfla", BBO(16,BOF,1,1), BBOAT_MASK, PWRCOM, { BI, BDA } },
2604 { "bdzt-", BBO(16,BODZT,0,0), BBOY_MASK, NOPOWER4, { BI, BDM } },
2605 { "bdzt+", BBO(16,BODZT,0,0), BBOY_MASK, NOPOWER4, { BI, BDP } },
2606 { "bdzt", BBO(16,BODZT,0,0), BBOY_MASK, PPCCOM, { BI, BD } },
2607 { "bdztl-", BBO(16,BODZT,0,1), BBOY_MASK, NOPOWER4, { BI, BDM } },
2608 { "bdztl+", BBO(16,BODZT,0,1), BBOY_MASK, NOPOWER4, { BI, BDP } },
2609 { "bdztl", BBO(16,BODZT,0,1), BBOY_MASK, PPCCOM, { BI, BD } },
2610 { "bdzta-", BBO(16,BODZT,1,0), BBOY_MASK, NOPOWER4, { BI, BDMA } },
2611 { "bdzta+", BBO(16,BODZT,1,0), BBOY_MASK, NOPOWER4, { BI, BDPA } },
2612 { "bdzta", BBO(16,BODZT,1,0), BBOY_MASK, PPCCOM, { BI, BDA } },
2613 { "bdztla-", BBO(16,BODZT,1,1), BBOY_MASK, NOPOWER4, { BI, BDMA } },
2614 { "bdztla+", BBO(16,BODZT,1,1), BBOY_MASK, NOPOWER4, { BI, BDPA } },
2615 { "bdztla", BBO(16,BODZT,1,1), BBOY_MASK, PPCCOM, { BI, BDA } },
2616 { "bdzf-", BBO(16,BODZF,0,0), BBOY_MASK, NOPOWER4, { BI, BDM } },
2617 { "bdzf+", BBO(16,BODZF,0,0), BBOY_MASK, NOPOWER4, { BI, BDP } },
2618 { "bdzf", BBO(16,BODZF,0,0), BBOY_MASK, PPCCOM, { BI, BD } },
2619 { "bdzfl-", BBO(16,BODZF,0,1), BBOY_MASK, NOPOWER4, { BI, BDM } },
2620 { "bdzfl+", BBO(16,BODZF,0,1), BBOY_MASK, NOPOWER4, { BI, BDP } },
2621 { "bdzfl", BBO(16,BODZF,0,1), BBOY_MASK, PPCCOM, { BI, BD } },
2622 { "bdzfa-", BBO(16,BODZF,1,0), BBOY_MASK, NOPOWER4, { BI, BDMA } },
2623 { "bdzfa+", BBO(16,BODZF,1,0), BBOY_MASK, NOPOWER4, { BI, BDPA } },
2624 { "bdzfa", BBO(16,BODZF,1,0), BBOY_MASK, PPCCOM, { BI, BDA } },
2625 { "bdzfla-", BBO(16,BODZF,1,1), BBOY_MASK, NOPOWER4, { BI, BDMA } },
2626 { "bdzfla+", BBO(16,BODZF,1,1), BBOY_MASK, NOPOWER4, { BI, BDPA } },
2627 { "bdzfla", BBO(16,BODZF,1,1), BBOY_MASK, PPCCOM, { BI, BDA } },
2628 { "bc-", B(16,0,0), B_MASK, PPCCOM, { BOE, BI, BDM } },
2629 { "bc+", B(16,0,0), B_MASK, PPCCOM, { BOE, BI, BDP } },
2630 { "bc", B(16,0,0), B_MASK, COM, { BO, BI, BD } },
2631 { "bcl-", B(16,0,1), B_MASK, PPCCOM, { BOE, BI, BDM } },
2632 { "bcl+", B(16,0,1), B_MASK, PPCCOM, { BOE, BI, BDP } },
2633 { "bcl", B(16,0,1), B_MASK, COM, { BO, BI, BD } },
2634 { "bca-", B(16,1,0), B_MASK, PPCCOM, { BOE, BI, BDMA } },
2635 { "bca+", B(16,1,0), B_MASK, PPCCOM, { BOE, BI, BDPA } },
2636 { "bca", B(16,1,0), B_MASK, COM, { BO, BI, BDA } },
2637 { "bcla-", B(16,1,1), B_MASK, PPCCOM, { BOE, BI, BDMA } },
2638 { "bcla+", B(16,1,1), B_MASK, PPCCOM, { BOE, BI, BDPA } },
2639 { "bcla", B(16,1,1), B_MASK, COM, { BO, BI, BDA } },
2641 { "sc", SC(17,1,0), SC_MASK, PPC, { LEV } },
2642 { "svc", SC(17,0,0), SC_MASK, POWER, { SVC_LEV, FL1, FL2 } },
2643 { "svcl", SC(17,0,1), SC_MASK, POWER, { SVC_LEV, FL1, FL2 } },
2644 { "svca", SC(17,1,0), SC_MASK, PWRCOM, { SV } },
2645 { "svcla", SC(17,1,1), SC_MASK, POWER, { SV } },
2647 { "b", B(18,0,0), B_MASK, COM, { LI } },
2648 { "bl", B(18,0,1), B_MASK, COM, { LI } },
2649 { "ba", B(18,1,0), B_MASK, COM, { LIA } },
2650 { "bla", B(18,1,1), B_MASK, COM, { LIA } },
2652 { "mcrf", XL(19,0), XLBB_MASK|(3 << 21)|(3 << 16), COM, { BF, BFA } },
2654 { "blr", XLO(19,BOU,16,0), XLBOBIBB_MASK, PPCCOM, { 0 } },
2655 { "br", XLO(19,BOU,16,0), XLBOBIBB_MASK, PWRCOM, { 0 } },
2656 { "blrl", XLO(19,BOU,16,1), XLBOBIBB_MASK, PPCCOM, { 0 } },
2657 { "brl", XLO(19,BOU,16,1), XLBOBIBB_MASK, PWRCOM, { 0 } },
2658 { "bdnzlr", XLO(19,BODNZ,16,0), XLBOBIBB_MASK, PPCCOM, { 0 } },
2659 { "bdnzlr-", XLO(19,BODNZ,16,0), XLBOBIBB_MASK, NOPOWER4, { 0 } },
2660 { "bdnzlr-", XLO(19,BODNZM4,16,0), XLBOBIBB_MASK, POWER4, { 0 } },
2661 { "bdnzlr+", XLO(19,BODNZP,16,0), XLBOBIBB_MASK, NOPOWER4, { 0 } },
2662 { "bdnzlr+", XLO(19,BODNZP4,16,0), XLBOBIBB_MASK, POWER4, { 0 } },
2663 { "bdnzlrl", XLO(19,BODNZ,16,1), XLBOBIBB_MASK, PPCCOM, { 0 } },
2664 { "bdnzlrl-",XLO(19,BODNZ,16,1), XLBOBIBB_MASK, NOPOWER4, { 0 } },
2665 { "bdnzlrl-",XLO(19,BODNZM4,16,1), XLBOBIBB_MASK, POWER4, { 0 } },
2666 { "bdnzlrl+",XLO(19,BODNZP,16,1), XLBOBIBB_MASK, NOPOWER4, { 0 } },
2667 { "bdnzlrl+",XLO(19,BODNZP4,16,1), XLBOBIBB_MASK, POWER4, { 0 } },
2668 { "bdzlr", XLO(19,BODZ,16,0), XLBOBIBB_MASK, PPCCOM, { 0 } },
2669 { "bdzlr-", XLO(19,BODZ,16,0), XLBOBIBB_MASK, NOPOWER4, { 0 } },
2670 { "bdzlr-", XLO(19,BODZM4,16,0), XLBOBIBB_MASK, POWER4, { 0 } },
2671 { "bdzlr+", XLO(19,BODZP,16,0), XLBOBIBB_MASK, NOPOWER4, { 0 } },
2672 { "bdzlr+", XLO(19,BODZP4,16,0), XLBOBIBB_MASK, POWER4, { 0 } },
2673 { "bdzlrl", XLO(19,BODZ,16,1), XLBOBIBB_MASK, PPCCOM, { 0 } },
2674 { "bdzlrl-", XLO(19,BODZ,16,1), XLBOBIBB_MASK, NOPOWER4, { 0 } },
2675 { "bdzlrl-", XLO(19,BODZM4,16,1), XLBOBIBB_MASK, POWER4, { 0 } },
2676 { "bdzlrl+", XLO(19,BODZP,16,1), XLBOBIBB_MASK, NOPOWER4, { 0 } },
2677 { "bdzlrl+", XLO(19,BODZP4,16,1), XLBOBIBB_MASK, POWER4, { 0 } },
2678 { "bltlr", XLOCB(19,BOT,CBLT,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2679 { "bltlr-", XLOCB(19,BOT,CBLT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2680 { "bltlr-", XLOCB(19,BOTM4,CBLT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2681 { "bltlr+", XLOCB(19,BOTP,CBLT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2682 { "bltlr+", XLOCB(19,BOTP4,CBLT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2683 { "bltr", XLOCB(19,BOT,CBLT,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
2684 { "bltlrl", XLOCB(19,BOT,CBLT,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2685 { "bltlrl-", XLOCB(19,BOT,CBLT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2686 { "bltlrl-", XLOCB(19,BOTM4,CBLT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2687 { "bltlrl+", XLOCB(19,BOTP,CBLT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2688 { "bltlrl+", XLOCB(19,BOTP4,CBLT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2689 { "bltrl", XLOCB(19,BOT,CBLT,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
2690 { "bgtlr", XLOCB(19,BOT,CBGT,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2691 { "bgtlr-", XLOCB(19,BOT,CBGT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2692 { "bgtlr-", XLOCB(19,BOTM4,CBGT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2693 { "bgtlr+", XLOCB(19,BOTP,CBGT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2694 { "bgtlr+", XLOCB(19,BOTP4,CBGT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2695 { "bgtr", XLOCB(19,BOT,CBGT,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
2696 { "bgtlrl", XLOCB(19,BOT,CBGT,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2697 { "bgtlrl-", XLOCB(19,BOT,CBGT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2698 { "bgtlrl-", XLOCB(19,BOTM4,CBGT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2699 { "bgtlrl+", XLOCB(19,BOTP,CBGT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2700 { "bgtlrl+", XLOCB(19,BOTP4,CBGT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2701 { "bgtrl", XLOCB(19,BOT,CBGT,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
2702 { "beqlr", XLOCB(19,BOT,CBEQ,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2703 { "beqlr-", XLOCB(19,BOT,CBEQ,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2704 { "beqlr-", XLOCB(19,BOTM4,CBEQ,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2705 { "beqlr+", XLOCB(19,BOTP,CBEQ,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2706 { "beqlr+", XLOCB(19,BOTP4,CBEQ,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2707 { "beqr", XLOCB(19,BOT,CBEQ,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
2708 { "beqlrl", XLOCB(19,BOT,CBEQ,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2709 { "beqlrl-", XLOCB(19,BOT,CBEQ,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2710 { "beqlrl-", XLOCB(19,BOTM4,CBEQ,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2711 { "beqlrl+", XLOCB(19,BOTP,CBEQ,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2712 { "beqlrl+", XLOCB(19,BOTP4,CBEQ,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2713 { "beqrl", XLOCB(19,BOT,CBEQ,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
2714 { "bsolr", XLOCB(19,BOT,CBSO,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2715 { "bsolr-", XLOCB(19,BOT,CBSO,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2716 { "bsolr-", XLOCB(19,BOTM4,CBSO,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2717 { "bsolr+", XLOCB(19,BOTP,CBSO,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2718 { "bsolr+", XLOCB(19,BOTP4,CBSO,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2719 { "bsor", XLOCB(19,BOT,CBSO,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
2720 { "bsolrl", XLOCB(19,BOT,CBSO,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2721 { "bsolrl-", XLOCB(19,BOT,CBSO,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2722 { "bsolrl-", XLOCB(19,BOTM4,CBSO,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2723 { "bsolrl+", XLOCB(19,BOTP,CBSO,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2724 { "bsolrl+", XLOCB(19,BOTP4,CBSO,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2725 { "bsorl", XLOCB(19,BOT,CBSO,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
2726 { "bunlr", XLOCB(19,BOT,CBSO,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2727 { "bunlr-", XLOCB(19,BOT,CBSO,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2728 { "bunlr-", XLOCB(19,BOTM4,CBSO,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2729 { "bunlr+", XLOCB(19,BOTP,CBSO,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2730 { "bunlr+", XLOCB(19,BOTP4,CBSO,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2731 { "bunlrl", XLOCB(19,BOT,CBSO,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2732 { "bunlrl-", XLOCB(19,BOT,CBSO,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2733 { "bunlrl-", XLOCB(19,BOTM4,CBSO,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2734 { "bunlrl+", XLOCB(19,BOTP,CBSO,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2735 { "bunlrl+", XLOCB(19,BOTP4,CBSO,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2736 { "bgelr", XLOCB(19,BOF,CBLT,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2737 { "bgelr-", XLOCB(19,BOF,CBLT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2738 { "bgelr-", XLOCB(19,BOFM4,CBLT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2739 { "bgelr+", XLOCB(19,BOFP,CBLT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2740 { "bgelr+", XLOCB(19,BOFP4,CBLT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2741 { "bger", XLOCB(19,BOF,CBLT,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
2742 { "bgelrl", XLOCB(19,BOF,CBLT,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2743 { "bgelrl-", XLOCB(19,BOF,CBLT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2744 { "bgelrl-", XLOCB(19,BOFM4,CBLT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2745 { "bgelrl+", XLOCB(19,BOFP,CBLT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2746 { "bgelrl+", XLOCB(19,BOFP4,CBLT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2747 { "bgerl", XLOCB(19,BOF,CBLT,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
2748 { "bnllr", XLOCB(19,BOF,CBLT,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2749 { "bnllr-", XLOCB(19,BOF,CBLT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2750 { "bnllr-", XLOCB(19,BOFM4,CBLT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2751 { "bnllr+", XLOCB(19,BOFP,CBLT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2752 { "bnllr+", XLOCB(19,BOFP4,CBLT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2753 { "bnlr", XLOCB(19,BOF,CBLT,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
2754 { "bnllrl", XLOCB(19,BOF,CBLT,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2755 { "bnllrl-", XLOCB(19,BOF,CBLT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2756 { "bnllrl-", XLOCB(19,BOFM4,CBLT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2757 { "bnllrl+", XLOCB(19,BOFP,CBLT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2758 { "bnllrl+", XLOCB(19,BOFP4,CBLT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2759 { "bnlrl", XLOCB(19,BOF,CBLT,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
2760 { "blelr", XLOCB(19,BOF,CBGT,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2761 { "blelr-", XLOCB(19,BOF,CBGT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2762 { "blelr-", XLOCB(19,BOFM4,CBGT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2763 { "blelr+", XLOCB(19,BOFP,CBGT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2764 { "blelr+", XLOCB(19,BOFP4,CBGT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2765 { "bler", XLOCB(19,BOF,CBGT,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
2766 { "blelrl", XLOCB(19,BOF,CBGT,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2767 { "blelrl-", XLOCB(19,BOF,CBGT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2768 { "blelrl-", XLOCB(19,BOFM4,CBGT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2769 { "blelrl+", XLOCB(19,BOFP,CBGT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2770 { "blelrl+", XLOCB(19,BOFP4,CBGT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2771 { "blerl", XLOCB(19,BOF,CBGT,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
2772 { "bnglr", XLOCB(19,BOF,CBGT,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2773 { "bnglr-", XLOCB(19,BOF,CBGT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2774 { "bnglr-", XLOCB(19,BOFM4,CBGT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2775 { "bnglr+", XLOCB(19,BOFP,CBGT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2776 { "bnglr+", XLOCB(19,BOFP4,CBGT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2777 { "bngr", XLOCB(19,BOF,CBGT,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
2778 { "bnglrl", XLOCB(19,BOF,CBGT,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2779 { "bnglrl-", XLOCB(19,BOF,CBGT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2780 { "bnglrl-", XLOCB(19,BOFM4,CBGT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2781 { "bnglrl+", XLOCB(19,BOFP,CBGT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2782 { "bnglrl+", XLOCB(19,BOFP4,CBGT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2783 { "bngrl", XLOCB(19,BOF,CBGT,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
2784 { "bnelr", XLOCB(19,BOF,CBEQ,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2785 { "bnelr-", XLOCB(19,BOF,CBEQ,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2786 { "bnelr-", XLOCB(19,BOFM4,CBEQ,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2787 { "bnelr+", XLOCB(19,BOFP,CBEQ,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2788 { "bnelr+", XLOCB(19,BOFP4,CBEQ,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2789 { "bner", XLOCB(19,BOF,CBEQ,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
2790 { "bnelrl", XLOCB(19,BOF,CBEQ,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2791 { "bnelrl-", XLOCB(19,BOF,CBEQ,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2792 { "bnelrl-", XLOCB(19,BOFM4,CBEQ,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2793 { "bnelrl+", XLOCB(19,BOFP,CBEQ,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2794 { "bnelrl+", XLOCB(19,BOFP4,CBEQ,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2795 { "bnerl", XLOCB(19,BOF,CBEQ,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
2796 { "bnslr", XLOCB(19,BOF,CBSO,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2797 { "bnslr-", XLOCB(19,BOF,CBSO,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2798 { "bnslr-", XLOCB(19,BOFM4,CBSO,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2799 { "bnslr+", XLOCB(19,BOFP,CBSO,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2800 { "bnslr+", XLOCB(19,BOFP4,CBSO,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2801 { "bnsr", XLOCB(19,BOF,CBSO,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
2802 { "bnslrl", XLOCB(19,BOF,CBSO,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2803 { "bnslrl-", XLOCB(19,BOF,CBSO,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2804 { "bnslrl-", XLOCB(19,BOFM4,CBSO,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2805 { "bnslrl+", XLOCB(19,BOFP,CBSO,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2806 { "bnslrl+", XLOCB(19,BOFP4,CBSO,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2807 { "bnsrl", XLOCB(19,BOF,CBSO,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
2808 { "bnulr", XLOCB(19,BOF,CBSO,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2809 { "bnulr-", XLOCB(19,BOF,CBSO,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2810 { "bnulr-", XLOCB(19,BOFM4,CBSO,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2811 { "bnulr+", XLOCB(19,BOFP,CBSO,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2812 { "bnulr+", XLOCB(19,BOFP4,CBSO,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2813 { "bnulrl", XLOCB(19,BOF,CBSO,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2814 { "bnulrl-", XLOCB(19,BOF,CBSO,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2815 { "bnulrl-", XLOCB(19,BOFM4,CBSO,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2816 { "bnulrl+", XLOCB(19,BOFP,CBSO,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2817 { "bnulrl+", XLOCB(19,BOFP4,CBSO,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2818 { "btlr", XLO(19,BOT,16,0), XLBOBB_MASK, PPCCOM, { BI } },
2819 { "btlr-", XLO(19,BOT,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
2820 { "btlr-", XLO(19,BOTM4,16,0), XLBOBB_MASK, POWER4, { BI } },
2821 { "btlr+", XLO(19,BOTP,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
2822 { "btlr+", XLO(19,BOTP4,16,0), XLBOBB_MASK, POWER4, { BI } },
2823 { "bbtr", XLO(19,BOT,16,0), XLBOBB_MASK, PWRCOM, { BI } },
2824 { "btlrl", XLO(19,BOT,16,1), XLBOBB_MASK, PPCCOM, { BI } },
2825 { "btlrl-", XLO(19,BOT,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
2826 { "btlrl-", XLO(19,BOTM4,16,1), XLBOBB_MASK, POWER4, { BI } },
2827 { "btlrl+", XLO(19,BOTP,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
2828 { "btlrl+", XLO(19,BOTP4,16,1), XLBOBB_MASK, POWER4, { BI } },
2829 { "bbtrl", XLO(19,BOT,16,1), XLBOBB_MASK, PWRCOM, { BI } },
2830 { "bflr", XLO(19,BOF,16,0), XLBOBB_MASK, PPCCOM, { BI } },
2831 { "bflr-", XLO(19,BOF,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
2832 { "bflr-", XLO(19,BOFM4,16,0), XLBOBB_MASK, POWER4, { BI } },
2833 { "bflr+", XLO(19,BOFP,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
2834 { "bflr+", XLO(19,BOFP4,16,0), XLBOBB_MASK, POWER4, { BI } },
2835 { "bbfr", XLO(19,BOF,16,0), XLBOBB_MASK, PWRCOM, { BI } },
2836 { "bflrl", XLO(19,BOF,16,1), XLBOBB_MASK, PPCCOM, { BI } },
2837 { "bflrl-", XLO(19,BOF,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
2838 { "bflrl-", XLO(19,BOFM4,16,1), XLBOBB_MASK, POWER4, { BI } },
2839 { "bflrl+", XLO(19,BOFP,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
2840 { "bflrl+", XLO(19,BOFP4,16,1), XLBOBB_MASK, POWER4, { BI } },
2841 { "bbfrl", XLO(19,BOF,16,1), XLBOBB_MASK, PWRCOM, { BI } },
2842 { "bdnztlr", XLO(19,BODNZT,16,0), XLBOBB_MASK, PPCCOM, { BI } },
2843 { "bdnztlr-",XLO(19,BODNZT,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
2844 { "bdnztlr+",XLO(19,BODNZTP,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
2845 { "bdnztlrl",XLO(19,BODNZT,16,1), XLBOBB_MASK, PPCCOM, { BI } },
2846 { "bdnztlrl-",XLO(19,BODNZT,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
2847 { "bdnztlrl+",XLO(19,BODNZTP,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
2848 { "bdnzflr", XLO(19,BODNZF,16,0), XLBOBB_MASK, PPCCOM, { BI } },
2849 { "bdnzflr-",XLO(19,BODNZF,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
2850 { "bdnzflr+",XLO(19,BODNZFP,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
2851 { "bdnzflrl",XLO(19,BODNZF,16,1), XLBOBB_MASK, PPCCOM, { BI } },
2852 { "bdnzflrl-",XLO(19,BODNZF,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
2853 { "bdnzflrl+",XLO(19,BODNZFP,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
2854 { "bdztlr", XLO(19,BODZT,16,0), XLBOBB_MASK, PPCCOM, { BI } },
2855 { "bdztlr-", XLO(19,BODZT,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
2856 { "bdztlr+", XLO(19,BODZTP,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
2857 { "bdztlrl", XLO(19,BODZT,16,1), XLBOBB_MASK, PPCCOM, { BI } },
2858 { "bdztlrl-",XLO(19,BODZT,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
2859 { "bdztlrl+",XLO(19,BODZTP,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
2860 { "bdzflr", XLO(19,BODZF,16,0), XLBOBB_MASK, PPCCOM, { BI } },
2861 { "bdzflr-", XLO(19,BODZF,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
2862 { "bdzflr+", XLO(19,BODZFP,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
2863 { "bdzflrl", XLO(19,BODZF,16,1), XLBOBB_MASK, PPCCOM, { BI } },
2864 { "bdzflrl-",XLO(19,BODZF,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
2865 { "bdzflrl+",XLO(19,BODZFP,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
2866 { "bclr+", XLYLK(19,16,1,0), XLYBB_MASK, PPCCOM, { BOE, BI } },
2867 { "bclrl+", XLYLK(19,16,1,1), XLYBB_MASK, PPCCOM, { BOE, BI } },
2868 { "bclr-", XLYLK(19,16,0,0), XLYBB_MASK, PPCCOM, { BOE, BI } },
2869 { "bclrl-", XLYLK(19,16,0,1), XLYBB_MASK, PPCCOM, { BOE, BI } },
2870 { "bclr", XLLK(19,16,0), XLBH_MASK, PPCCOM, { BO, BI, BH } },
2871 { "bclrl", XLLK(19,16,1), XLBH_MASK, PPCCOM, { BO, BI, BH } },
2872 { "bcr", XLLK(19,16,0), XLBB_MASK, PWRCOM, { BO, BI } },
2873 { "bcrl", XLLK(19,16,1), XLBB_MASK, PWRCOM, { BO, BI } },
2874 { "bclre", XLLK(19,17,0), XLBB_MASK, BOOKE64, { BO, BI } },
2875 { "bclrel", XLLK(19,17,1), XLBB_MASK, BOOKE64, { BO, BI } },
2877 { "rfid", XL(19,18), 0xffffffff, PPC64, { 0 } },
2879 { "crnot", XL(19,33), XL_MASK, PPCCOM, { BT, BA, BBA } },
2880 { "crnor", XL(19,33), XL_MASK, COM, { BT, BA, BB } },
2881 { "rfmci", X(19,38), 0xffffffff, PPCRFMCI, { 0 } },
2883 { "rfi", XL(19,50), 0xffffffff, COM, { 0 } },
2884 { "rfci", XL(19,51), 0xffffffff, PPC403 | BOOKE, { 0 } },
2886 { "rfsvc", XL(19,82), 0xffffffff, POWER, { 0 } },
2888 { "crandc", XL(19,129), XL_MASK, COM, { BT, BA, BB } },
2890 { "isync", XL(19,150), 0xffffffff, PPCCOM, { 0 } },
2891 { "ics", XL(19,150), 0xffffffff, PWRCOM, { 0 } },
2893 { "crclr", XL(19,193), XL_MASK, PPCCOM, { BT, BAT, BBA } },
2894 { "crxor", XL(19,193), XL_MASK, COM, { BT, BA, BB } },
2896 { "crnand", XL(19,225), XL_MASK, COM, { BT, BA, BB } },
2898 { "crand", XL(19,257), XL_MASK, COM, { BT, BA, BB } },
2900 { "hrfid", XL(19,274), 0xffffffff, POWER5 | CELL, { 0 } },
2902 { "crset", XL(19,289), XL_MASK, PPCCOM, { BT, BAT, BBA } },
2903 { "creqv", XL(19,289), XL_MASK, COM, { BT, BA, BB } },
2905 { "doze", XL(19,402), 0xffffffff, POWER6, { 0 } },
2907 { "crorc", XL(19,417), XL_MASK, COM, { BT, BA, BB } },
2909 { "nap", XL(19,434), 0xffffffff, POWER6, { 0 } },
2911 { "crmove", XL(19,449), XL_MASK, PPCCOM, { BT, BA, BBA } },
2912 { "cror", XL(19,449), XL_MASK, COM, { BT, BA, BB } },
2914 { "sleep", XL(19,466), 0xffffffff, POWER6, { 0 } },
2915 { "rvwinkle", XL(19,498), 0xffffffff, POWER6, { 0 } },
2917 { "bctr", XLO(19,BOU,528,0), XLBOBIBB_MASK, COM, { 0 } },
2918 { "bctrl", XLO(19,BOU,528,1), XLBOBIBB_MASK, COM, { 0 } },
2919 { "bltctr", XLOCB(19,BOT,CBLT,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2920 { "bltctr-", XLOCB(19,BOT,CBLT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2921 { "bltctr-", XLOCB(19,BOTM4,CBLT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
2922 { "bltctr+", XLOCB(19,BOTP,CBLT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2923 { "bltctr+", XLOCB(19,BOTP4,CBLT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
2924 { "bltctrl", XLOCB(19,BOT,CBLT,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2925 { "bltctrl-",XLOCB(19,BOT,CBLT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2926 { "bltctrl-",XLOCB(19,BOTM4,CBLT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
2927 { "bltctrl+",XLOCB(19,BOTP,CBLT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2928 { "bltctrl+",XLOCB(19,BOTP4,CBLT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
2929 { "bgtctr", XLOCB(19,BOT,CBGT,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2930 { "bgtctr-", XLOCB(19,BOT,CBGT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2931 { "bgtctr-", XLOCB(19,BOTM4,CBGT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
2932 { "bgtctr+", XLOCB(19,BOTP,CBGT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2933 { "bgtctr+", XLOCB(19,BOTP4,CBGT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
2934 { "bgtctrl", XLOCB(19,BOT,CBGT,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2935 { "bgtctrl-",XLOCB(19,BOT,CBGT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2936 { "bgtctrl-",XLOCB(19,BOTM4,CBGT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
2937 { "bgtctrl+",XLOCB(19,BOTP,CBGT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2938 { "bgtctrl+",XLOCB(19,BOTP4,CBGT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
2939 { "beqctr", XLOCB(19,BOT,CBEQ,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2940 { "beqctr-", XLOCB(19,BOT,CBEQ,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2941 { "beqctr-", XLOCB(19,BOTM4,CBEQ,528,0), XLBOCBBB_MASK, POWER4, { CR } },
2942 { "beqctr+", XLOCB(19,BOTP,CBEQ,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2943 { "beqctr+", XLOCB(19,BOTP4,CBEQ,528,0), XLBOCBBB_MASK, POWER4, { CR } },
2944 { "beqctrl", XLOCB(19,BOT,CBEQ,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2945 { "beqctrl-",XLOCB(19,BOT,CBEQ,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2946 { "beqctrl-",XLOCB(19,BOTM4,CBEQ,528,1), XLBOCBBB_MASK, POWER4, { CR } },
2947 { "beqctrl+",XLOCB(19,BOTP,CBEQ,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2948 { "beqctrl+",XLOCB(19,BOTP4,CBEQ,528,1), XLBOCBBB_MASK, POWER4, { CR } },
2949 { "bsoctr", XLOCB(19,BOT,CBSO,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2950 { "bsoctr-", XLOCB(19,BOT,CBSO,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2951 { "bsoctr-", XLOCB(19,BOTM4,CBSO,528,0), XLBOCBBB_MASK, POWER4, { CR } },
2952 { "bsoctr+", XLOCB(19,BOTP,CBSO,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2953 { "bsoctr+", XLOCB(19,BOTP4,CBSO,528,0), XLBOCBBB_MASK, POWER4, { CR } },
2954 { "bsoctrl", XLOCB(19,BOT,CBSO,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2955 { "bsoctrl-",XLOCB(19,BOT,CBSO,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2956 { "bsoctrl-",XLOCB(19,BOTM4,CBSO,528,1), XLBOCBBB_MASK, POWER4, { CR } },
2957 { "bsoctrl+",XLOCB(19,BOTP,CBSO,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2958 { "bsoctrl+",XLOCB(19,BOTP4,CBSO,528,1), XLBOCBBB_MASK, POWER4, { CR } },
2959 { "bunctr", XLOCB(19,BOT,CBSO,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2960 { "bunctr-", XLOCB(19,BOT,CBSO,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2961 { "bunctr-", XLOCB(19,BOTM4,CBSO,528,0), XLBOCBBB_MASK, POWER4, { CR } },
2962 { "bunctr+", XLOCB(19,BOTP,CBSO,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2963 { "bunctr+", XLOCB(19,BOTP4,CBSO,528,0), XLBOCBBB_MASK, POWER4, { CR } },
2964 { "bunctrl", XLOCB(19,BOT,CBSO,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2965 { "bunctrl-",XLOCB(19,BOT,CBSO,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2966 { "bunctrl-",XLOCB(19,BOTM4,CBSO,528,1), XLBOCBBB_MASK, POWER4, { CR } },
2967 { "bunctrl+",XLOCB(19,BOTP,CBSO,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2968 { "bunctrl+",XLOCB(19,BOTP4,CBSO,528,1), XLBOCBBB_MASK, POWER4, { CR } },
2969 { "bgectr", XLOCB(19,BOF,CBLT,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2970 { "bgectr-", XLOCB(19,BOF,CBLT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2971 { "bgectr-", XLOCB(19,BOFM4,CBLT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
2972 { "bgectr+", XLOCB(19,BOFP,CBLT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2973 { "bgectr+", XLOCB(19,BOFP4,CBLT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
2974 { "bgectrl", XLOCB(19,BOF,CBLT,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2975 { "bgectrl-",XLOCB(19,BOF,CBLT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2976 { "bgectrl-",XLOCB(19,BOFM4,CBLT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
2977 { "bgectrl+",XLOCB(19,BOFP,CBLT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2978 { "bgectrl+",XLOCB(19,BOFP4,CBLT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
2979 { "bnlctr", XLOCB(19,BOF,CBLT,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2980 { "bnlctr-", XLOCB(19,BOF,CBLT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2981 { "bnlctr-", XLOCB(19,BOFM4,CBLT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
2982 { "bnlctr+", XLOCB(19,BOFP,CBLT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2983 { "bnlctr+", XLOCB(19,BOFP4,CBLT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
2984 { "bnlctrl", XLOCB(19,BOF,CBLT,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2985 { "bnlctrl-",XLOCB(19,BOF,CBLT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2986 { "bnlctrl-",XLOCB(19,BOFM4,CBLT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
2987 { "bnlctrl+",XLOCB(19,BOFP,CBLT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2988 { "bnlctrl+",XLOCB(19,BOFP4,CBLT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
2989 { "blectr", XLOCB(19,BOF,CBGT,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2990 { "blectr-", XLOCB(19,BOF,CBGT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2991 { "blectr-", XLOCB(19,BOFM4,CBGT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
2992 { "blectr+", XLOCB(19,BOFP,CBGT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2993 { "blectr+", XLOCB(19,BOFP4,CBGT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
2994 { "blectrl", XLOCB(19,BOF,CBGT,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2995 { "blectrl-",XLOCB(19,BOF,CBGT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2996 { "blectrl-",XLOCB(19,BOFM4,CBGT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
2997 { "blectrl+",XLOCB(19,BOFP,CBGT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2998 { "blectrl+",XLOCB(19,BOFP4,CBGT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
2999 { "bngctr", XLOCB(19,BOF,CBGT,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3000 { "bngctr-", XLOCB(19,BOF,CBGT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3001 { "bngctr-", XLOCB(19,BOFM4,CBGT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3002 { "bngctr+", XLOCB(19,BOFP,CBGT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3003 { "bngctr+", XLOCB(19,BOFP4,CBGT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3004 { "bngctrl", XLOCB(19,BOF,CBGT,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3005 { "bngctrl-",XLOCB(19,BOF,CBGT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3006 { "bngctrl-",XLOCB(19,BOFM4,CBGT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3007 { "bngctrl+",XLOCB(19,BOFP,CBGT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3008 { "bngctrl+",XLOCB(19,BOFP4,CBGT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3009 { "bnectr", XLOCB(19,BOF,CBEQ,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3010 { "bnectr-", XLOCB(19,BOF,CBEQ,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3011 { "bnectr-", XLOCB(19,BOFM4,CBEQ,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3012 { "bnectr+", XLOCB(19,BOFP,CBEQ,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3013 { "bnectr+", XLOCB(19,BOFP4,CBEQ,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3014 { "bnectrl", XLOCB(19,BOF,CBEQ,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3015 { "bnectrl-",XLOCB(19,BOF,CBEQ,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3016 { "bnectrl-",XLOCB(19,BOFM4,CBEQ,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3017 { "bnectrl+",XLOCB(19,BOFP,CBEQ,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3018 { "bnectrl+",XLOCB(19,BOFP4,CBEQ,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3019 { "bnsctr", XLOCB(19,BOF,CBSO,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3020 { "bnsctr-", XLOCB(19,BOF,CBSO,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3021 { "bnsctr-", XLOCB(19,BOFM4,CBSO,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3022 { "bnsctr+", XLOCB(19,BOFP,CBSO,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3023 { "bnsctr+", XLOCB(19,BOFP4,CBSO,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3024 { "bnsctrl", XLOCB(19,BOF,CBSO,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3025 { "bnsctrl-",XLOCB(19,BOF,CBSO,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3026 { "bnsctrl-",XLOCB(19,BOFM4,CBSO,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3027 { "bnsctrl+",XLOCB(19,BOFP,CBSO,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3028 { "bnsctrl+",XLOCB(19,BOFP4,CBSO,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3029 { "bnuctr", XLOCB(19,BOF,CBSO,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3030 { "bnuctr-", XLOCB(19,BOF,CBSO,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3031 { "bnuctr-", XLOCB(19,BOFM4,CBSO,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3032 { "bnuctr+", XLOCB(19,BOFP,CBSO,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3033 { "bnuctr+", XLOCB(19,BOFP4,CBSO,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3034 { "bnuctrl", XLOCB(19,BOF,CBSO,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3035 { "bnuctrl-",XLOCB(19,BOF,CBSO,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3036 { "bnuctrl-",XLOCB(19,BOFM4,CBSO,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3037 { "bnuctrl+",XLOCB(19,BOFP,CBSO,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3038 { "bnuctrl+",XLOCB(19,BOFP4,CBSO,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3039 { "btctr", XLO(19,BOT,528,0), XLBOBB_MASK, PPCCOM, { BI } },
3040 { "btctr-", XLO(19,BOT,528,0), XLBOBB_MASK, NOPOWER4, { BI } },
3041 { "btctr-", XLO(19,BOTM4,528,0), XLBOBB_MASK, POWER4, { BI } },
3042 { "btctr+", XLO(19,BOTP,528,0), XLBOBB_MASK, NOPOWER4, { BI } },
3043 { "btctr+", XLO(19,BOTP4,528,0), XLBOBB_MASK, POWER4, { BI } },
3044 { "btctrl", XLO(19,BOT,528,1), XLBOBB_MASK, PPCCOM, { BI } },
3045 { "btctrl-", XLO(19,BOT,528,1), XLBOBB_MASK, NOPOWER4, { BI } },
3046 { "btctrl-", XLO(19,BOTM4,528,1), XLBOBB_MASK, POWER4, { BI } },
3047 { "btctrl+", XLO(19,BOTP,528,1), XLBOBB_MASK, NOPOWER4, { BI } },
3048 { "btctrl+", XLO(19,BOTP4,528,1), XLBOBB_MASK, POWER4, { BI } },
3049 { "bfctr", XLO(19,BOF,528,0), XLBOBB_MASK, PPCCOM, { BI } },
3050 { "bfctr-", XLO(19,BOF,528,0), XLBOBB_MASK, NOPOWER4, { BI } },
3051 { "bfctr-", XLO(19,BOFM4,528,0), XLBOBB_MASK, POWER4, { BI } },
3052 { "bfctr+", XLO(19,BOFP,528,0), XLBOBB_MASK, NOPOWER4, { BI } },
3053 { "bfctr+", XLO(19,BOFP4,528,0), XLBOBB_MASK, POWER4, { BI } },
3054 { "bfctrl", XLO(19,BOF,528,1), XLBOBB_MASK, PPCCOM, { BI } },
3055 { "bfctrl-", XLO(19,BOF,528,1), XLBOBB_MASK, NOPOWER4, { BI } },
3056 { "bfctrl-", XLO(19,BOFM4,528,1), XLBOBB_MASK, POWER4, { BI } },
3057 { "bfctrl+", XLO(19,BOFP,528,1), XLBOBB_MASK, NOPOWER4, { BI } },
3058 { "bfctrl+", XLO(19,BOFP4,528,1), XLBOBB_MASK, POWER4, { BI } },
3059 { "bcctr-", XLYLK(19,528,0,0), XLYBB_MASK, PPCCOM, { BOE, BI } },
3060 { "bcctr+", XLYLK(19,528,1,0), XLYBB_MASK, PPCCOM, { BOE, BI } },
3061 { "bcctrl-", XLYLK(19,528,0,1), XLYBB_MASK, PPCCOM, { BOE, BI } },
3062 { "bcctrl+", XLYLK(19,528,1,1), XLYBB_MASK, PPCCOM, { BOE, BI } },
3063 { "bcctr", XLLK(19,528,0), XLBH_MASK, PPCCOM, { BO, BI, BH } },
3064 { "bcctrl", XLLK(19,528,1), XLBH_MASK, PPCCOM, { BO, BI, BH } },
3065 { "bcc", XLLK(19,528,0), XLBB_MASK, PWRCOM, { BO, BI } },
3066 { "bccl", XLLK(19,528,1), XLBB_MASK, PWRCOM, { BO, BI } },
3067 { "bcctre", XLLK(19,529,0), XLBB_MASK, BOOKE64, { BO, BI } },
3068 { "bcctrel", XLLK(19,529,1), XLBB_MASK, BOOKE64, { BO, BI } },
3070 { "rlwimi", M(20,0), M_MASK, PPCCOM, { RA,RS,SH,MBE,ME } },
3071 { "rlimi", M(20,0), M_MASK, PWRCOM, { RA,RS,SH,MBE,ME } },
3073 { "rlwimi.", M(20,1), M_MASK, PPCCOM, { RA,RS,SH,MBE,ME } },
3074 { "rlimi.", M(20,1), M_MASK, PWRCOM, { RA,RS,SH,MBE,ME } },
3076 { "rotlwi", MME(21,31,0), MMBME_MASK, PPCCOM, { RA, RS, SH } },
3077 { "clrlwi", MME(21,31,0), MSHME_MASK, PPCCOM, { RA, RS, MB } },
3078 { "rlwinm", M(21,0), M_MASK, PPCCOM, { RA,RS,SH,MBE,ME } },
3079 { "rlinm", M(21,0), M_MASK, PWRCOM, { RA,RS,SH,MBE,ME } },
3080 { "rotlwi.", MME(21,31,1), MMBME_MASK, PPCCOM, { RA,RS,SH } },
3081 { "clrlwi.", MME(21,31,1), MSHME_MASK, PPCCOM, { RA, RS, MB } },
3082 { "rlwinm.", M(21,1), M_MASK, PPCCOM, { RA,RS,SH,MBE,ME } },
3083 { "rlinm.", M(21,1), M_MASK, PWRCOM, { RA,RS,SH,MBE,ME } },
3085 { "rlmi", M(22,0), M_MASK, M601, { RA,RS,RB,MBE,ME } },
3086 { "rlmi.", M(22,1), M_MASK, M601, { RA,RS,RB,MBE,ME } },
3088 { "be", B(22,0,0), B_MASK, BOOKE64, { LI } },
3089 { "bel", B(22,0,1), B_MASK, BOOKE64, { LI } },
3090 { "bea", B(22,1,0), B_MASK, BOOKE64, { LIA } },
3091 { "bela", B(22,1,1), B_MASK, BOOKE64, { LIA } },
3093 { "rotlw", MME(23,31,0), MMBME_MASK, PPCCOM, { RA, RS, RB } },
3094 { "rlwnm", M(23,0), M_MASK, PPCCOM, { RA,RS,RB,MBE,ME } },
3095 { "rlnm", M(23,0), M_MASK, PWRCOM, { RA,RS,RB,MBE,ME } },
3096 { "rotlw.", MME(23,31,1), MMBME_MASK, PPCCOM, { RA, RS, RB } },
3097 { "rlwnm.", M(23,1), M_MASK, PPCCOM, { RA,RS,RB,MBE,ME } },
3098 { "rlnm.", M(23,1), M_MASK, PWRCOM, { RA,RS,RB,MBE,ME } },
3100 { "nop", OP(24), 0xffffffff, PPCCOM, { 0 } },
3101 { "ori", OP(24), OP_MASK, PPCCOM, { RA, RS, UI } },
3102 { "oril", OP(24), OP_MASK, PWRCOM, { RA, RS, UI } },
3104 { "oris", OP(25), OP_MASK, PPCCOM, { RA, RS, UI } },
3105 { "oriu", OP(25), OP_MASK, PWRCOM, { RA, RS, UI } },
3107 { "xori", OP(26), OP_MASK, PPCCOM, { RA, RS, UI } },
3108 { "xoril", OP(26), OP_MASK, PWRCOM, { RA, RS, UI } },
3110 { "xoris", OP(27), OP_MASK, PPCCOM, { RA, RS, UI } },
3111 { "xoriu", OP(27), OP_MASK, PWRCOM, { RA, RS, UI } },
3113 { "andi.", OP(28), OP_MASK, PPCCOM, { RA, RS, UI } },
3114 { "andil.", OP(28), OP_MASK, PWRCOM, { RA, RS, UI } },
3116 { "andis.", OP(29), OP_MASK, PPCCOM, { RA, RS, UI } },
3117 { "andiu.", OP(29), OP_MASK, PWRCOM, { RA, RS, UI } },
3119 { "rotldi", MD(30,0,0), MDMB_MASK, PPC64, { RA, RS, SH6 } },
3120 { "clrldi", MD(30,0,0), MDSH_MASK, PPC64, { RA, RS, MB6 } },
3121 { "rldicl", MD(30,0,0), MD_MASK, PPC64, { RA, RS, SH6, MB6 } },
3122 { "rotldi.", MD(30,0,1), MDMB_MASK, PPC64, { RA, RS, SH6 } },
3123 { "clrldi.", MD(30,0,1), MDSH_MASK, PPC64, { RA, RS, MB6 } },
3124 { "rldicl.", MD(30,0,1), MD_MASK, PPC64, { RA, RS, SH6, MB6 } },
3126 { "rldicr", MD(30,1,0), MD_MASK, PPC64, { RA, RS, SH6, ME6 } },
3127 { "rldicr.", MD(30,1,1), MD_MASK, PPC64, { RA, RS, SH6, ME6 } },
3129 { "rldic", MD(30,2,0), MD_MASK, PPC64, { RA, RS, SH6, MB6 } },
3130 { "rldic.", MD(30,2,1), MD_MASK, PPC64, { RA, RS, SH6, MB6 } },
3132 { "rldimi", MD(30,3,0), MD_MASK, PPC64, { RA, RS, SH6, MB6 } },
3133 { "rldimi.", MD(30,3,1), MD_MASK, PPC64, { RA, RS, SH6, MB6 } },
3135 { "rotld", MDS(30,8,0), MDSMB_MASK, PPC64, { RA, RS, RB } },
3136 { "rldcl", MDS(30,8,0), MDS_MASK, PPC64, { RA, RS, RB, MB6 } },
3137 { "rotld.", MDS(30,8,1), MDSMB_MASK, PPC64, { RA, RS, RB } },
3138 { "rldcl.", MDS(30,8,1), MDS_MASK, PPC64, { RA, RS, RB, MB6 } },
3140 { "rldcr", MDS(30,9,0), MDS_MASK, PPC64, { RA, RS, RB, ME6 } },
3141 { "rldcr.", MDS(30,9,1), MDS_MASK, PPC64, { RA, RS, RB, ME6 } },
3143 { "cmpw", XOPL(31,0,0), XCMPL_MASK, PPCCOM, { OBF, RA, RB } },
3144 { "cmpd", XOPL(31,0,1), XCMPL_MASK, PPC64, { OBF, RA, RB } },
3145 { "cmp", X(31,0), XCMP_MASK, PPC, { BF, L, RA, RB } },
3146 { "cmp", X(31,0), XCMPL_MASK, PWRCOM, { BF, RA, RB } },
3148 { "twlgt", XTO(31,4,TOLGT), XTO_MASK, PPCCOM, { RA, RB } },
3149 { "tlgt", XTO(31,4,TOLGT), XTO_MASK, PWRCOM, { RA, RB } },
3150 { "twllt", XTO(31,4,TOLLT), XTO_MASK, PPCCOM, { RA, RB } },
3151 { "tllt", XTO(31,4,TOLLT), XTO_MASK, PWRCOM, { RA, RB } },
3152 { "tweq", XTO(31,4,TOEQ), XTO_MASK, PPCCOM, { RA, RB } },
3153 { "teq", XTO(31,4,TOEQ), XTO_MASK, PWRCOM, { RA, RB } },
3154 { "twlge", XTO(31,4,TOLGE), XTO_MASK, PPCCOM, { RA, RB } },
3155 { "tlge", XTO(31,4,TOLGE), XTO_MASK, PWRCOM, { RA, RB } },
3156 { "twlnl", XTO(31,4,TOLNL), XTO_MASK, PPCCOM, { RA, RB } },
3157 { "tlnl", XTO(31,4,TOLNL), XTO_MASK, PWRCOM, { RA, RB } },
3158 { "twlle", XTO(31,4,TOLLE), XTO_MASK, PPCCOM, { RA, RB } },
3159 { "tlle", XTO(31,4,TOLLE), XTO_MASK, PWRCOM, { RA, RB } },
3160 { "twlng", XTO(31,4,TOLNG), XTO_MASK, PPCCOM, { RA, RB } },
3161 { "tlng", XTO(31,4,TOLNG), XTO_MASK, PWRCOM, { RA, RB } },
3162 { "twgt", XTO(31,4,TOGT), XTO_MASK, PPCCOM, { RA, RB } },
3163 { "tgt", XTO(31,4,TOGT), XTO_MASK, PWRCOM, { RA, RB } },
3164 { "twge", XTO(31,4,TOGE), XTO_MASK, PPCCOM, { RA, RB } },
3165 { "tge", XTO(31,4,TOGE), XTO_MASK, PWRCOM, { RA, RB } },
3166 { "twnl", XTO(31,4,TONL), XTO_MASK, PPCCOM, { RA, RB } },
3167 { "tnl", XTO(31,4,TONL), XTO_MASK, PWRCOM, { RA, RB } },
3168 { "twlt", XTO(31,4,TOLT), XTO_MASK, PPCCOM, { RA, RB } },
3169 { "tlt", XTO(31,4,TOLT), XTO_MASK, PWRCOM, { RA, RB } },
3170 { "twle", XTO(31,4,TOLE), XTO_MASK, PPCCOM, { RA, RB } },
3171 { "tle", XTO(31,4,TOLE), XTO_MASK, PWRCOM, { RA, RB } },
3172 { "twng", XTO(31,4,TONG), XTO_MASK, PPCCOM, { RA, RB } },
3173 { "tng", XTO(31,4,TONG), XTO_MASK, PWRCOM, { RA, RB } },
3174 { "twne", XTO(31,4,TONE), XTO_MASK, PPCCOM, { RA, RB } },
3175 { "tne", XTO(31,4,TONE), XTO_MASK, PWRCOM, { RA, RB } },
3176 { "trap", XTO(31,4,TOU), 0xffffffff, PPCCOM, { 0 } },
3177 { "tw", X(31,4), X_MASK, PPCCOM, { TO, RA, RB } },
3178 { "t", X(31,4), X_MASK, PWRCOM, { TO, RA, RB } },
3180 { "subfc", XO(31,8,0,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3181 { "sf", XO(31,8,0,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3182 { "subc", XO(31,8,0,0), XO_MASK, PPC, { RT, RB, RA } },
3183 { "subfc.", XO(31,8,0,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3184 { "sf.", XO(31,8,0,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3185 { "subc.", XO(31,8,0,1), XO_MASK, PPCCOM, { RT, RB, RA } },
3186 { "subfco", XO(31,8,1,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3187 { "sfo", XO(31,8,1,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3188 { "subco", XO(31,8,1,0), XO_MASK, PPC, { RT, RB, RA } },
3189 { "subfco.", XO(31,8,1,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3190 { "sfo.", XO(31,8,1,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3191 { "subco.", XO(31,8,1,1), XO_MASK, PPC, { RT, RB, RA } },
3193 { "mulhdu", XO(31,9,0,0), XO_MASK, PPC64, { RT, RA, RB } },
3194 { "mulhdu.", XO(31,9,0,1), XO_MASK, PPC64, { RT, RA, RB } },
3196 { "addc", XO(31,10,0,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3197 { "a", XO(31,10,0,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3198 { "addc.", XO(31,10,0,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3199 { "a.", XO(31,10,0,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3200 { "addco", XO(31,10,1,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3201 { "ao", XO(31,10,1,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3202 { "addco.", XO(31,10,1,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3203 { "ao.", XO(31,10,1,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3205 { "mulhwu", XO(31,11,0,0), XO_MASK, PPC, { RT, RA, RB } },
3206 { "mulhwu.", XO(31,11,0,1), XO_MASK, PPC, { RT, RA, RB } },
3208 { "isellt", X(31,15), X_MASK, PPCISEL, { RT, RA, RB } },
3209 { "iselgt", X(31,47), X_MASK, PPCISEL, { RT, RA, RB } },
3210 { "iseleq", X(31,79), X_MASK, PPCISEL, { RT, RA, RB } },
3211 { "isel", XISEL(31,15), XISEL_MASK, PPCISEL, { RT, RA, RB, CRB } },
3213 { "mfocrf", XFXM(31,19,0,1), XFXFXM_MASK, COM, { RT, FXM } },
3214 { "mfcr", X(31,19), XRARB_MASK, NOPOWER4 | COM, { RT } },
3215 { "mfcr", X(31,19), XFXFXM_MASK, POWER4, { RT, FXM4 } },
3217 { "lwarx", X(31,20), XEH_MASK, PPC, { RT, RA0, RB, EH } },
3219 { "ldx", X(31,21), X_MASK, PPC64, { RT, RA0, RB } },
3221 { "icbt", X(31,22), X_MASK, BOOKE|PPCE300, { CT, RA, RB } },
3222 { "icbt", X(31,262), XRT_MASK, PPC403, { RA, RB } },
3224 { "lwzx", X(31,23), X_MASK, PPCCOM, { RT, RA0, RB } },
3225 { "lx", X(31,23), X_MASK, PWRCOM, { RT, RA, RB } },
3227 { "slw", XRC(31,24,0), X_MASK, PPCCOM, { RA, RS, RB } },
3228 { "sl", XRC(31,24,0), X_MASK, PWRCOM, { RA, RS, RB } },
3229 { "slw.", XRC(31,24,1), X_MASK, PPCCOM, { RA, RS, RB } },
3230 { "sl.", XRC(31,24,1), X_MASK, PWRCOM, { RA, RS, RB } },
3232 { "cntlzw", XRC(31,26,0), XRB_MASK, PPCCOM, { RA, RS } },
3233 { "cntlz", XRC(31,26,0), XRB_MASK, PWRCOM, { RA, RS } },
3234 { "cntlzw.", XRC(31,26,1), XRB_MASK, PPCCOM, { RA, RS } },
3235 { "cntlz.", XRC(31,26,1), XRB_MASK, PWRCOM, { RA, RS } },
3237 { "sld", XRC(31,27,0), X_MASK, PPC64, { RA, RS, RB } },
3238 { "sld.", XRC(31,27,1), X_MASK, PPC64, { RA, RS, RB } },
3240 { "and", XRC(31,28,0), X_MASK, COM, { RA, RS, RB } },
3241 { "and.", XRC(31,28,1), X_MASK, COM, { RA, RS, RB } },
3243 { "maskg", XRC(31,29,0), X_MASK, M601, { RA, RS, RB } },
3244 { "maskg.", XRC(31,29,1), X_MASK, M601, { RA, RS, RB } },
3246 { "icbte", X(31,30), X_MASK, BOOKE64, { CT, RA, RB } },
3248 { "lwzxe", X(31,31), X_MASK, BOOKE64, { RT, RA0, RB } },
3250 { "cmplw", XOPL(31,32,0), XCMPL_MASK, PPCCOM, { OBF, RA, RB } },
3251 { "cmpld", XOPL(31,32,1), XCMPL_MASK, PPC64, { OBF, RA, RB } },
3252 { "cmpl", X(31,32), XCMP_MASK, PPC, { BF, L, RA, RB } },
3253 { "cmpl", X(31,32), XCMPL_MASK, PWRCOM, { BF, RA, RB } },
3255 { "subf", XO(31,40,0,0), XO_MASK, PPC, { RT, RA, RB } },
3256 { "sub", XO(31,40,0,0), XO_MASK, PPC, { RT, RB, RA } },
3257 { "subf.", XO(31,40,0,1), XO_MASK, PPC, { RT, RA, RB } },
3258 { "sub.", XO(31,40,0,1), XO_MASK, PPC, { RT, RB, RA } },
3259 { "subfo", XO(31,40,1,0), XO_MASK, PPC, { RT, RA, RB } },
3260 { "subo", XO(31,40,1,0), XO_MASK, PPC, { RT, RB, RA } },
3261 { "subfo.", XO(31,40,1,1), XO_MASK, PPC, { RT, RA, RB } },
3262 { "subo.", XO(31,40,1,1), XO_MASK, PPC, { RT, RB, RA } },
3264 { "ldux", X(31,53), X_MASK, PPC64, { RT, RAL, RB } },
3266 { "dcbst", X(31,54), XRT_MASK, PPC, { RA, RB } },
3268 { "lwzux", X(31,55), X_MASK, PPCCOM, { RT, RAL, RB } },
3269 { "lux", X(31,55), X_MASK, PWRCOM, { RT, RA, RB } },
3271 { "dcbste", X(31,62), XRT_MASK, BOOKE64, { RA, RB } },
3273 { "lwzuxe", X(31,63), X_MASK, BOOKE64, { RT, RAL, RB } },
3275 { "cntlzd", XRC(31,58,0), XRB_MASK, PPC64, { RA, RS } },
3276 { "cntlzd.", XRC(31,58,1), XRB_MASK, PPC64, { RA, RS } },
3278 { "andc", XRC(31,60,0), X_MASK, COM, { RA, RS, RB } },
3279 { "andc.", XRC(31,60,1), X_MASK, COM, { RA, RS, RB } },
3281 { "tdlgt", XTO(31,68,TOLGT), XTO_MASK, PPC64, { RA, RB } },
3282 { "tdllt", XTO(31,68,TOLLT), XTO_MASK, PPC64, { RA, RB } },
3283 { "tdeq", XTO(31,68,TOEQ), XTO_MASK, PPC64, { RA, RB } },
3284 { "tdlge", XTO(31,68,TOLGE), XTO_MASK, PPC64, { RA, RB } },
3285 { "tdlnl", XTO(31,68,TOLNL), XTO_MASK, PPC64, { RA, RB } },
3286 { "tdlle", XTO(31,68,TOLLE), XTO_MASK, PPC64, { RA, RB } },
3287 { "tdlng", XTO(31,68,TOLNG), XTO_MASK, PPC64, { RA, RB } },
3288 { "tdgt", XTO(31,68,TOGT), XTO_MASK, PPC64, { RA, RB } },
3289 { "tdge", XTO(31,68,TOGE), XTO_MASK, PPC64, { RA, RB } },
3290 { "tdnl", XTO(31,68,TONL), XTO_MASK, PPC64, { RA, RB } },
3291 { "tdlt", XTO(31,68,TOLT), XTO_MASK, PPC64, { RA, RB } },
3292 { "tdle", XTO(31,68,TOLE), XTO_MASK, PPC64, { RA, RB } },
3293 { "tdng", XTO(31,68,TONG), XTO_MASK, PPC64, { RA, RB } },
3294 { "tdne", XTO(31,68,TONE), XTO_MASK, PPC64, { RA, RB } },
3295 { "td", X(31,68), X_MASK, PPC64, { TO, RA, RB } },
3297 { "mulhd", XO(31,73,0,0), XO_MASK, PPC64, { RT, RA, RB } },
3298 { "mulhd.", XO(31,73,0,1), XO_MASK, PPC64, { RT, RA, RB } },
3300 { "mulhw", XO(31,75,0,0), XO_MASK, PPC, { RT, RA, RB } },
3301 { "mulhw.", XO(31,75,0,1), XO_MASK, PPC, { RT, RA, RB } },
3303 { "dlmzb", XRC(31,78,0), X_MASK, PPC403|PPC440, { RA, RS, RB } },
3304 { "dlmzb.", XRC(31,78,1), X_MASK, PPC403|PPC440, { RA, RS, RB } },
3306 { "mtsrd", X(31,82), XRB_MASK|(1<<20), PPC64, { SR, RS } },
3308 { "mfmsr", X(31,83), XRARB_MASK, COM, { RT } },
3310 { "ldarx", X(31,84), XEH_MASK, PPC64, { RT, RA0, RB, EH } },
3312 { "dcbfl", XOPL(31,86,1), XRT_MASK, POWER5, { RA, RB } },
3313 { "dcbf", X(31,86), XLRT_MASK, PPC, { RA, RB, L } },
3315 { "lbzx", X(31,87), X_MASK, COM, { RT, RA0, RB } },
3317 { "dcbfe", X(31,94), XRT_MASK, BOOKE64, { RA, RB } },
3319 { "lbzxe", X(31,95), X_MASK, BOOKE64, { RT, RA0, RB } },
3321 { "neg", XO(31,104,0,0), XORB_MASK, COM, { RT, RA } },
3322 { "neg.", XO(31,104,0,1), XORB_MASK, COM, { RT, RA } },
3323 { "nego", XO(31,104,1,0), XORB_MASK, COM, { RT, RA } },
3324 { "nego.", XO(31,104,1,1), XORB_MASK, COM, { RT, RA } },
3326 { "mul", XO(31,107,0,0), XO_MASK, M601, { RT, RA, RB } },
3327 { "mul.", XO(31,107,0,1), XO_MASK, M601, { RT, RA, RB } },
3328 { "mulo", XO(31,107,1,0), XO_MASK, M601, { RT, RA, RB } },
3329 { "mulo.", XO(31,107,1,1), XO_MASK, M601, { RT, RA, RB } },
3331 { "mtsrdin", X(31,114), XRA_MASK, PPC64, { RS, RB } },
3333 { "clf", X(31,118), XTO_MASK, POWER, { RA, RB } },
3335 { "lbzux", X(31,119), X_MASK, COM, { RT, RAL, RB } },
3337 { "popcntb", X(31,122), XRB_MASK, POWER5, { RA, RS } },
3339 { "not", XRC(31,124,0), X_MASK, COM, { RA, RS, RBS } },
3340 { "nor", XRC(31,124,0), X_MASK, COM, { RA, RS, RB } },
3341 { "not.", XRC(31,124,1), X_MASK, COM, { RA, RS, RBS } },
3342 { "nor.", XRC(31,124,1), X_MASK, COM, { RA, RS, RB } },
3344 { "lwarxe", X(31,126), X_MASK, BOOKE64, { RT, RA0, RB } },
3346 { "lbzuxe", X(31,127), X_MASK, BOOKE64, { RT, RAL, RB } },
3348 { "wrtee", X(31,131), XRARB_MASK, PPC403 | BOOKE, { RS } },
3350 { "dcbtstls",X(31,134), X_MASK, PPCCHLK, { CT, RA, RB }},
3352 { "subfe", XO(31,136,0,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3353 { "sfe", XO(31,136,0,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3354 { "subfe.", XO(31,136,0,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3355 { "sfe.", XO(31,136,0,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3356 { "subfeo", XO(31,136,1,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3357 { "sfeo", XO(31,136,1,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3358 { "subfeo.", XO(31,136,1,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3359 { "sfeo.", XO(31,136,1,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3361 { "adde", XO(31,138,0,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3362 { "ae", XO(31,138,0,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3363 { "adde.", XO(31,138,0,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3364 { "ae.", XO(31,138,0,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3365 { "addeo", XO(31,138,1,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3366 { "aeo", XO(31,138,1,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3367 { "addeo.", XO(31,138,1,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3368 { "aeo.", XO(31,138,1,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3370 { "dcbtstlse",X(31,142),X_MASK, PPCCHLK64, { CT, RA, RB }},
3372 { "mtocrf", XFXM(31,144,0,1), XFXFXM_MASK, COM, { FXM, RS } },
3373 { "mtcr", XFXM(31,144,0xff,0), XRARB_MASK, COM, { RS }},
3374 { "mtcrf", X(31,144), XFXFXM_MASK, COM, { FXM, RS } },
3376 { "mtmsr", X(31,146), XRARB_MASK, COM, { RS } },
3378 { "stdx", X(31,149), X_MASK, PPC64, { RS, RA0, RB } },
3380 { "stwcx.", XRC(31,150,1), X_MASK, PPC, { RS, RA0, RB } },
3382 { "stwx", X(31,151), X_MASK, PPCCOM, { RS, RA0, RB } },
3383 { "stx", X(31,151), X_MASK, PWRCOM, { RS, RA, RB } },
3385 { "stwcxe.", XRC(31,158,1), X_MASK, BOOKE64, { RS, RA0, RB } },
3387 { "stwxe", X(31,159), X_MASK, BOOKE64, { RS, RA0, RB } },
3389 { "slq", XRC(31,152,0), X_MASK, M601, { RA, RS, RB } },
3390 { "slq.", XRC(31,152,1), X_MASK, M601, { RA, RS, RB } },
3392 { "sle", XRC(31,153,0), X_MASK, M601, { RA, RS, RB } },
3393 { "sle.", XRC(31,153,1), X_MASK, M601, { RA, RS, RB } },
3395 { "prtyw", X(31,154), XRB_MASK, POWER6, { RA, RS } },
3397 { "wrteei", X(31,163), XE_MASK, PPC403 | BOOKE, { E } },
3399 { "dcbtls", X(31,166), X_MASK, PPCCHLK, { CT, RA, RB }},
3400 { "dcbtlse", X(31,174), X_MASK, PPCCHLK64, { CT, RA, RB }},
3402 { "mtmsrd", X(31,178), XRLARB_MASK, PPC64, { RS, A_L } },
3404 { "stdux", X(31,181), X_MASK, PPC64, { RS, RAS, RB } },
3406 { "stwux", X(31,183), X_MASK, PPCCOM, { RS, RAS, RB } },
3407 { "stux", X(31,183), X_MASK, PWRCOM, { RS, RA0, RB } },
3409 { "sliq", XRC(31,184,0), X_MASK, M601, { RA, RS, SH } },
3410 { "sliq.", XRC(31,184,1), X_MASK, M601, { RA, RS, SH } },
3412 { "prtyd", X(31,186), XRB_MASK, POWER6, { RA, RS } },
3414 { "stwuxe", X(31,191), X_MASK, BOOKE64, { RS, RAS, RB } },
3416 { "subfze", XO(31,200,0,0), XORB_MASK, PPCCOM, { RT, RA } },
3417 { "sfze", XO(31,200,0,0), XORB_MASK, PWRCOM, { RT, RA } },
3418 { "subfze.", XO(31,200,0,1), XORB_MASK, PPCCOM, { RT, RA } },
3419 { "sfze.", XO(31,200,0,1), XORB_MASK, PWRCOM, { RT, RA } },
3420 { "subfzeo", XO(31,200,1,0), XORB_MASK, PPCCOM, { RT, RA } },
3421 { "sfzeo", XO(31,200,1,0), XORB_MASK, PWRCOM, { RT, RA } },
3422 { "subfzeo.",XO(31,200,1,1), XORB_MASK, PPCCOM, { RT, RA } },
3423 { "sfzeo.", XO(31,200,1,1), XORB_MASK, PWRCOM, { RT, RA } },
3425 { "addze", XO(31,202,0,0), XORB_MASK, PPCCOM, { RT, RA } },
3426 { "aze", XO(31,202,0,0), XORB_MASK, PWRCOM, { RT, RA } },
3427 { "addze.", XO(31,202,0,1), XORB_MASK, PPCCOM, { RT, RA } },
3428 { "aze.", XO(31,202,0,1), XORB_MASK, PWRCOM, { RT, RA } },
3429 { "addzeo", XO(31,202,1,0), XORB_MASK, PPCCOM, { RT, RA } },
3430 { "azeo", XO(31,202,1,0), XORB_MASK, PWRCOM, { RT, RA } },
3431 { "addzeo.", XO(31,202,1,1), XORB_MASK, PPCCOM, { RT, RA } },
3432 { "azeo.", XO(31,202,1,1), XORB_MASK, PWRCOM, { RT, RA } },
3434 { "mtsr", X(31,210), XRB_MASK|(1<<20), COM32, { SR, RS } },
3436 { "stdcx.", XRC(31,214,1), X_MASK, PPC64, { RS, RA0, RB } },
3438 { "stbx", X(31,215), X_MASK, COM, { RS, RA0, RB } },
3440 { "sllq", XRC(31,216,0), X_MASK, M601, { RA, RS, RB } },
3441 { "sllq.", XRC(31,216,1), X_MASK, M601, { RA, RS, RB } },
3443 { "sleq", XRC(31,217,0), X_MASK, M601, { RA, RS, RB } },
3444 { "sleq.", XRC(31,217,1), X_MASK, M601, { RA, RS, RB } },
3446 { "stbxe", X(31,223), X_MASK, BOOKE64, { RS, RA0, RB } },
3448 { "icblc", X(31,230), X_MASK, PPCCHLK, { CT, RA, RB }},
3450 { "subfme", XO(31,232,0,0), XORB_MASK, PPCCOM, { RT, RA } },
3451 { "sfme", XO(31,232,0,0), XORB_MASK, PWRCOM, { RT, RA } },
3452 { "subfme.", XO(31,232,0,1), XORB_MASK, PPCCOM, { RT, RA } },
3453 { "sfme.", XO(31,232,0,1), XORB_MASK, PWRCOM, { RT, RA } },
3454 { "subfmeo", XO(31,232,1,0), XORB_MASK, PPCCOM, { RT, RA } },
3455 { "sfmeo", XO(31,232,1,0), XORB_MASK, PWRCOM, { RT, RA } },
3456 { "subfmeo.",XO(31,232,1,1), XORB_MASK, PPCCOM, { RT, RA } },
3457 { "sfmeo.", XO(31,232,1,1), XORB_MASK, PWRCOM, { RT, RA } },
3459 { "mulld", XO(31,233,0,0), XO_MASK, PPC64, { RT, RA, RB } },
3460 { "mulld.", XO(31,233,0,1), XO_MASK, PPC64, { RT, RA, RB } },
3461 { "mulldo", XO(31,233,1,0), XO_MASK, PPC64, { RT, RA, RB } },
3462 { "mulldo.", XO(31,233,1,1), XO_MASK, PPC64, { RT, RA, RB } },
3464 { "addme", XO(31,234,0,0), XORB_MASK, PPCCOM, { RT, RA } },
3465 { "ame", XO(31,234,0,0), XORB_MASK, PWRCOM, { RT, RA } },
3466 { "addme.", XO(31,234,0,1), XORB_MASK, PPCCOM, { RT, RA } },
3467 { "ame.", XO(31,234,0,1), XORB_MASK, PWRCOM, { RT, RA } },
3468 { "addmeo", XO(31,234,1,0), XORB_MASK, PPCCOM, { RT, RA } },
3469 { "ameo", XO(31,234,1,0), XORB_MASK, PWRCOM, { RT, RA } },
3470 { "addmeo.", XO(31,234,1,1), XORB_MASK, PPCCOM, { RT, RA } },
3471 { "ameo.", XO(31,234,1,1), XORB_MASK, PWRCOM, { RT, RA } },
3473 { "mullw", XO(31,235,0,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3474 { "muls", XO(31,235,0,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3475 { "mullw.", XO(31,235,0,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3476 { "muls.", XO(31,235,0,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3477 { "mullwo", XO(31,235,1,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3478 { "mulso", XO(31,235,1,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3479 { "mullwo.", XO(31,235,1,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3480 { "mulso.", XO(31,235,1,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3482 { "icblce", X(31,238), X_MASK, PPCCHLK64, { CT, RA, RB }},
3483 { "mtsrin", X(31,242), XRA_MASK, PPC32, { RS, RB } },
3484 { "mtsri", X(31,242), XRA_MASK, POWER32, { RS, RB } },
3486 { "dcbtst", X(31,246), X_MASK, PPC, { CT, RA, RB } },
3488 { "stbux", X(31,247), X_MASK, COM, { RS, RAS, RB } },
3490 { "slliq", XRC(31,248,0), X_MASK, M601, { RA, RS, SH } },
3491 { "slliq.", XRC(31,248,1), X_MASK, M601, { RA, RS, SH } },
3493 { "dcbtste", X(31,253), X_MASK, BOOKE64, { CT, RA, RB } },
3495 { "stbuxe", X(31,255), X_MASK, BOOKE64, { RS, RAS, RB } },
3497 { "mfdcrx", X(31,259), X_MASK, BOOKE, { RS, RA } },
3499 { "doz", XO(31,264,0,0), XO_MASK, M601, { RT, RA, RB } },
3500 { "doz.", XO(31,264,0,1), XO_MASK, M601, { RT, RA, RB } },
3501 { "dozo", XO(31,264,1,0), XO_MASK, M601, { RT, RA, RB } },
3502 { "dozo.", XO(31,264,1,1), XO_MASK, M601, { RT, RA, RB } },
3504 { "add", XO(31,266,0,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3505 { "cax", XO(31,266,0,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3506 { "add.", XO(31,266,0,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3507 { "cax.", XO(31,266,0,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3508 { "addo", XO(31,266,1,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3509 { "caxo", XO(31,266,1,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3510 { "addo.", XO(31,266,1,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3511 { "caxo.", XO(31,266,1,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3513 { "tlbiel", X(31,274), XRTLRA_MASK, POWER4, { RB, L } },
3515 { "mfapidi", X(31,275), X_MASK, BOOKE, { RT, RA } },
3517 { "lscbx", XRC(31,277,0), X_MASK, M601, { RT, RA, RB } },
3518 { "lscbx.", XRC(31,277,1), X_MASK, M601, { RT, RA, RB } },
3520 { "dcbt", X(31,278), X_MASK, PPC, { CT, RA, RB } },
3522 { "lhzx", X(31,279), X_MASK, COM, { RT, RA0, RB } },
3524 { "eqv", XRC(31,284,0), X_MASK, COM, { RA, RS, RB } },
3525 { "eqv.", XRC(31,284,1), X_MASK, COM, { RA, RS, RB } },
3527 { "dcbte", X(31,286), X_MASK, BOOKE64, { CT, RA, RB } },
3529 { "lhzxe", X(31,287), X_MASK, BOOKE64, { RT, RA0, RB } },
3531 { "tlbie", X(31,306), XRTLRA_MASK, PPC, { RB, L } },
3532 { "tlbi", X(31,306), XRT_MASK, POWER, { RA0, RB } },
3534 { "eciwx", X(31,310), X_MASK, PPC, { RT, RA, RB } },
3536 { "lhzux", X(31,311), X_MASK, COM, { RT, RAL, RB } },
3538 { "xor", XRC(31,316,0), X_MASK, COM, { RA, RS, RB } },
3539 { "xor.", XRC(31,316,1), X_MASK, COM, { RA, RS, RB } },
3541 { "lhzuxe", X(31,319), X_MASK, BOOKE64, { RT, RAL, RB } },
3543 { "mfexisr", XSPR(31,323,64), XSPR_MASK, PPC403, { RT } },
3544 { "mfexier", XSPR(31,323,66), XSPR_MASK, PPC403, { RT } },
3545 { "mfbr0", XSPR(31,323,128), XSPR_MASK, PPC403, { RT } },
3546 { "mfbr1", XSPR(31,323,129), XSPR_MASK, PPC403, { RT } },
3547 { "mfbr2", XSPR(31,323,130), XSPR_MASK, PPC403, { RT } },
3548 { "mfbr3", XSPR(31,323,131), XSPR_MASK, PPC403, { RT } },
3549 { "mfbr4", XSPR(31,323,132), XSPR_MASK, PPC403, { RT } },
3550 { "mfbr5", XSPR(31,323,133), XSPR_MASK, PPC403, { RT } },
3551 { "mfbr6", XSPR(31,323,134), XSPR_MASK, PPC403, { RT } },
3552 { "mfbr7", XSPR(31,323,135), XSPR_MASK, PPC403, { RT } },
3553 { "mfbear", XSPR(31,323,144), XSPR_MASK, PPC403, { RT } },
3554 { "mfbesr", XSPR(31,323,145), XSPR_MASK, PPC403, { RT } },
3555 { "mfiocr", XSPR(31,323,160), XSPR_MASK, PPC403, { RT } },
3556 { "mfdmacr0", XSPR(31,323,192), XSPR_MASK, PPC403, { RT } },
3557 { "mfdmact0", XSPR(31,323,193), XSPR_MASK, PPC403, { RT } },
3558 { "mfdmada0", XSPR(31,323,194), XSPR_MASK, PPC403, { RT } },
3559 { "mfdmasa0", XSPR(31,323,195), XSPR_MASK, PPC403, { RT } },
3560 { "mfdmacc0", XSPR(31,323,196), XSPR_MASK, PPC403, { RT } },
3561 { "mfdmacr1", XSPR(31,323,200), XSPR_MASK, PPC403, { RT } },
3562 { "mfdmact1", XSPR(31,323,201), XSPR_MASK, PPC403, { RT } },
3563 { "mfdmada1", XSPR(31,323,202), XSPR_MASK, PPC403, { RT } },
3564 { "mfdmasa1", XSPR(31,323,203), XSPR_MASK, PPC403, { RT } },
3565 { "mfdmacc1", XSPR(31,323,204), XSPR_MASK, PPC403, { RT } },
3566 { "mfdmacr2", XSPR(31,323,208), XSPR_MASK, PPC403, { RT } },
3567 { "mfdmact2", XSPR(31,323,209), XSPR_MASK, PPC403, { RT } },
3568 { "mfdmada2", XSPR(31,323,210), XSPR_MASK, PPC403, { RT } },
3569 { "mfdmasa2", XSPR(31,323,211), XSPR_MASK, PPC403, { RT } },
3570 { "mfdmacc2", XSPR(31,323,212), XSPR_MASK, PPC403, { RT } },
3571 { "mfdmacr3", XSPR(31,323,216), XSPR_MASK, PPC403, { RT } },
3572 { "mfdmact3", XSPR(31,323,217), XSPR_MASK, PPC403, { RT } },
3573 { "mfdmada3", XSPR(31,323,218), XSPR_MASK, PPC403, { RT } },
3574 { "mfdmasa3", XSPR(31,323,219), XSPR_MASK, PPC403, { RT } },
3575 { "mfdmacc3", XSPR(31,323,220), XSPR_MASK, PPC403, { RT } },
3576 { "mfdmasr", XSPR(31,323,224), XSPR_MASK, PPC403, { RT } },
3577 { "mfdcr", X(31,323), X_MASK, PPC403 | BOOKE, { RT, SPR } },
3579 { "div", XO(31,331,0,0), XO_MASK, M601, { RT, RA, RB } },
3580 { "div.", XO(31,331,0,1), XO_MASK, M601, { RT, RA, RB } },
3581 { "divo", XO(31,331,1,0), XO_MASK, M601, { RT, RA, RB } },
3582 { "divo.", XO(31,331,1,1), XO_MASK, M601, { RT, RA, RB } },
3584 { "mfpmr", X(31,334), X_MASK, PPCPMR, { RT, PMR }},
3586 { "mfmq", XSPR(31,339,0), XSPR_MASK, M601, { RT } },
3587 { "mfxer", XSPR(31,339,1), XSPR_MASK, COM, { RT } },
3588 { "mfrtcu", XSPR(31,339,4), XSPR_MASK, COM, { RT } },
3589 { "mfrtcl", XSPR(31,339,5), XSPR_MASK, COM, { RT } },
3590 { "mfdec", XSPR(31,339,6), XSPR_MASK, MFDEC1, { RT } },
3591 { "mfdec", XSPR(31,339,22), XSPR_MASK, MFDEC2, { RT } },
3592 { "mflr", XSPR(31,339,8), XSPR_MASK, COM, { RT } },
3593 { "mfctr", XSPR(31,339,9), XSPR_MASK, COM, { RT } },
3594 { "mftid", XSPR(31,339,17), XSPR_MASK, POWER, { RT } },
3595 { "mfdsisr", XSPR(31,339,18), XSPR_MASK, COM, { RT } },
3596 { "mfdar", XSPR(31,339,19), XSPR_MASK, COM, { RT } },
3597 { "mfsdr0", XSPR(31,339,24), XSPR_MASK, POWER, { RT } },
3598 { "mfsdr1", XSPR(31,339,25), XSPR_MASK, COM, { RT } },
3599 { "mfsrr0", XSPR(31,339,26), XSPR_MASK, COM, { RT } },
3600 { "mfsrr1", XSPR(31,339,27), XSPR_MASK, COM, { RT } },
3601 { "mfcfar", XSPR(31,339,28), XSPR_MASK, POWER6, { RT } },
3602 { "mfpid", XSPR(31,339,48), XSPR_MASK, BOOKE, { RT } },
3603 { "mfpid", XSPR(31,339,945), XSPR_MASK, PPC403, { RT } },
3604 { "mfcsrr0", XSPR(31,339,58), XSPR_MASK, BOOKE, { RT } },
3605 { "mfcsrr1", XSPR(31,339,59), XSPR_MASK, BOOKE, { RT } },
3606 { "mfdear", XSPR(31,339,61), XSPR_MASK, BOOKE, { RT } },
3607 { "mfdear", XSPR(31,339,981), XSPR_MASK, PPC403, { RT } },
3608 { "mfesr", XSPR(31,339,62), XSPR_MASK, BOOKE, { RT } },
3609 { "mfesr", XSPR(31,339,980), XSPR_MASK, PPC403, { RT } },
3610 { "mfivpr", XSPR(31,339,63), XSPR_MASK, BOOKE, { RT } },
3611 { "mfcmpa", XSPR(31,339,144), XSPR_MASK, PPC860, { RT } },
3612 { "mfcmpb", XSPR(31,339,145), XSPR_MASK, PPC860, { RT } },
3613 { "mfcmpc", XSPR(31,339,146), XSPR_MASK, PPC860, { RT } },
3614 { "mfcmpd", XSPR(31,339,147), XSPR_MASK, PPC860, { RT } },
3615 { "mficr", XSPR(31,339,148), XSPR_MASK, PPC860, { RT } },
3616 { "mfder", XSPR(31,339,149), XSPR_MASK, PPC860, { RT } },
3617 { "mfcounta", XSPR(31,339,150), XSPR_MASK, PPC860, { RT } },
3618 { "mfcountb", XSPR(31,339,151), XSPR_MASK, PPC860, { RT } },
3619 { "mfcmpe", XSPR(31,339,152), XSPR_MASK, PPC860, { RT } },
3620 { "mfcmpf", XSPR(31,339,153), XSPR_MASK, PPC860, { RT } },
3621 { "mfcmpg", XSPR(31,339,154), XSPR_MASK, PPC860, { RT } },
3622 { "mfcmph", XSPR(31,339,155), XSPR_MASK, PPC860, { RT } },
3623 { "mflctrl1", XSPR(31,339,156), XSPR_MASK, PPC860, { RT } },
3624 { "mflctrl2", XSPR(31,339,157), XSPR_MASK, PPC860, { RT } },
3625 { "mfictrl", XSPR(31,339,158), XSPR_MASK, PPC860, { RT } },
3626 { "mfbar", XSPR(31,339,159), XSPR_MASK, PPC860, { RT } },
3627 { "mfvrsave", XSPR(31,339,256), XSPR_MASK, PPCVEC, { RT } },
3628 { "mfusprg0", XSPR(31,339,256), XSPR_MASK, BOOKE, { RT } },
3629 { "mftb", X(31,371), X_MASK, CLASSIC, { RT, TBR } },
3630 { "mftb", XSPR(31,339,268), XSPR_MASK, BOOKE, { RT } },
3631 { "mftbl", XSPR(31,371,268), XSPR_MASK, CLASSIC, { RT } },
3632 { "mftbl", XSPR(31,339,268), XSPR_MASK, BOOKE, { RT } },
3633 { "mftbu", XSPR(31,371,269), XSPR_MASK, CLASSIC, { RT } },
3634 { "mftbu", XSPR(31,339,269), XSPR_MASK, BOOKE, { RT } },
3635 { "mfsprg", XSPR(31,339,256), XSPRG_MASK, PPC, { RT, SPRG } },
3636 { "mfsprg0", XSPR(31,339,272), XSPR_MASK, PPC, { RT } },
3637 { "mfsprg1", XSPR(31,339,273), XSPR_MASK, PPC, { RT } },
3638 { "mfsprg2", XSPR(31,339,274), XSPR_MASK, PPC, { RT } },
3639 { "mfsprg3", XSPR(31,339,275), XSPR_MASK, PPC, { RT } },
3640 { "mfsprg4", XSPR(31,339,260), XSPR_MASK, PPC405 | BOOKE, { RT } },
3641 { "mfsprg5", XSPR(31,339,261), XSPR_MASK, PPC405 | BOOKE, { RT } },
3642 { "mfsprg6", XSPR(31,339,262), XSPR_MASK, PPC405 | BOOKE, { RT } },
3643 { "mfsprg7", XSPR(31,339,263), XSPR_MASK, PPC405 | BOOKE, { RT } },
3644 { "mfasr", XSPR(31,339,280), XSPR_MASK, PPC64, { RT } },
3645 { "mfear", XSPR(31,339,282), XSPR_MASK, PPC, { RT } },
3646 { "mfpir", XSPR(31,339,286), XSPR_MASK, BOOKE, { RT } },
3647 { "mfpvr", XSPR(31,339,287), XSPR_MASK, PPC, { RT } },
3648 { "mfdbsr", XSPR(31,339,304), XSPR_MASK, BOOKE, { RT } },
3649 { "mfdbsr", XSPR(31,339,1008), XSPR_MASK, PPC403, { RT } },
3650 { "mfdbcr0", XSPR(31,339,308), XSPR_MASK, BOOKE, { RT } },
3651 { "mfdbcr0", XSPR(31,339,1010), XSPR_MASK, PPC405, { RT } },
3652 { "mfdbcr1", XSPR(31,339,309), XSPR_MASK, BOOKE, { RT } },
3653 { "mfdbcr1", XSPR(31,339,957), XSPR_MASK, PPC405, { RT } },
3654 { "mfdbcr2", XSPR(31,339,310), XSPR_MASK, BOOKE, { RT } },
3655 { "mfiac1", XSPR(31,339,312), XSPR_MASK, BOOKE, { RT } },
3656 { "mfiac1", XSPR(31,339,1012), XSPR_MASK, PPC403, { RT } },
3657 { "mfiac2", XSPR(31,339,313), XSPR_MASK, BOOKE, { RT } },
3658 { "mfiac2", XSPR(31,339,1013), XSPR_MASK, PPC403, { RT } },
3659 { "mfiac3", XSPR(31,339,314), XSPR_MASK, BOOKE, { RT } },
3660 { "mfiac3", XSPR(31,339,948), XSPR_MASK, PPC405, { RT } },
3661 { "mfiac4", XSPR(31,339,315), XSPR_MASK, BOOKE, { RT } },
3662 { "mfiac4", XSPR(31,339,949), XSPR_MASK, PPC405, { RT } },
3663 { "mfdac1", XSPR(31,339,316), XSPR_MASK, BOOKE, { RT } },
3664 { "mfdac1", XSPR(31,339,1014), XSPR_MASK, PPC403, { RT } },
3665 { "mfdac2", XSPR(31,339,317), XSPR_MASK, BOOKE, { RT } },
3666 { "mfdac2", XSPR(31,339,1015), XSPR_MASK, PPC403, { RT } },
3667 { "mfdvc1", XSPR(31,339,318), XSPR_MASK, BOOKE, { RT } },
3668 { "mfdvc1", XSPR(31,339,950), XSPR_MASK, PPC405, { RT } },
3669 { "mfdvc2", XSPR(31,339,319), XSPR_MASK, BOOKE, { RT } },
3670 { "mfdvc2", XSPR(31,339,951), XSPR_MASK, PPC405, { RT } },
3671 { "mftsr", XSPR(31,339,336), XSPR_MASK, BOOKE, { RT } },
3672 { "mftsr", XSPR(31,339,984), XSPR_MASK, PPC403, { RT } },
3673 { "mftcr", XSPR(31,339,340), XSPR_MASK, BOOKE, { RT } },
3674 { "mftcr", XSPR(31,339,986), XSPR_MASK, PPC403, { RT } },
3675 { "mfivor0", XSPR(31,339,400), XSPR_MASK, BOOKE, { RT } },
3676 { "mfivor1", XSPR(31,339,401), XSPR_MASK, BOOKE, { RT } },
3677 { "mfivor2", XSPR(31,339,402), XSPR_MASK, BOOKE, { RT } },
3678 { "mfivor3", XSPR(31,339,403), XSPR_MASK, BOOKE, { RT } },
3679 { "mfivor4", XSPR(31,339,404), XSPR_MASK, BOOKE, { RT } },
3680 { "mfivor5", XSPR(31,339,405), XSPR_MASK, BOOKE, { RT } },
3681 { "mfivor6", XSPR(31,339,406), XSPR_MASK, BOOKE, { RT } },
3682 { "mfivor7", XSPR(31,339,407), XSPR_MASK, BOOKE, { RT } },
3683 { "mfivor8", XSPR(31,339,408), XSPR_MASK, BOOKE, { RT } },
3684 { "mfivor9", XSPR(31,339,409), XSPR_MASK, BOOKE, { RT } },
3685 { "mfivor10", XSPR(31,339,410), XSPR_MASK, BOOKE, { RT } },
3686 { "mfivor11", XSPR(31,339,411), XSPR_MASK, BOOKE, { RT } },
3687 { "mfivor12", XSPR(31,339,412), XSPR_MASK, BOOKE, { RT } },
3688 { "mfivor13", XSPR(31,339,413), XSPR_MASK, BOOKE, { RT } },
3689 { "mfivor14", XSPR(31,339,414), XSPR_MASK, BOOKE, { RT } },
3690 { "mfivor15", XSPR(31,339,415), XSPR_MASK, BOOKE, { RT } },
3691 { "mfspefscr", XSPR(31,339,512), XSPR_MASK, PPCSPE, { RT } },
3692 { "mfbbear", XSPR(31,339,513), XSPR_MASK, PPCBRLK, { RT } },
3693 { "mfbbtar", XSPR(31,339,514), XSPR_MASK, PPCBRLK, { RT } },
3694 { "mfivor32", XSPR(31,339,528), XSPR_MASK, PPCSPE, { RT } },
3695 { "mfivor33", XSPR(31,339,529), XSPR_MASK, PPCSPE, { RT } },
3696 { "mfivor34", XSPR(31,339,530), XSPR_MASK, PPCSPE, { RT } },
3697 { "mfivor35", XSPR(31,339,531), XSPR_MASK, PPCPMR, { RT } },
3698 { "mfibatu", XSPR(31,339,528), XSPRBAT_MASK, PPC, { RT, SPRBAT } },
3699 { "mfibatl", XSPR(31,339,529), XSPRBAT_MASK, PPC, { RT, SPRBAT } },
3700 { "mfdbatu", XSPR(31,339,536), XSPRBAT_MASK, PPC, { RT, SPRBAT } },
3701 { "mfdbatl", XSPR(31,339,537), XSPRBAT_MASK, PPC, { RT, SPRBAT } },
3702 { "mfic_cst", XSPR(31,339,560), XSPR_MASK, PPC860, { RT } },
3703 { "mfic_adr", XSPR(31,339,561), XSPR_MASK, PPC860, { RT } },
3704 { "mfic_dat", XSPR(31,339,562), XSPR_MASK, PPC860, { RT } },
3705 { "mfdc_cst", XSPR(31,339,568), XSPR_MASK, PPC860, { RT } },
3706 { "mfdc_adr", XSPR(31,339,569), XSPR_MASK, PPC860, { RT } },
3707 { "mfmcsrr0", XSPR(31,339,570), XSPR_MASK, PPCRFMCI, { RT } },
3708 { "mfdc_dat", XSPR(31,339,570), XSPR_MASK, PPC860, { RT } },
3709 { "mfmcsrr1", XSPR(31,339,571), XSPR_MASK, PPCRFMCI, { RT } },
3710 { "mfmcsr", XSPR(31,339,572), XSPR_MASK, PPCRFMCI, { RT } },
3711 { "mfmcar", XSPR(31,339,573), XSPR_MASK, PPCRFMCI, { RT } },
3712 { "mfdpdr", XSPR(31,339,630), XSPR_MASK, PPC860, { RT } },
3713 { "mfdpir", XSPR(31,339,631), XSPR_MASK, PPC860, { RT } },
3714 { "mfimmr", XSPR(31,339,638), XSPR_MASK, PPC860, { RT } },
3715 { "mfmi_ctr", XSPR(31,339,784), XSPR_MASK, PPC860, { RT } },
3716 { "mfmi_ap", XSPR(31,339,786), XSPR_MASK, PPC860, { RT } },
3717 { "mfmi_epn", XSPR(31,339,787), XSPR_MASK, PPC860, { RT } },
3718 { "mfmi_twc", XSPR(31,339,789), XSPR_MASK, PPC860, { RT } },
3719 { "mfmi_rpn", XSPR(31,339,790), XSPR_MASK, PPC860, { RT } },
3720 { "mfmd_ctr", XSPR(31,339,792), XSPR_MASK, PPC860, { RT } },
3721 { "mfm_casid", XSPR(31,339,793), XSPR_MASK, PPC860, { RT } },
3722 { "mfmd_ap", XSPR(31,339,794), XSPR_MASK, PPC860, { RT } },
3723 { "mfmd_epn", XSPR(31,339,795), XSPR_MASK, PPC860, { RT } },
3724 { "mfmd_twb", XSPR(31,339,796), XSPR_MASK, PPC860, { RT } },
3725 { "mfmd_twc", XSPR(31,339,797), XSPR_MASK, PPC860, { RT } },
3726 { "mfmd_rpn", XSPR(31,339,798), XSPR_MASK, PPC860, { RT } },
3727 { "mfm_tw", XSPR(31,339,799), XSPR_MASK, PPC860, { RT } },
3728 { "mfmi_dbcam", XSPR(31,339,816), XSPR_MASK, PPC860, { RT } },
3729 { "mfmi_dbram0",XSPR(31,339,817), XSPR_MASK, PPC860, { RT } },
3730 { "mfmi_dbram1",XSPR(31,339,818), XSPR_MASK, PPC860, { RT } },
3731 { "mfmd_dbcam", XSPR(31,339,824), XSPR_MASK, PPC860, { RT } },
3732 { "mfmd_dbram0",XSPR(31,339,825), XSPR_MASK, PPC860, { RT } },
3733 { "mfmd_dbram1",XSPR(31,339,826), XSPR_MASK, PPC860, { RT } },
3734 { "mfummcr0", XSPR(31,339,936), XSPR_MASK, PPC750, { RT } },
3735 { "mfupmc1", XSPR(31,339,937), XSPR_MASK, PPC750, { RT } },
3736 { "mfupmc2", XSPR(31,339,938), XSPR_MASK, PPC750, { RT } },
3737 { "mfusia", XSPR(31,339,939), XSPR_MASK, PPC750, { RT } },
3738 { "mfummcr1", XSPR(31,339,940), XSPR_MASK, PPC750, { RT } },
3739 { "mfupmc3", XSPR(31,339,941), XSPR_MASK, PPC750, { RT } },
3740 { "mfupmc4", XSPR(31,339,942), XSPR_MASK, PPC750, { RT } },
3741 { "mfzpr", XSPR(31,339,944), XSPR_MASK, PPC403, { RT } },
3742 { "mfccr0", XSPR(31,339,947), XSPR_MASK, PPC405, { RT } },
3743 { "mfmmcr0", XSPR(31,339,952), XSPR_MASK, PPC750, { RT } },
3744 { "mfpmc1", XSPR(31,339,953), XSPR_MASK, PPC750, { RT } },
3745 { "mfsgr", XSPR(31,339,953), XSPR_MASK, PPC403, { RT } },
3746 { "mfpmc2", XSPR(31,339,954), XSPR_MASK, PPC750, { RT } },
3747 { "mfdcwr", XSPR(31,339,954), XSPR_MASK, PPC403, { RT } },
3748 { "mfsia", XSPR(31,339,955), XSPR_MASK, PPC750, { RT } },
3749 { "mfsler", XSPR(31,339,955), XSPR_MASK, PPC405, { RT } },
3750 { "mfmmcr1", XSPR(31,339,956), XSPR_MASK, PPC750, { RT } },
3751 { "mfsu0r", XSPR(31,339,956), XSPR_MASK, PPC405, { RT } },
3752 { "mfpmc3", XSPR(31,339,957), XSPR_MASK, PPC750, { RT } },
3753 { "mfpmc4", XSPR(31,339,958), XSPR_MASK, PPC750, { RT } },
3754 { "mficdbdr", XSPR(31,339,979), XSPR_MASK, PPC403, { RT } },
3755 { "mfevpr", XSPR(31,339,982), XSPR_MASK, PPC403, { RT } },
3756 { "mfcdbcr", XSPR(31,339,983), XSPR_MASK, PPC403, { RT } },
3757 { "mfpit", XSPR(31,339,987), XSPR_MASK, PPC403, { RT } },
3758 { "mftbhi", XSPR(31,339,988), XSPR_MASK, PPC403, { RT } },
3759 { "mftblo", XSPR(31,339,989), XSPR_MASK, PPC403, { RT } },
3760 { "mfsrr2", XSPR(31,339,990), XSPR_MASK, PPC403, { RT } },
3761 { "mfsrr3", XSPR(31,339,991), XSPR_MASK, PPC403, { RT } },
3762 { "mfl2cr", XSPR(31,339,1017), XSPR_MASK, PPC750, { RT } },
3763 { "mfdccr", XSPR(31,339,1018), XSPR_MASK, PPC403, { RT } },
3764 { "mficcr", XSPR(31,339,1019), XSPR_MASK, PPC403, { RT } },
3765 { "mfictc", XSPR(31,339,1019), XSPR_MASK, PPC750, { RT } },
3766 { "mfpbl1", XSPR(31,339,1020), XSPR_MASK, PPC403, { RT } },
3767 { "mfthrm1", XSPR(31,339,1020), XSPR_MASK, PPC750, { RT } },
3768 { "mfpbu1", XSPR(31,339,1021), XSPR_MASK, PPC403, { RT } },
3769 { "mfthrm2", XSPR(31,339,1021), XSPR_MASK, PPC750, { RT } },
3770 { "mfpbl2", XSPR(31,339,1022), XSPR_MASK, PPC403, { RT } },
3771 { "mfthrm3", XSPR(31,339,1022), XSPR_MASK, PPC750, { RT } },
3772 { "mfpbu2", XSPR(31,339,1023), XSPR_MASK, PPC403, { RT } },
3773 { "mfspr", X(31,339), X_MASK, COM, { RT, SPR } },
3775 { "lwax", X(31,341), X_MASK, PPC64, { RT, RA0, RB } },
3777 { "dst", XDSS(31,342,0), XDSS_MASK, PPCVEC, { RA, RB, STRM } },
3778 { "dstt", XDSS(31,342,1), XDSS_MASK, PPCVEC, { RA, RB, STRM } },
3780 { "lhax", X(31,343), X_MASK, COM, { RT, RA0, RB } },
3782 { "lhaxe", X(31,351), X_MASK, BOOKE64, { RT, RA0, RB } },
3784 { "dstst", XDSS(31,374,0), XDSS_MASK, PPCVEC, { RA, RB, STRM } },
3785 { "dststt", XDSS(31,374,1), XDSS_MASK, PPCVEC, { RA, RB, STRM } },
3787 { "dccci", X(31,454), XRT_MASK, PPC403|PPC440, { RA, RB } },
3789 { "abs", XO(31,360,0,0), XORB_MASK, M601, { RT, RA } },
3790 { "abs.", XO(31,360,0,1), XORB_MASK, M601, { RT, RA } },
3791 { "abso", XO(31,360,1,0), XORB_MASK, M601, { RT, RA } },
3792 { "abso.", XO(31,360,1,1), XORB_MASK, M601, { RT, RA } },
3794 { "divs", XO(31,363,0,0), XO_MASK, M601, { RT, RA, RB } },
3795 { "divs.", XO(31,363,0,1), XO_MASK, M601, { RT, RA, RB } },
3796 { "divso", XO(31,363,1,0), XO_MASK, M601, { RT, RA, RB } },
3797 { "divso.", XO(31,363,1,1), XO_MASK, M601, { RT, RA, RB } },
3799 { "tlbia", X(31,370), 0xffffffff, PPC, { 0 } },
3801 { "lwaux", X(31,373), X_MASK, PPC64, { RT, RAL, RB } },
3803 { "lhaux", X(31,375), X_MASK, COM, { RT, RAL, RB } },
3805 { "lhauxe", X(31,383), X_MASK, BOOKE64, { RT, RAL, RB } },
3807 { "mtdcrx", X(31,387), X_MASK, BOOKE, { RA, RS } },
3809 { "dcblc", X(31,390), X_MASK, PPCCHLK, { CT, RA, RB }},
3811 { "subfe64", XO(31,392,0,0), XO_MASK, BOOKE64, { RT, RA, RB } },
3812 { "subfe64o",XO(31,392,1,0), XO_MASK, BOOKE64, { RT, RA, RB } },
3814 { "adde64", XO(31,394,0,0), XO_MASK, BOOKE64, { RT, RA, RB } },
3815 { "adde64o", XO(31,394,1,0), XO_MASK, BOOKE64, { RT, RA, RB } },
3817 { "dcblce", X(31,398), X_MASK, PPCCHLK64, { CT, RA, RB }},
3819 { "slbmte", X(31,402), XRA_MASK, PPC64, { RS, RB } },
3821 { "sthx", X(31,407), X_MASK, COM, { RS, RA0, RB } },
3823 { "cmpb", X(31,508), X_MASK, POWER6, { RA, RS, RB } },
3825 { "lfqx", X(31,791), X_MASK, POWER2, { FRT, RA, RB } },
3827 { "lfdpx", X(31,791), X_MASK, POWER6, { FRT, RA, RB } },
3829 { "lfqux", X(31,823), X_MASK, POWER2, { FRT, RA, RB } },
3831 { "stfqx", X(31,919), X_MASK, POWER2, { FRS, RA, RB } },
3833 { "stfdpx", X(31,919), X_MASK, POWER6, { FRS, RA, RB } },
3835 { "stfqux", X(31,951), X_MASK, POWER2, { FRS, RA, RB } },
3837 { "orc", XRC(31,412,0), X_MASK, COM, { RA, RS, RB } },
3838 { "orc.", XRC(31,412,1), X_MASK, COM, { RA, RS, RB } },
3840 { "sradi", XS(31,413,0), XS_MASK, PPC64, { RA, RS, SH6 } },
3841 { "sradi.", XS(31,413,1), XS_MASK, PPC64, { RA, RS, SH6 } },
3843 { "sthxe", X(31,415), X_MASK, BOOKE64, { RS, RA0, RB } },
3845 { "slbie", X(31,434), XRTRA_MASK, PPC64, { RB } },
3847 { "ecowx", X(31,438), X_MASK, PPC, { RT, RA, RB } },
3849 { "sthux", X(31,439), X_MASK, COM, { RS, RAS, RB } },
3851 { "sthuxe", X(31,447), X_MASK, BOOKE64, { RS, RAS, RB } },
3853 { "cctpl", 0x7c210b78, 0xffffffff, CELL, { 0 }},
3854 { "cctpm", 0x7c421378, 0xffffffff, CELL, { 0 }},
3855 { "cctph", 0x7c631b78, 0xffffffff, CELL, { 0 }},
3856 { "db8cyc", 0x7f9ce378, 0xffffffff, CELL, { 0 }},
3857 { "db10cyc", 0x7fbdeb78, 0xffffffff, CELL, { 0 }},
3858 { "db12cyc", 0x7fdef378, 0xffffffff, CELL, { 0 }},
3859 { "db16cyc", 0x7ffffb78, 0xffffffff, CELL, { 0 }},
3860 { "mr", XRC(31,444,0), X_MASK, COM, { RA, RS, RBS } },
3861 { "or", XRC(31,444,0), X_MASK, COM, { RA, RS, RB } },
3862 { "mr.", XRC(31,444,1), X_MASK, COM, { RA, RS, RBS } },
3863 { "or.", XRC(31,444,1), X_MASK, COM, { RA, RS, RB } },
3865 { "mtexisr", XSPR(31,451,64), XSPR_MASK, PPC403, { RS } },
3866 { "mtexier", XSPR(31,451,66), XSPR_MASK, PPC403, { RS } },
3867 { "mtbr0", XSPR(31,451,128), XSPR_MASK, PPC403, { RS } },
3868 { "mtbr1", XSPR(31,451,129), XSPR_MASK, PPC403, { RS } },
3869 { "mtbr2", XSPR(31,451,130), XSPR_MASK, PPC403, { RS } },
3870 { "mtbr3", XSPR(31,451,131), XSPR_MASK, PPC403, { RS } },
3871 { "mtbr4", XSPR(31,451,132), XSPR_MASK, PPC403, { RS } },
3872 { "mtbr5", XSPR(31,451,133), XSPR_MASK, PPC403, { RS } },
3873 { "mtbr6", XSPR(31,451,134), XSPR_MASK, PPC403, { RS } },
3874 { "mtbr7", XSPR(31,451,135), XSPR_MASK, PPC403, { RS } },
3875 { "mtbear", XSPR(31,451,144), XSPR_MASK, PPC403, { RS } },
3876 { "mtbesr", XSPR(31,451,145), XSPR_MASK, PPC403, { RS } },
3877 { "mtiocr", XSPR(31,451,160), XSPR_MASK, PPC403, { RS } },
3878 { "mtdmacr0", XSPR(31,451,192), XSPR_MASK, PPC403, { RS } },
3879 { "mtdmact0", XSPR(31,451,193), XSPR_MASK, PPC403, { RS } },
3880 { "mtdmada0", XSPR(31,451,194), XSPR_MASK, PPC403, { RS } },
3881 { "mtdmasa0", XSPR(31,451,195), XSPR_MASK, PPC403, { RS } },
3882 { "mtdmacc0", XSPR(31,451,196), XSPR_MASK, PPC403, { RS } },
3883 { "mtdmacr1", XSPR(31,451,200), XSPR_MASK, PPC403, { RS } },
3884 { "mtdmact1", XSPR(31,451,201), XSPR_MASK, PPC403, { RS } },
3885 { "mtdmada1", XSPR(31,451,202), XSPR_MASK, PPC403, { RS } },
3886 { "mtdmasa1", XSPR(31,451,203), XSPR_MASK, PPC403, { RS } },
3887 { "mtdmacc1", XSPR(31,451,204), XSPR_MASK, PPC403, { RS } },
3888 { "mtdmacr2", XSPR(31,451,208), XSPR_MASK, PPC403, { RS } },
3889 { "mtdmact2", XSPR(31,451,209), XSPR_MASK, PPC403, { RS } },
3890 { "mtdmada2", XSPR(31,451,210), XSPR_MASK, PPC403, { RS } },
3891 { "mtdmasa2", XSPR(31,451,211), XSPR_MASK, PPC403, { RS } },
3892 { "mtdmacc2", XSPR(31,451,212), XSPR_MASK, PPC403, { RS } },
3893 { "mtdmacr3", XSPR(31,451,216), XSPR_MASK, PPC403, { RS } },
3894 { "mtdmact3", XSPR(31,451,217), XSPR_MASK, PPC403, { RS } },
3895 { "mtdmada3", XSPR(31,451,218), XSPR_MASK, PPC403, { RS } },
3896 { "mtdmasa3", XSPR(31,451,219), XSPR_MASK, PPC403, { RS } },
3897 { "mtdmacc3", XSPR(31,451,220), XSPR_MASK, PPC403, { RS } },
3898 { "mtdmasr", XSPR(31,451,224), XSPR_MASK, PPC403, { RS } },
3899 { "mtdcr", X(31,451), X_MASK, PPC403 | BOOKE, { SPR, RS } },
3901 { "subfze64",XO(31,456,0,0), XORB_MASK, BOOKE64, { RT, RA } },
3902 { "subfze64o",XO(31,456,1,0), XORB_MASK, BOOKE64, { RT, RA } },
3904 { "divdu", XO(31,457,0,0), XO_MASK, PPC64, { RT, RA, RB } },
3905 { "divdu.", XO(31,457,0,1), XO_MASK, PPC64, { RT, RA, RB } },
3906 { "divduo", XO(31,457,1,0), XO_MASK, PPC64, { RT, RA, RB } },
3907 { "divduo.", XO(31,457,1,1), XO_MASK, PPC64, { RT, RA, RB } },
3909 { "addze64", XO(31,458,0,0), XORB_MASK, BOOKE64, { RT, RA } },
3910 { "addze64o",XO(31,458,1,0), XORB_MASK, BOOKE64, { RT, RA } },
3912 { "divwu", XO(31,459,0,0), XO_MASK, PPC, { RT, RA, RB } },
3913 { "divwu.", XO(31,459,0,1), XO_MASK, PPC, { RT, RA, RB } },
3914 { "divwuo", XO(31,459,1,0), XO_MASK, PPC, { RT, RA, RB } },
3915 { "divwuo.", XO(31,459,1,1), XO_MASK, PPC, { RT, RA, RB } },
3917 { "mtmq", XSPR(31,467,0), XSPR_MASK, M601, { RS } },
3918 { "mtxer", XSPR(31,467,1), XSPR_MASK, COM, { RS } },
3919 { "mtlr", XSPR(31,467,8), XSPR_MASK, COM, { RS } },
3920 { "mtctr", XSPR(31,467,9), XSPR_MASK, COM, { RS } },
3921 { "mttid", XSPR(31,467,17), XSPR_MASK, POWER, { RS } },
3922 { "mtdsisr", XSPR(31,467,18), XSPR_MASK, COM, { RS } },
3923 { "mtdar", XSPR(31,467,19), XSPR_MASK, COM, { RS } },
3924 { "mtrtcu", XSPR(31,467,20), XSPR_MASK, COM, { RS } },
3925 { "mtrtcl", XSPR(31,467,21), XSPR_MASK, COM, { RS } },
3926 { "mtdec", XSPR(31,467,22), XSPR_MASK, COM, { RS } },
3927 { "mtsdr0", XSPR(31,467,24), XSPR_MASK, POWER, { RS } },
3928 { "mtsdr1", XSPR(31,467,25), XSPR_MASK, COM, { RS } },
3929 { "mtsrr0", XSPR(31,467,26), XSPR_MASK, COM, { RS } },
3930 { "mtsrr1", XSPR(31,467,27), XSPR_MASK, COM, { RS } },
3931 { "mtcfar", XSPR(31,467,28), XSPR_MASK, POWER6, { RS } },
3932 { "mtpid", XSPR(31,467,48), XSPR_MASK, BOOKE, { RS } },
3933 { "mtpid", XSPR(31,467,945), XSPR_MASK, PPC403, { RS } },
3934 { "mtdecar", XSPR(31,467,54), XSPR_MASK, BOOKE, { RS } },
3935 { "mtcsrr0", XSPR(31,467,58), XSPR_MASK, BOOKE, { RS } },
3936 { "mtcsrr1", XSPR(31,467,59), XSPR_MASK, BOOKE, { RS } },
3937 { "mtdear", XSPR(31,467,61), XSPR_MASK, BOOKE, { RS } },
3938 { "mtdear", XSPR(31,467,981), XSPR_MASK, PPC403, { RS } },
3939 { "mtesr", XSPR(31,467,62), XSPR_MASK, BOOKE, { RS } },
3940 { "mtesr", XSPR(31,467,980), XSPR_MASK, PPC403, { RS } },
3941 { "mtivpr", XSPR(31,467,63), XSPR_MASK, BOOKE, { RS } },
3942 { "mtcmpa", XSPR(31,467,144), XSPR_MASK, PPC860, { RS } },
3943 { "mtcmpb", XSPR(31,467,145), XSPR_MASK, PPC860, { RS } },
3944 { "mtcmpc", XSPR(31,467,146), XSPR_MASK, PPC860, { RS } },
3945 { "mtcmpd", XSPR(31,467,147), XSPR_MASK, PPC860, { RS } },
3946 { "mticr", XSPR(31,467,148), XSPR_MASK, PPC860, { RS } },
3947 { "mtder", XSPR(31,467,149), XSPR_MASK, PPC860, { RS } },
3948 { "mtcounta", XSPR(31,467,150), XSPR_MASK, PPC860, { RS } },
3949 { "mtcountb", XSPR(31,467,151), XSPR_MASK, PPC860, { RS } },
3950 { "mtcmpe", XSPR(31,467,152), XSPR_MASK, PPC860, { RS } },
3951 { "mtcmpf", XSPR(31,467,153), XSPR_MASK, PPC860, { RS } },
3952 { "mtcmpg", XSPR(31,467,154), XSPR_MASK, PPC860, { RS } },
3953 { "mtcmph", XSPR(31,467,155), XSPR_MASK, PPC860, { RS } },
3954 { "mtlctrl1", XSPR(31,467,156), XSPR_MASK, PPC860, { RS } },
3955 { "mtlctrl2", XSPR(31,467,157), XSPR_MASK, PPC860, { RS } },
3956 { "mtictrl", XSPR(31,467,158), XSPR_MASK, PPC860, { RS } },
3957 { "mtbar", XSPR(31,467,159), XSPR_MASK, PPC860, { RS } },
3958 { "mtvrsave", XSPR(31,467,256), XSPR_MASK, PPCVEC, { RS } },
3959 { "mtusprg0", XSPR(31,467,256), XSPR_MASK, BOOKE, { RS } },
3960 { "mtsprg", XSPR(31,467,256), XSPRG_MASK,PPC, { SPRG, RS } },
3961 { "mtsprg0", XSPR(31,467,272), XSPR_MASK, PPC, { RS } },
3962 { "mtsprg1", XSPR(31,467,273), XSPR_MASK, PPC, { RS } },
3963 { "mtsprg2", XSPR(31,467,274), XSPR_MASK, PPC, { RS } },
3964 { "mtsprg3", XSPR(31,467,275), XSPR_MASK, PPC, { RS } },
3965 { "mtsprg4", XSPR(31,467,276), XSPR_MASK, PPC405 | BOOKE, { RS } },
3966 { "mtsprg5", XSPR(31,467,277), XSPR_MASK, PPC405 | BOOKE, { RS } },
3967 { "mtsprg6", XSPR(31,467,278), XSPR_MASK, PPC405 | BOOKE, { RS } },
3968 { "mtsprg7", XSPR(31,467,279), XSPR_MASK, PPC405 | BOOKE, { RS } },
3969 { "mtasr", XSPR(31,467,280), XSPR_MASK, PPC64, { RS } },
3970 { "mtear", XSPR(31,467,282), XSPR_MASK, PPC, { RS } },
3971 { "mttbl", XSPR(31,467,284), XSPR_MASK, PPC, { RS } },
3972 { "mttbu", XSPR(31,467,285), XSPR_MASK, PPC, { RS } },
3973 { "mtdbsr", XSPR(31,467,304), XSPR_MASK, BOOKE, { RS } },
3974 { "mtdbsr", XSPR(31,467,1008), XSPR_MASK, PPC403, { RS } },
3975 { "mtdbcr0", XSPR(31,467,308), XSPR_MASK, BOOKE, { RS } },
3976 { "mtdbcr0", XSPR(31,467,1010), XSPR_MASK, PPC405, { RS } },
3977 { "mtdbcr1", XSPR(31,467,309), XSPR_MASK, BOOKE, { RS } },
3978 { "mtdbcr1", XSPR(31,467,957), XSPR_MASK, PPC405, { RS } },
3979 { "mtdbcr2", XSPR(31,467,310), XSPR_MASK, BOOKE, { RS } },
3980 { "mtiac1", XSPR(31,467,312), XSPR_MASK, BOOKE, { RS } },
3981 { "mtiac1", XSPR(31,467,1012), XSPR_MASK, PPC403, { RS } },
3982 { "mtiac2", XSPR(31,467,313), XSPR_MASK, BOOKE, { RS } },
3983 { "mtiac2", XSPR(31,467,1013), XSPR_MASK, PPC403, { RS } },
3984 { "mtiac3", XSPR(31,467,314), XSPR_MASK, BOOKE, { RS } },
3985 { "mtiac3", XSPR(31,467,948), XSPR_MASK, PPC405, { RS } },
3986 { "mtiac4", XSPR(31,467,315), XSPR_MASK, BOOKE, { RS } },
3987 { "mtiac4", XSPR(31,467,949), XSPR_MASK, PPC405, { RS } },
3988 { "mtdac1", XSPR(31,467,316), XSPR_MASK, BOOKE, { RS } },
3989 { "mtdac1", XSPR(31,467,1014), XSPR_MASK, PPC403, { RS } },
3990 { "mtdac2", XSPR(31,467,317), XSPR_MASK, BOOKE, { RS } },
3991 { "mtdac2", XSPR(31,467,1015), XSPR_MASK, PPC403, { RS } },
3992 { "mtdvc1", XSPR(31,467,318), XSPR_MASK, BOOKE, { RS } },
3993 { "mtdvc1", XSPR(31,467,950), XSPR_MASK, PPC405, { RS } },
3994 { "mtdvc2", XSPR(31,467,319), XSPR_MASK, BOOKE, { RS } },
3995 { "mtdvc2", XSPR(31,467,951), XSPR_MASK, PPC405, { RS } },
3996 { "mttsr", XSPR(31,467,336), XSPR_MASK, BOOKE, { RS } },
3997 { "mttsr", XSPR(31,467,984), XSPR_MASK, PPC403, { RS } },
3998 { "mttcr", XSPR(31,467,340), XSPR_MASK, BOOKE, { RS } },
3999 { "mttcr", XSPR(31,467,986), XSPR_MASK, PPC403, { RS } },
4000 { "mtivor0", XSPR(31,467,400), XSPR_MASK, BOOKE, { RS } },
4001 { "mtivor1", XSPR(31,467,401), XSPR_MASK, BOOKE, { RS } },
4002 { "mtivor2", XSPR(31,467,402), XSPR_MASK, BOOKE, { RS } },
4003 { "mtivor3", XSPR(31,467,403), XSPR_MASK, BOOKE, { RS } },
4004 { "mtivor4", XSPR(31,467,404), XSPR_MASK, BOOKE, { RS } },
4005 { "mtivor5", XSPR(31,467,405), XSPR_MASK, BOOKE, { RS } },
4006 { "mtivor6", XSPR(31,467,406), XSPR_MASK, BOOKE, { RS } },
4007 { "mtivor7", XSPR(31,467,407), XSPR_MASK, BOOKE, { RS } },
4008 { "mtivor8", XSPR(31,467,408), XSPR_MASK, BOOKE, { RS } },
4009 { "mtivor9", XSPR(31,467,409), XSPR_MASK, BOOKE, { RS } },
4010 { "mtivor10", XSPR(31,467,410), XSPR_MASK, BOOKE, { RS } },
4011 { "mtivor11", XSPR(31,467,411), XSPR_MASK, BOOKE, { RS } },
4012 { "mtivor12", XSPR(31,467,412), XSPR_MASK, BOOKE, { RS } },
4013 { "mtivor13", XSPR(31,467,413), XSPR_MASK, BOOKE, { RS } },
4014 { "mtivor14", XSPR(31,467,414), XSPR_MASK, BOOKE, { RS } },
4015 { "mtivor15", XSPR(31,467,415), XSPR_MASK, BOOKE, { RS } },
4016 { "mtspefscr", XSPR(31,467,512), XSPR_MASK, PPCSPE, { RS } },
4017 { "mtbbear", XSPR(31,467,513), XSPR_MASK, PPCBRLK, { RS } },
4018 { "mtbbtar", XSPR(31,467,514), XSPR_MASK, PPCBRLK, { RS } },
4019 { "mtivor32", XSPR(31,467,528), XSPR_MASK, PPCSPE, { RS } },
4020 { "mtivor33", XSPR(31,467,529), XSPR_MASK, PPCSPE, { RS } },
4021 { "mtivor34", XSPR(31,467,530), XSPR_MASK, PPCSPE, { RS } },
4022 { "mtivor35", XSPR(31,467,531), XSPR_MASK, PPCPMR, { RS } },
4023 { "mtibatu", XSPR(31,467,528), XSPRBAT_MASK, PPC, { SPRBAT, RS } },
4024 { "mtibatl", XSPR(31,467,529), XSPRBAT_MASK, PPC, { SPRBAT, RS } },
4025 { "mtdbatu", XSPR(31,467,536), XSPRBAT_MASK, PPC, { SPRBAT, RS } },
4026 { "mtdbatl", XSPR(31,467,537), XSPRBAT_MASK, PPC, { SPRBAT, RS } },
4027 { "mtmcsrr0", XSPR(31,467,570), XSPR_MASK, PPCRFMCI, { RS } },
4028 { "mtmcsrr1", XSPR(31,467,571), XSPR_MASK, PPCRFMCI, { RS } },
4029 { "mtmcsr", XSPR(31,467,572), XSPR_MASK, PPCRFMCI, { RS } },
4030 { "mtummcr0", XSPR(31,467,936), XSPR_MASK, PPC750, { RS } },
4031 { "mtupmc1", XSPR(31,467,937), XSPR_MASK, PPC750, { RS } },
4032 { "mtupmc2", XSPR(31,467,938), XSPR_MASK, PPC750, { RS } },
4033 { "mtusia", XSPR(31,467,939), XSPR_MASK, PPC750, { RS } },
4034 { "mtummcr1", XSPR(31,467,940), XSPR_MASK, PPC750, { RS } },
4035 { "mtupmc3", XSPR(31,467,941), XSPR_MASK, PPC750, { RS } },
4036 { "mtupmc4", XSPR(31,467,942), XSPR_MASK, PPC750, { RS } },
4037 { "mtzpr", XSPR(31,467,944), XSPR_MASK, PPC403, { RS } },
4038 { "mtccr0", XSPR(31,467,947), XSPR_MASK, PPC405, { RS } },
4039 { "mtmmcr0", XSPR(31,467,952), XSPR_MASK, PPC750, { RS } },
4040 { "mtsgr", XSPR(31,467,953), XSPR_MASK, PPC403, { RS } },
4041 { "mtpmc1", XSPR(31,467,953), XSPR_MASK, PPC750, { RS } },
4042 { "mtdcwr", XSPR(31,467,954), XSPR_MASK, PPC403, { RS } },
4043 { "mtpmc2", XSPR(31,467,954), XSPR_MASK, PPC750, { RS } },
4044 { "mtsler", XSPR(31,467,955), XSPR_MASK, PPC405, { RS } },
4045 { "mtsia", XSPR(31,467,955), XSPR_MASK, PPC750, { RS } },
4046 { "mtsu0r", XSPR(31,467,956), XSPR_MASK, PPC405, { RS } },
4047 { "mtmmcr1", XSPR(31,467,956), XSPR_MASK, PPC750, { RS } },
4048 { "mtpmc3", XSPR(31,467,957), XSPR_MASK, PPC750, { RS } },
4049 { "mtpmc4", XSPR(31,467,958), XSPR_MASK, PPC750, { RS } },
4050 { "mticdbdr", XSPR(31,467,979), XSPR_MASK, PPC403, { RS } },
4051 { "mtevpr", XSPR(31,467,982), XSPR_MASK, PPC403, { RS } },
4052 { "mtcdbcr", XSPR(31,467,983), XSPR_MASK, PPC403, { RS } },
4053 { "mtpit", XSPR(31,467,987), XSPR_MASK, PPC403, { RS } },
4054 { "mttbhi", XSPR(31,467,988), XSPR_MASK, PPC403, { RS } },
4055 { "mttblo", XSPR(31,467,989), XSPR_MASK, PPC403, { RS } },
4056 { "mtsrr2", XSPR(31,467,990), XSPR_MASK, PPC403, { RS } },
4057 { "mtsrr3", XSPR(31,467,991), XSPR_MASK, PPC403, { RS } },
4058 { "mtl2cr", XSPR(31,467,1017), XSPR_MASK, PPC750, { RS } },
4059 { "mtdccr", XSPR(31,467,1018), XSPR_MASK, PPC403, { RS } },
4060 { "mticcr", XSPR(31,467,1019), XSPR_MASK, PPC403, { RS } },
4061 { "mtictc", XSPR(31,467,1019), XSPR_MASK, PPC750, { RS } },
4062 { "mtpbl1", XSPR(31,467,1020), XSPR_MASK, PPC403, { RS } },
4063 { "mtthrm1", XSPR(31,467,1020), XSPR_MASK, PPC750, { RS } },
4064 { "mtpbu1", XSPR(31,467,1021), XSPR_MASK, PPC403, { RS } },
4065 { "mtthrm2", XSPR(31,467,1021), XSPR_MASK, PPC750, { RS } },
4066 { "mtpbl2", XSPR(31,467,1022), XSPR_MASK, PPC403, { RS } },
4067 { "mtthrm3", XSPR(31,467,1022), XSPR_MASK, PPC750, { RS } },
4068 { "mtpbu2", XSPR(31,467,1023), XSPR_MASK, PPC403, { RS } },
4069 { "mtspr", X(31,467), X_MASK, COM, { SPR, RS } },
4071 { "dcbi", X(31,470), XRT_MASK, PPC, { RA, RB } },
4073 { "nand", XRC(31,476,0), X_MASK, COM, { RA, RS, RB } },
4074 { "nand.", XRC(31,476,1), X_MASK, COM, { RA, RS, RB } },
4076 { "dcbie", X(31,478), XRT_MASK, BOOKE64, { RA, RB } },
4078 { "dcread", X(31,486), X_MASK, PPC403|PPC440, { RT, RA, RB }},
4080 { "mtpmr", X(31,462), X_MASK, PPCPMR, { PMR, RS }},
4082 { "icbtls", X(31,486), X_MASK, PPCCHLK, { CT, RA, RB }},
4084 { "nabs", XO(31,488,0,0), XORB_MASK, M601, { RT, RA } },
4085 { "subfme64",XO(31,488,0,0), XORB_MASK, BOOKE64, { RT, RA } },
4086 { "nabs.", XO(31,488,0,1), XORB_MASK, M601, { RT, RA } },
4087 { "nabso", XO(31,488,1,0), XORB_MASK, M601, { RT, RA } },
4088 { "subfme64o",XO(31,488,1,0), XORB_MASK, BOOKE64, { RT, RA } },
4089 { "nabso.", XO(31,488,1,1), XORB_MASK, M601, { RT, RA } },
4091 { "divd", XO(31,489,0,0), XO_MASK, PPC64, { RT, RA, RB } },
4092 { "divd.", XO(31,489,0,1), XO_MASK, PPC64, { RT, RA, RB } },
4093 { "divdo", XO(31,489,1,0), XO_MASK, PPC64, { RT, RA, RB } },
4094 { "divdo.", XO(31,489,1,1), XO_MASK, PPC64, { RT, RA, RB } },
4096 { "addme64", XO(31,490,0,0), XORB_MASK, BOOKE64, { RT, RA } },
4097 { "addme64o",XO(31,490,1,0), XORB_MASK, BOOKE64, { RT, RA } },
4099 { "divw", XO(31,491,0,0), XO_MASK, PPC, { RT, RA, RB } },
4100 { "divw.", XO(31,491,0,1), XO_MASK, PPC, { RT, RA, RB } },
4101 { "divwo", XO(31,491,1,0), XO_MASK, PPC, { RT, RA, RB } },
4102 { "divwo.", XO(31,491,1,1), XO_MASK, PPC, { RT, RA, RB } },
4104 { "icbtlse", X(31,494), X_MASK, PPCCHLK64, { CT, RA, RB }},
4106 { "slbia", X(31,498), 0xffffffff, PPC64, { 0 } },
4108 { "cli", X(31,502), XRB_MASK, POWER, { RT, RA } },
4110 { "stdcxe.", XRC(31,511,1), X_MASK, BOOKE64, { RS, RA, RB } },
4112 { "mcrxr", X(31,512), XRARB_MASK|(3<<21), COM, { BF } },
4114 { "bblels", X(31,518), X_MASK, PPCBRLK, { 0 }},
4115 { "mcrxr64", X(31,544), XRARB_MASK|(3<<21), BOOKE64, { BF } },
4117 { "clcs", X(31,531), XRB_MASK, M601, { RT, RA } },
4119 { "ldbrx", X(31,532), X_MASK, CELL, { RT, RA0, RB } },
4121 { "lswx", X(31,533), X_MASK, PPCCOM, { RT, RA0, RB } },
4122 { "lsx", X(31,533), X_MASK, PWRCOM, { RT, RA, RB } },
4124 { "lwbrx", X(31,534), X_MASK, PPCCOM, { RT, RA0, RB } },
4125 { "lbrx", X(31,534), X_MASK, PWRCOM, { RT, RA, RB } },
4127 { "lfsx", X(31,535), X_MASK, COM, { FRT, RA0, RB } },
4129 { "srw", XRC(31,536,0), X_MASK, PPCCOM, { RA, RS, RB } },
4130 { "sr", XRC(31,536,0), X_MASK, PWRCOM, { RA, RS, RB } },
4131 { "srw.", XRC(31,536,1), X_MASK, PPCCOM, { RA, RS, RB } },
4132 { "sr.", XRC(31,536,1), X_MASK, PWRCOM, { RA, RS, RB } },
4134 { "rrib", XRC(31,537,0), X_MASK, M601, { RA, RS, RB } },
4135 { "rrib.", XRC(31,537,1), X_MASK, M601, { RA, RS, RB } },
4137 { "srd", XRC(31,539,0), X_MASK, PPC64, { RA, RS, RB } },
4138 { "srd.", XRC(31,539,1), X_MASK, PPC64, { RA, RS, RB } },
4140 { "maskir", XRC(31,541,0), X_MASK, M601, { RA, RS, RB } },
4141 { "maskir.", XRC(31,541,1), X_MASK, M601, { RA, RS, RB } },
4143 { "lwbrxe", X(31,542), X_MASK, BOOKE64, { RT, RA0, RB } },
4145 { "lfsxe", X(31,543), X_MASK, BOOKE64, { FRT, RA0, RB } },
4147 { "bbelr", X(31,550), X_MASK, PPCBRLK, { 0 }},
4149 { "tlbsync", X(31,566), 0xffffffff, PPC, { 0 } },
4151 { "lfsux", X(31,567), X_MASK, COM, { FRT, RAS, RB } },
4153 { "lfsuxe", X(31,575), X_MASK, BOOKE64, { FRT, RAS, RB } },
4155 { "mfsr", X(31,595), XRB_MASK|(1<<20), COM32, { RT, SR } },
4157 { "lswi", X(31,597), X_MASK, PPCCOM, { RT, RA0, NB } },
4158 { "lsi", X(31,597), X_MASK, PWRCOM, { RT, RA0, NB } },
4160 { "lwsync", XSYNC(31,598,1), 0xffffffff, PPC, { 0 } },
4161 { "ptesync", XSYNC(31,598,2), 0xffffffff, PPC64, { 0 } },
4162 { "msync", X(31,598), 0xffffffff, BOOKE, { 0 } },
4163 { "sync", X(31,598), XSYNC_MASK, PPCCOM, { LS } },
4164 { "dcs", X(31,598), 0xffffffff, PWRCOM, { 0 } },
4166 { "lfdx", X(31,599), X_MASK, COM, { FRT, RA0, RB } },
4168 { "lfdxe", X(31,607), X_MASK, BOOKE64, { FRT, RA0, RB } },
4170 { "mffgpr", XRC(31,607,0), XRA_MASK, POWER6, { FRT, RB } },
4172 { "mfsri", X(31,627), X_MASK, PWRCOM, { RT, RA, RB } },
4174 { "dclst", X(31,630), XRB_MASK, PWRCOM, { RS, RA } },
4176 { "lfdux", X(31,631), X_MASK, COM, { FRT, RAS, RB } },
4178 { "lfduxe", X(31,639), X_MASK, BOOKE64, { FRT, RAS, RB } },
4180 { "mfsrin", X(31,659), XRA_MASK, PPC32, { RT, RB } },
4182 { "stdbrx", X(31,660), X_MASK, CELL, { RS, RA0, RB } },
4184 { "stswx", X(31,661), X_MASK, PPCCOM, { RS, RA0, RB } },
4185 { "stsx", X(31,661), X_MASK, PWRCOM, { RS, RA0, RB } },
4187 { "stwbrx", X(31,662), X_MASK, PPCCOM, { RS, RA0, RB } },
4188 { "stbrx", X(31,662), X_MASK, PWRCOM, { RS, RA0, RB } },
4190 { "stfsx", X(31,663), X_MASK, COM, { FRS, RA0, RB } },
4192 { "srq", XRC(31,664,0), X_MASK, M601, { RA, RS, RB } },
4193 { "srq.", XRC(31,664,1), X_MASK, M601, { RA, RS, RB } },
4195 { "sre", XRC(31,665,0), X_MASK, M601, { RA, RS, RB } },
4196 { "sre.", XRC(31,665,1), X_MASK, M601, { RA, RS, RB } },
4198 { "stwbrxe", X(31,670), X_MASK, BOOKE64, { RS, RA0, RB } },
4200 { "stfsxe", X(31,671), X_MASK, BOOKE64, { FRS, RA0, RB } },
4202 { "stfsux", X(31,695), X_MASK, COM, { FRS, RAS, RB } },
4204 { "sriq", XRC(31,696,0), X_MASK, M601, { RA, RS, SH } },
4205 { "sriq.", XRC(31,696,1), X_MASK, M601, { RA, RS, SH } },
4207 { "stfsuxe", X(31,703), X_MASK, BOOKE64, { FRS, RAS, RB } },
4209 { "stswi", X(31,725), X_MASK, PPCCOM, { RS, RA0, NB } },
4210 { "stsi", X(31,725), X_MASK, PWRCOM, { RS, RA0, NB } },
4212 { "stfdx", X(31,727), X_MASK, COM, { FRS, RA0, RB } },
4214 { "srlq", XRC(31,728,0), X_MASK, M601, { RA, RS, RB } },
4215 { "srlq.", XRC(31,728,1), X_MASK, M601, { RA, RS, RB } },
4217 { "sreq", XRC(31,729,0), X_MASK, M601, { RA, RS, RB } },
4218 { "sreq.", XRC(31,729,1), X_MASK, M601, { RA, RS, RB } },
4220 { "stfdxe", X(31,735), X_MASK, BOOKE64, { FRS, RA0, RB } },
4222 { "mftgpr", XRC(31,735,0), XRA_MASK, POWER6, { RT, FRB } },
4224 { "dcba", X(31,758), XRT_MASK, PPC405 | PPC7450 | BOOKE, { RA, RB } },
4226 { "stfdux", X(31,759), X_MASK, COM, { FRS, RAS, RB } },
4228 { "srliq", XRC(31,760,0), X_MASK, M601, { RA, RS, SH } },
4229 { "srliq.", XRC(31,760,1), X_MASK, M601, { RA, RS, SH } },
4231 { "dcbae", X(31,766), XRT_MASK, BOOKE64, { RA, RB } },
4233 { "stfduxe", X(31,767), X_MASK, BOOKE64, { FRS, RAS, RB } },
4235 { "tlbivax", X(31,786), XRT_MASK, BOOKE, { RA, RB } },
4236 { "tlbivaxe",X(31,787), XRT_MASK, BOOKE64, { RA, RB } },
4238 { "lwzcix", X(31,789), X_MASK, POWER6, { RT, RA0, RB } },
4240 { "lhbrx", X(31,790), X_MASK, COM, { RT, RA0, RB } },
4242 { "sraw", XRC(31,792,0), X_MASK, PPCCOM, { RA, RS, RB } },
4243 { "sra", XRC(31,792,0), X_MASK, PWRCOM, { RA, RS, RB } },
4244 { "sraw.", XRC(31,792,1), X_MASK, PPCCOM, { RA, RS, RB } },
4245 { "sra.", XRC(31,792,1), X_MASK, PWRCOM, { RA, RS, RB } },
4247 { "srad", XRC(31,794,0), X_MASK, PPC64, { RA, RS, RB } },
4248 { "srad.", XRC(31,794,1), X_MASK, PPC64, { RA, RS, RB } },
4250 { "lhbrxe", X(31,798), X_MASK, BOOKE64, { RT, RA0, RB } },
4252 { "ldxe", X(31,799), X_MASK, BOOKE64, { RT, RA0, RB } },
4253 { "lduxe", X(31,831), X_MASK, BOOKE64, { RT, RA0, RB } },
4255 { "rac", X(31,818), X_MASK, PWRCOM, { RT, RA, RB } },
4257 { "lhzcix", X(31,821), X_MASK, POWER6, { RT, RA0, RB } },
4259 { "dss", XDSS(31,822,0), XDSS_MASK, PPCVEC, { STRM } },
4260 { "dssall", XDSS(31,822,1), XDSS_MASK, PPCVEC, { 0 } },
4262 { "srawi", XRC(31,824,0), X_MASK, PPCCOM, { RA, RS, SH } },
4263 { "srai", XRC(31,824,0), X_MASK, PWRCOM, { RA, RS, SH } },
4264 { "srawi.", XRC(31,824,1), X_MASK, PPCCOM, { RA, RS, SH } },
4265 { "srai.", XRC(31,824,1), X_MASK, PWRCOM, { RA, RS, SH } },
4267 { "slbmfev", X(31,851), XRA_MASK, PPC64, { RT, RB } },
4269 { "lbzcix", X(31,853), X_MASK, POWER6, { RT, RA0, RB } },
4271 { "mbar", X(31,854), X_MASK, BOOKE, { MO } },
4272 { "eieio", X(31,854), 0xffffffff, PPC, { 0 } },
4274 { "lfiwax", X(31,855), X_MASK, POWER6, { FRT, RA0, RB } },
4276 { "ldcix", X(31,885), X_MASK, POWER6, { RT, RA0, RB } },
4278 { "tlbsx", XRC(31,914,0), X_MASK, PPC403|BOOKE, { RTO, RA, RB } },
4279 { "tlbsx.", XRC(31,914,1), X_MASK, PPC403|BOOKE, { RTO, RA, RB } },
4280 { "tlbsxe", XRC(31,915,0), X_MASK, BOOKE64, { RTO, RA, RB } },
4281 { "tlbsxe.", XRC(31,915,1), X_MASK, BOOKE64, { RTO, RA, RB } },
4283 { "slbmfee", X(31,915), XRA_MASK, PPC64, { RT, RB } },
4285 { "stwcix", X(31,917), X_MASK, POWER6, { RS, RA0, RB } },
4287 { "sthbrx", X(31,918), X_MASK, COM, { RS, RA0, RB } },
4289 { "sraq", XRC(31,920,0), X_MASK, M601, { RA, RS, RB } },
4290 { "sraq.", XRC(31,920,1), X_MASK, M601, { RA, RS, RB } },
4292 { "srea", XRC(31,921,0), X_MASK, M601, { RA, RS, RB } },
4293 { "srea.", XRC(31,921,1), X_MASK, M601, { RA, RS, RB } },
4295 { "extsh", XRC(31,922,0), XRB_MASK, PPCCOM, { RA, RS } },
4296 { "exts", XRC(31,922,0), XRB_MASK, PWRCOM, { RA, RS } },
4297 { "extsh.", XRC(31,922,1), XRB_MASK, PPCCOM, { RA, RS } },
4298 { "exts.", XRC(31,922,1), XRB_MASK, PWRCOM, { RA, RS } },
4300 { "sthbrxe", X(31,926), X_MASK, BOOKE64, { RS, RA0, RB } },
4302 { "stdxe", X(31,927), X_MASK, BOOKE64, { RS, RA0, RB } },
4304 { "tlbrehi", XTLB(31,946,0), XTLB_MASK, PPC403, { RT, RA } },
4305 { "tlbrelo", XTLB(31,946,1), XTLB_MASK, PPC403, { RT, RA } },
4306 { "tlbre", X(31,946), X_MASK, PPC403|BOOKE, { RSO, RAOPT, SHO } },
4308 { "sthcix", X(31,949), X_MASK, POWER6, { RS, RA0, RB } },
4310 { "sraiq", XRC(31,952,0), X_MASK, M601, { RA, RS, SH } },
4311 { "sraiq.", XRC(31,952,1), X_MASK, M601, { RA, RS, SH } },
4313 { "extsb", XRC(31,954,0), XRB_MASK, PPC, { RA, RS} },
4314 { "extsb.", XRC(31,954,1), XRB_MASK, PPC, { RA, RS} },
4316 { "stduxe", X(31,959), X_MASK, BOOKE64, { RS, RAS, RB } },
4318 { "iccci", X(31,966), XRT_MASK, PPC403|PPC440, { RA, RB } },
4320 { "tlbwehi", XTLB(31,978,0), XTLB_MASK, PPC403, { RT, RA } },
4321 { "tlbwelo", XTLB(31,978,1), XTLB_MASK, PPC403, { RT, RA } },
4322 { "tlbwe", X(31,978), X_MASK, PPC403|BOOKE, { RSO, RAOPT, SHO } },
4323 { "tlbld", X(31,978), XRTRA_MASK, PPC, { RB } },
4325 { "stbcix", X(31,981), X_MASK, POWER6, { RS, RA0, RB } },
4327 { "icbi", X(31,982), XRT_MASK, PPC, { RA, RB } },
4329 { "stfiwx", X(31,983), X_MASK, PPC, { FRS, RA0, RB } },
4331 { "extsw", XRC(31,986,0), XRB_MASK, PPC64 | BOOKE64,{ RA, RS } },
4332 { "extsw.", XRC(31,986,1), XRB_MASK, PPC64, { RA, RS } },
4334 { "icread", X(31,998), XRT_MASK, PPC403|PPC440, { RA, RB } },
4336 { "icbie", X(31,990), XRT_MASK, BOOKE64, { RA, RB } },
4337 { "stfiwxe", X(31,991), X_MASK, BOOKE64, { FRS, RA0, RB } },
4339 { "tlbli", X(31,1010), XRTRA_MASK, PPC, { RB } },
4341 { "stdcix", X(31,1013), X_MASK, POWER6, { RS, RA0, RB } },
4343 { "dcbzl", XOPL(31,1014,1), XRT_MASK,POWER4, { RA, RB } },
4344 { "dcbz", X(31,1014), XRT_MASK, PPC, { RA, RB } },
4345 { "dclz", X(31,1014), XRT_MASK, PPC, { RA, RB } },
4347 { "dcbze", X(31,1022), XRT_MASK, BOOKE64, { RA, RB } },
4349 { "lvebx", X(31, 7), X_MASK, PPCVEC, { VD, RA, RB } },
4350 { "lvehx", X(31, 39), X_MASK, PPCVEC, { VD, RA, RB } },
4351 { "lvewx", X(31, 71), X_MASK, PPCVEC, { VD, RA, RB } },
4352 { "lvsl", X(31, 6), X_MASK, PPCVEC, { VD, RA, RB } },
4353 { "lvsr", X(31, 38), X_MASK, PPCVEC, { VD, RA, RB } },
4354 { "lvx", X(31, 103), X_MASK, PPCVEC, { VD, RA, RB } },
4355 { "lvxl", X(31, 359), X_MASK, PPCVEC, { VD, RA, RB } },
4356 { "stvebx", X(31, 135), X_MASK, PPCVEC, { VS, RA, RB } },
4357 { "stvehx", X(31, 167), X_MASK, PPCVEC, { VS, RA, RB } },
4358 { "stvewx", X(31, 199), X_MASK, PPCVEC, { VS, RA, RB } },
4359 { "stvx", X(31, 231), X_MASK, PPCVEC, { VS, RA, RB } },
4360 { "stvxl", X(31, 487), X_MASK, PPCVEC, { VS, RA, RB } },
4362 /* New load/store left/right index vector instructions that are in the Cell only. */
4363 { "lvlx", X(31, 519), X_MASK, CELL, { VD, RA0, RB } },
4364 { "lvlxl", X(31, 775), X_MASK, CELL, { VD, RA0, RB } },
4365 { "lvrx", X(31, 551), X_MASK, CELL, { VD, RA0, RB } },
4366 { "lvrxl", X(31, 807), X_MASK, CELL, { VD, RA0, RB } },
4367 { "stvlx", X(31, 647), X_MASK, CELL, { VS, RA0, RB } },
4368 { "stvlxl", X(31, 903), X_MASK, CELL, { VS, RA0, RB } },
4369 { "stvrx", X(31, 679), X_MASK, CELL, { VS, RA0, RB } },
4370 { "stvrxl", X(31, 935), X_MASK, CELL, { VS, RA0, RB } },
4372 { "lwz", OP(32), OP_MASK, PPCCOM, { RT, D, RA0 } },
4373 { "l", OP(32), OP_MASK, PWRCOM, { RT, D, RA0 } },
4375 { "lwzu", OP(33), OP_MASK, PPCCOM, { RT, D, RAL } },
4376 { "lu", OP(33), OP_MASK, PWRCOM, { RT, D, RA0 } },
4378 { "lbz", OP(34), OP_MASK, COM, { RT, D, RA0 } },
4380 { "lbzu", OP(35), OP_MASK, COM, { RT, D, RAL } },
4382 { "stw", OP(36), OP_MASK, PPCCOM, { RS, D, RA0 } },
4383 { "st", OP(36), OP_MASK, PWRCOM, { RS, D, RA0 } },
4385 { "stwu", OP(37), OP_MASK, PPCCOM, { RS, D, RAS } },
4386 { "stu", OP(37), OP_MASK, PWRCOM, { RS, D, RA0 } },
4388 { "stb", OP(38), OP_MASK, COM, { RS, D, RA0 } },
4390 { "stbu", OP(39), OP_MASK, COM, { RS, D, RAS } },
4392 { "lhz", OP(40), OP_MASK, COM, { RT, D, RA0 } },
4394 { "lhzu", OP(41), OP_MASK, COM, { RT, D, RAL } },
4396 { "lha", OP(42), OP_MASK, COM, { RT, D, RA0 } },
4398 { "lhau", OP(43), OP_MASK, COM, { RT, D, RAL } },
4400 { "sth", OP(44), OP_MASK, COM, { RS, D, RA0 } },
4402 { "sthu", OP(45), OP_MASK, COM, { RS, D, RAS } },
4404 { "lmw", OP(46), OP_MASK, PPCCOM, { RT, D, RAM } },
4405 { "lm", OP(46), OP_MASK, PWRCOM, { RT, D, RA0 } },
4407 { "stmw", OP(47), OP_MASK, PPCCOM, { RS, D, RA0 } },
4408 { "stm", OP(47), OP_MASK, PWRCOM, { RS, D, RA0 } },
4410 { "lfs", OP(48), OP_MASK, COM, { FRT, D, RA0 } },
4412 { "lfsu", OP(49), OP_MASK, COM, { FRT, D, RAS } },
4414 { "lfd", OP(50), OP_MASK, COM, { FRT, D, RA0 } },
4416 { "lfdu", OP(51), OP_MASK, COM, { FRT, D, RAS } },
4418 { "stfs", OP(52), OP_MASK, COM, { FRS, D, RA0 } },
4420 { "stfsu", OP(53), OP_MASK, COM, { FRS, D, RAS } },
4422 { "stfd", OP(54), OP_MASK, COM, { FRS, D, RA0 } },
4424 { "stfdu", OP(55), OP_MASK, COM, { FRS, D, RAS } },
4426 { "lq", OP(56), OP_MASK, POWER4, { RTQ, DQ, RAQ } },
4428 { "lfq", OP(56), OP_MASK, POWER2, { FRT, D, RA0 } },
4430 { "psq_l", OP(56), OP_MASK, PPCPS, { FRT, PSD, RA, PSW, PSQ } },
4432 { "lfqu", OP(57), OP_MASK, POWER2, { FRT, D, RA0 } },
4434 { "psq_lu", OP(57), OP_MASK, PPCPS, { FRT, PSD, RA, PSW, PSQ } },
4436 { "lfdp", OP(57), OP_MASK, POWER6, { FRT, D, RA0 } },
4438 { "lbze", DEO(58,0), DE_MASK, BOOKE64, { RT, DE, RA0 } },
4439 { "lbzue", DEO(58,1), DE_MASK, BOOKE64, { RT, DE, RAL } },
4440 { "lhze", DEO(58,2), DE_MASK, BOOKE64, { RT, DE, RA0 } },
4441 { "lhzue", DEO(58,3), DE_MASK, BOOKE64, { RT, DE, RAL } },
4442 { "lhae", DEO(58,4), DE_MASK, BOOKE64, { RT, DE, RA0 } },
4443 { "lhaue", DEO(58,5), DE_MASK, BOOKE64, { RT, DE, RAL } },
4444 { "lwze", DEO(58,6), DE_MASK, BOOKE64, { RT, DE, RA0 } },
4445 { "lwzue", DEO(58,7), DE_MASK, BOOKE64, { RT, DE, RAL } },
4446 { "stbe", DEO(58,8), DE_MASK, BOOKE64, { RS, DE, RA0 } },
4447 { "stbue", DEO(58,9), DE_MASK, BOOKE64, { RS, DE, RAS } },
4448 { "sthe", DEO(58,10), DE_MASK, BOOKE64, { RS, DE, RA0 } },
4449 { "sthue", DEO(58,11), DE_MASK, BOOKE64, { RS, DE, RAS } },
4450 { "stwe", DEO(58,14), DE_MASK, BOOKE64, { RS, DE, RA0 } },
4451 { "stwue", DEO(58,15), DE_MASK, BOOKE64, { RS, DE, RAS } },
4453 { "ld", DSO(58,0), DS_MASK, PPC64, { RT, DS, RA0 } },
4455 { "ldu", DSO(58,1), DS_MASK, PPC64, { RT, DS, RAL } },
4457 { "lwa", DSO(58,2), DS_MASK, PPC64, { RT, DS, RA0 } },
4459 { "dadd", XRC(59,2,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4460 { "dadd.", XRC(59,2,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4462 { "dqua", ZRC(59,3,0), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4463 { "dqua.", ZRC(59,3,1), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4465 { "fdivs", A(59,18,0), AFRC_MASK, PPC, { FRT, FRA, FRB } },
4466 { "fdivs.", A(59,18,1), AFRC_MASK, PPC, { FRT, FRA, FRB } },
4468 { "fsubs", A(59,20,0), AFRC_MASK, PPC, { FRT, FRA, FRB } },
4469 { "fsubs.", A(59,20,1), AFRC_MASK, PPC, { FRT, FRA, FRB } },
4471 { "fadds", A(59,21,0), AFRC_MASK, PPC, { FRT, FRA, FRB } },
4472 { "fadds.", A(59,21,1), AFRC_MASK, PPC, { FRT, FRA, FRB } },
4474 { "fsqrts", A(59,22,0), AFRAFRC_MASK, PPC, { FRT, FRB } },
4475 { "fsqrts.", A(59,22,1), AFRAFRC_MASK, PPC, { FRT, FRB } },
4477 { "fres", A(59,24,0), AFRALFRC_MASK, PPC, { FRT, FRB, A_L } },
4478 { "fres.", A(59,24,1), AFRALFRC_MASK, PPC, { FRT, FRB, A_L } },
4480 { "fmuls", A(59,25,0), AFRB_MASK, PPC, { FRT, FRA, FRC } },
4481 { "fmuls.", A(59,25,1), AFRB_MASK, PPC, { FRT, FRA, FRC } },
4483 { "frsqrtes", A(59,26,0), AFRALFRC_MASK,POWER5, { FRT, FRB, A_L } },
4484 { "frsqrtes.",A(59,26,1), AFRALFRC_MASK,POWER5, { FRT, FRB, A_L } },
4486 { "fmsubs", A(59,28,0), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4487 { "fmsubs.", A(59,28,1), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4489 { "fmadds", A(59,29,0), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4490 { "fmadds.", A(59,29,1), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4492 { "fnmsubs", A(59,30,0), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4493 { "fnmsubs.",A(59,30,1), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4495 { "fnmadds", A(59,31,0), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4496 { "fnmadds.",A(59,31,1), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4498 { "psq_st", OP(60), OP_MASK, PPCPS, { FRS, PSD, RA, PSW, PSQ } },
4499 { "psq_stu", OP(61), OP_MASK, PPCPS, { FRS, PSD, RA, PSW, PSQ } },
4501 { "dmul", XRC(59,34,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4502 { "dmul.", XRC(59,34,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4504 { "drrnd", ZRC(59,35,0), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4505 { "drrnd.", ZRC(59,35,1), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4507 { "dscli", ZRC(59,66,0), Z_MASK, POWER6, { FRT, FRA, SH16 } },
4508 { "dscli.", ZRC(59,66,1), Z_MASK, POWER6, { FRT, FRA, SH16 } },
4510 { "dquai", ZRC(59,67,0), Z2_MASK, POWER6, { TE, FRT, FRB, RMC } },
4511 { "dquai.", ZRC(59,67,1), Z2_MASK, POWER6, { TE, FRT, FRB, RMC } },
4513 { "dscri", ZRC(59,98,0), Z_MASK, POWER6, { FRT, FRA, SH16 } },
4514 { "dscri.", ZRC(59,98,1), Z_MASK, POWER6, { FRT, FRA, SH16 } },
4516 { "drintx", ZRC(59,99,0), Z2_MASK, POWER6, { R, FRT, FRB, RMC } },
4517 { "drintx.", ZRC(59,99,1), Z2_MASK, POWER6, { R, FRT, FRB, RMC } },
4519 { "dcmpo", X(59,130), X_MASK, POWER6, { BF, FRA, FRB } },
4521 { "dtstex", X(59,162), X_MASK, POWER6, { BF, FRA, FRB } },
4522 { "dtstdc", Z(59,194), Z_MASK, POWER6, { BF, FRA, DCM } },
4523 { "dtstdg", Z(59,226), Z_MASK, POWER6, { BF, FRA, DGM } },
4525 { "drintn", ZRC(59,227,0), Z2_MASK, POWER6, { R, FRT, FRB, RMC } },
4526 { "drintn.", ZRC(59,227,1), Z2_MASK, POWER6, { R, FRT, FRB, RMC } },
4528 { "dctdp", XRC(59,258,0), X_MASK, POWER6, { FRT, FRB } },
4529 { "dctdp.", XRC(59,258,1), X_MASK, POWER6, { FRT, FRB } },
4531 { "dctfix", XRC(59,290,0), X_MASK, POWER6, { FRT, FRB } },
4532 { "dctfix.", XRC(59,290,1), X_MASK, POWER6, { FRT, FRB } },
4534 { "ddedpd", XRC(59,322,0), X_MASK, POWER6, { SP, FRT, FRB } },
4535 { "ddedpd.", XRC(59,322,1), X_MASK, POWER6, { SP, FRT, FRB } },
4537 { "dxex", XRC(59,354,0), X_MASK, POWER6, { FRT, FRB } },
4538 { "dxex.", XRC(59,354,1), X_MASK, POWER6, { FRT, FRB } },
4540 { "dsub", XRC(59,514,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4541 { "dsub.", XRC(59,514,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4543 { "ddiv", XRC(59,546,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4544 { "ddiv.", XRC(59,546,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4546 { "dcmpu", X(59,642), X_MASK, POWER6, { BF, FRA, FRB } },
4548 { "dtstsf", X(59,674), X_MASK, POWER6, { BF, FRA, FRB } },
4550 { "drsp", XRC(59,770,0), X_MASK, POWER6, { FRT, FRB } },
4551 { "drsp.", XRC(59,770,1), X_MASK, POWER6, { FRT, FRB } },
4553 { "dcffix", XRC(59,802,0), X_MASK, POWER6, { FRT, FRB } },
4554 { "dcffix.", XRC(59,802,1), X_MASK, POWER6, { FRT, FRB } },
4556 { "denbcd", XRC(59,834,0), X_MASK, POWER6, { S, FRT, FRB } },
4557 { "denbcd.", XRC(59,834,1), X_MASK, POWER6, { S, FRT, FRB } },
4559 { "diex", XRC(59,866,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4560 { "diex.", XRC(59,866,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4562 { "stfq", OP(60), OP_MASK, POWER2, { FRS, D, RA } },
4564 { "stfqu", OP(61), OP_MASK, POWER2, { FRS, D, RA } },
4566 { "stfdp", OP(61), OP_MASK, POWER6, { FRT, D, RA0 } },
4568 { "lde", DEO(62,0), DE_MASK, BOOKE64, { RT, DES, RA0 } },
4569 { "ldue", DEO(62,1), DE_MASK, BOOKE64, { RT, DES, RA0 } },
4570 { "lfse", DEO(62,4), DE_MASK, BOOKE64, { FRT, DES, RA0 } },
4571 { "lfsue", DEO(62,5), DE_MASK, BOOKE64, { FRT, DES, RAS } },
4572 { "lfde", DEO(62,6), DE_MASK, BOOKE64, { FRT, DES, RA0 } },
4573 { "lfdue", DEO(62,7), DE_MASK, BOOKE64, { FRT, DES, RAS } },
4574 { "stde", DEO(62,8), DE_MASK, BOOKE64, { RS, DES, RA0 } },
4575 { "stdue", DEO(62,9), DE_MASK, BOOKE64, { RS, DES, RAS } },
4576 { "stfse", DEO(62,12), DE_MASK, BOOKE64, { FRS, DES, RA0 } },
4577 { "stfsue", DEO(62,13), DE_MASK, BOOKE64, { FRS, DES, RAS } },
4578 { "stfde", DEO(62,14), DE_MASK, BOOKE64, { FRS, DES, RA0 } },
4579 { "stfdue", DEO(62,15), DE_MASK, BOOKE64, { FRS, DES, RAS } },
4581 { "std", DSO(62,0), DS_MASK, PPC64, { RS, DS, RA0 } },
4583 { "stdu", DSO(62,1), DS_MASK, PPC64, { RS, DS, RAS } },
4585 { "stq", DSO(62,2), DS_MASK, POWER4, { RSQ, DS, RA0 } },
4587 { "fcmpu", X(63,0), X_MASK|(3<<21), COM, { BF, FRA, FRB } },
4589 { "daddq", XRC(63,2,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4590 { "daddq.", XRC(63,2,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4592 { "dquaq", ZRC(63,3,0), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4593 { "dquaq.", ZRC(63,3,1), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4595 { "fcpsgn", XRC(63,8,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4596 { "fcpsgn.", XRC(63,8,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4598 { "frsp", XRC(63,12,0), XRA_MASK, COM, { FRT, FRB } },
4599 { "frsp.", XRC(63,12,1), XRA_MASK, COM, { FRT, FRB } },
4601 { "fctiw", XRC(63,14,0), XRA_MASK, PPCCOM, { FRT, FRB } },
4602 { "fcir", XRC(63,14,0), XRA_MASK, POWER2, { FRT, FRB } },
4603 { "fctiw.", XRC(63,14,1), XRA_MASK, PPCCOM, { FRT, FRB } },
4604 { "fcir.", XRC(63,14,1), XRA_MASK, POWER2, { FRT, FRB } },
4606 { "fctiwz", XRC(63,15,0), XRA_MASK, PPCCOM, { FRT, FRB } },
4607 { "fcirz", XRC(63,15,0), XRA_MASK, POWER2, { FRT, FRB } },
4608 { "fctiwz.", XRC(63,15,1), XRA_MASK, PPCCOM, { FRT, FRB } },
4609 { "fcirz.", XRC(63,15,1), XRA_MASK, POWER2, { FRT, FRB } },
4611 { "fdiv", A(63,18,0), AFRC_MASK, PPCCOM, { FRT, FRA, FRB } },
4612 { "fd", A(63,18,0), AFRC_MASK, PWRCOM, { FRT, FRA, FRB } },
4613 { "fdiv.", A(63,18,1), AFRC_MASK, PPCCOM, { FRT, FRA, FRB } },
4614 { "fd.", A(63,18,1), AFRC_MASK, PWRCOM, { FRT, FRA, FRB } },
4616 { "fsub", A(63,20,0), AFRC_MASK, PPCCOM, { FRT, FRA, FRB } },
4617 { "fs", A(63,20,0), AFRC_MASK, PWRCOM, { FRT, FRA, FRB } },
4618 { "fsub.", A(63,20,1), AFRC_MASK, PPCCOM, { FRT, FRA, FRB } },
4619 { "fs.", A(63,20,1), AFRC_MASK, PWRCOM, { FRT, FRA, FRB } },
4621 { "fadd", A(63,21,0), AFRC_MASK, PPCCOM, { FRT, FRA, FRB } },
4622 { "fa", A(63,21,0), AFRC_MASK, PWRCOM, { FRT, FRA, FRB } },
4623 { "fadd.", A(63,21,1), AFRC_MASK, PPCCOM, { FRT, FRA, FRB } },
4624 { "fa.", A(63,21,1), AFRC_MASK, PWRCOM, { FRT, FRA, FRB } },
4626 { "fsqrt", A(63,22,0), AFRAFRC_MASK, PPCPWR2, { FRT, FRB } },
4627 { "fsqrt.", A(63,22,1), AFRAFRC_MASK, PPCPWR2, { FRT, FRB } },
4629 { "fsel", A(63,23,0), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4630 { "fsel.", A(63,23,1), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4632 { "fre", A(63,24,0), AFRALFRC_MASK, POWER5, { FRT, FRB, A_L } },
4633 { "fre.", A(63,24,1), AFRALFRC_MASK, POWER5, { FRT, FRB, A_L } },
4635 { "fmul", A(63,25,0), AFRB_MASK, PPCCOM, { FRT, FRA, FRC } },
4636 { "fm", A(63,25,0), AFRB_MASK, PWRCOM, { FRT, FRA, FRC } },
4637 { "fmul.", A(63,25,1), AFRB_MASK, PPCCOM, { FRT, FRA, FRC } },
4638 { "fm.", A(63,25,1), AFRB_MASK, PWRCOM, { FRT, FRA, FRC } },
4640 { "frsqrte", A(63,26,0), AFRALFRC_MASK, PPC, { FRT, FRB, A_L } },
4641 { "frsqrte.",A(63,26,1), AFRALFRC_MASK, PPC, { FRT, FRB, A_L } },
4643 { "fmsub", A(63,28,0), A_MASK, PPCCOM, { FRT,FRA,FRC,FRB } },
4644 { "fms", A(63,28,0), A_MASK, PWRCOM, { FRT,FRA,FRC,FRB } },
4645 { "fmsub.", A(63,28,1), A_MASK, PPCCOM, { FRT,FRA,FRC,FRB } },
4646 { "fms.", A(63,28,1), A_MASK, PWRCOM, { FRT,FRA,FRC,FRB } },
4648 { "fmadd", A(63,29,0), A_MASK, PPCCOM, { FRT,FRA,FRC,FRB } },
4649 { "fma", A(63,29,0), A_MASK, PWRCOM, { FRT,FRA,FRC,FRB } },
4650 { "fmadd.", A(63,29,1), A_MASK, PPCCOM, { FRT,FRA,FRC,FRB } },
4651 { "fma.", A(63,29,1), A_MASK, PWRCOM, { FRT,FRA,FRC,FRB } },
4653 { "fnmsub", A(63,30,0), A_MASK, PPCCOM, { FRT,FRA,FRC,FRB } },
4654 { "fnms", A(63,30,0), A_MASK, PWRCOM, { FRT,FRA,FRC,FRB } },
4655 { "fnmsub.", A(63,30,1), A_MASK, PPCCOM, { FRT,FRA,FRC,FRB } },
4656 { "fnms.", A(63,30,1), A_MASK, PWRCOM, { FRT,FRA,FRC,FRB } },
4658 { "fnmadd", A(63,31,0), A_MASK, PPCCOM, { FRT,FRA,FRC,FRB } },
4659 { "fnma", A(63,31,0), A_MASK, PWRCOM, { FRT,FRA,FRC,FRB } },
4660 { "fnmadd.", A(63,31,1), A_MASK, PPCCOM, { FRT,FRA,FRC,FRB } },
4661 { "fnma.", A(63,31,1), A_MASK, PWRCOM, { FRT,FRA,FRC,FRB } },
4663 { "fcmpo", X(63,32), X_MASK|(3<<21), COM, { BF, FRA, FRB } },
4665 { "dmulq", XRC(63,34,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4666 { "dmulq.", XRC(63,34,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4668 { "drrndq", ZRC(63,35,0), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4669 { "drrndq.", ZRC(63,35,1), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4671 { "mtfsb1", XRC(63,38,0), XRARB_MASK, COM, { BT } },
4672 { "mtfsb1.", XRC(63,38,1), XRARB_MASK, COM, { BT } },
4674 { "fneg", XRC(63,40,0), XRA_MASK, COM, { FRT, FRB } },
4675 { "fneg.", XRC(63,40,1), XRA_MASK, COM, { FRT, FRB } },
4677 { "mcrfs", X(63,64), XRB_MASK|(3<<21)|(3<<16), COM, { BF, BFA } },
4679 { "dscliq", ZRC(63,66,0), Z_MASK, POWER6, { FRT, FRA, SH16 } },
4680 { "dscliq.", ZRC(63,66,1), Z_MASK, POWER6, { FRT, FRA, SH16 } },
4682 { "dquaiq", ZRC(63,67,0), Z2_MASK, POWER6, { TE, FRT, FRB, RMC } },
4683 { "dquaiq.", ZRC(63,67,1), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4685 { "mtfsb0", XRC(63,70,0), XRARB_MASK, COM, { BT } },
4686 { "mtfsb0.", XRC(63,70,1), XRARB_MASK, COM, { BT } },
4688 { "fmr", XRC(63,72,0), XRA_MASK, COM, { FRT, FRB } },
4689 { "fmr.", XRC(63,72,1), XRA_MASK, COM, { FRT, FRB } },
4691 { "dscriq", ZRC(63,98,0), Z_MASK, POWER6, { FRT, FRA, SH16 } },
4692 { "dscriq.", ZRC(63,98,1), Z_MASK, POWER6, { FRT, FRA, SH16 } },
4694 { "drintxq", ZRC(63,99,0), Z2_MASK, POWER6, { R, FRT, FRB, RMC } },
4695 { "drintxq.",ZRC(63,99,1), Z2_MASK, POWER6, { R, FRT, FRB, RMC } },
4697 { "dcmpoq", X(63,130), X_MASK, POWER6, { BF, FRA, FRB } },
4699 { "mtfsfi", XRC(63,134,0), XWRA_MASK|(3<<21)|(1<<11), COM, { BFF, U, W } },
4700 { "mtfsfi.", XRC(63,134,1), XWRA_MASK|(3<<21)|(1<<11), COM, { BFF, U, W } },
4702 { "fnabs", XRC(63,136,0), XRA_MASK, COM, { FRT, FRB } },
4703 { "fnabs.", XRC(63,136,1), XRA_MASK, COM, { FRT, FRB } },
4705 { "dtstexq", X(63,162), X_MASK, POWER6, { BF, FRA, FRB } },
4706 { "dtstdcq", Z(63,194), Z_MASK, POWER6, { BF, FRA, DCM } },
4707 { "dtstdgq", Z(63,226), Z_MASK, POWER6, { BF, FRA, DGM } },
4709 { "drintnq", ZRC(63,227,0), Z2_MASK, POWER6, { R, FRT, FRB, RMC } },
4710 { "drintnq.",ZRC(63,227,1), Z2_MASK, POWER6, { R, FRT, FRB, RMC } },
4712 { "dctqpq", XRC(63,258,0), X_MASK, POWER6, { FRT, FRB } },
4713 { "dctqpq.", XRC(63,258,1), X_MASK, POWER6, { FRT, FRB } },
4715 { "fabs", XRC(63,264,0), XRA_MASK, COM, { FRT, FRB } },
4716 { "fabs.", XRC(63,264,1), XRA_MASK, COM, { FRT, FRB } },
4718 { "dctfixq", XRC(63,290,0), X_MASK, POWER6, { FRT, FRB } },
4719 { "dctfixq.",XRC(63,290,1), X_MASK, POWER6, { FRT, FRB } },
4721 { "ddedpdq", XRC(63,322,0), X_MASK, POWER6, { SP, FRT, FRB } },
4722 { "ddedpdq.",XRC(63,322,1), X_MASK, POWER6, { SP, FRT, FRB } },
4724 { "dxexq", XRC(63,354,0), X_MASK, POWER6, { FRT, FRB } },
4725 { "dxexq.", XRC(63,354,1), X_MASK, POWER6, { FRT, FRB } },
4727 { "frin", XRC(63,392,0), XRA_MASK, POWER5, { FRT, FRB } },
4728 { "frin.", XRC(63,392,1), XRA_MASK, POWER5, { FRT, FRB } },
4729 { "friz", XRC(63,424,0), XRA_MASK, POWER5, { FRT, FRB } },
4730 { "friz.", XRC(63,424,1), XRA_MASK, POWER5, { FRT, FRB } },
4731 { "frip", XRC(63,456,0), XRA_MASK, POWER5, { FRT, FRB } },
4732 { "frip.", XRC(63,456,1), XRA_MASK, POWER5, { FRT, FRB } },
4733 { "frim", XRC(63,488,0), XRA_MASK, POWER5, { FRT, FRB } },
4734 { "frim.", XRC(63,488,1), XRA_MASK, POWER5, { FRT, FRB } },
4736 { "dsubq", XRC(63,514,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4737 { "dsubq.", XRC(63,514,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4739 { "ddivq", XRC(63,546,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4740 { "ddivq.", XRC(63,546,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4742 { "mffs", XRC(63,583,0), XRARB_MASK, COM, { FRT } },
4743 { "mffs.", XRC(63,583,1), XRARB_MASK, COM, { FRT } },
4745 { "dcmpuq", X(63,642), X_MASK, POWER6, { BF, FRA, FRB } },
4747 { "dtstsfq", X(63,674), X_MASK, POWER6, { BF, FRA, FRB } },
4749 { "mtfsf", XFL(63,711,0), XFL_MASK, COM, { FLM, FRB, XFL_L, W } },
4750 { "mtfsf.", XFL(63,711,1), XFL_MASK, COM, { FLM, FRB, XFL_L, W } },
4752 { "drdpq", XRC(63,770,0), X_MASK, POWER6, { FRT, FRB } },
4753 { "drdpq.", XRC(63,770,1), X_MASK, POWER6, { FRT, FRB } },
4755 { "dcffixq", XRC(63,802,0), X_MASK, POWER6, { FRT, FRB } },
4756 { "dcffixq.",XRC(63,802,1), X_MASK, POWER6, { FRT, FRB } },
4758 { "fctid", XRC(63,814,0), XRA_MASK, PPC64, { FRT, FRB } },
4759 { "fctid.", XRC(63,814,1), XRA_MASK, PPC64, { FRT, FRB } },
4761 { "fctidz", XRC(63,815,0), XRA_MASK, PPC64, { FRT, FRB } },
4762 { "fctidz.", XRC(63,815,1), XRA_MASK, PPC64, { FRT, FRB } },
4764 { "denbcdq", XRC(63,834,0), X_MASK, POWER6, { S, FRT, FRB } },
4765 { "denbcdq.",XRC(63,834,1), X_MASK, POWER6, { S, FRT, FRB } },
4767 { "fcfid", XRC(63,846,0), XRA_MASK, PPC64, { FRT, FRB } },
4768 { "fcfid.", XRC(63,846,1), XRA_MASK, PPC64, { FRT, FRB } },
4770 { "diexq", XRC(63,866,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4771 { "diexq.", XRC(63,866,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4775 const int powerpc_num_opcodes =
4776 sizeof (powerpc_opcodes) / sizeof (powerpc_opcodes[0]);
4778 /* The macro table. This is only used by the assembler. */
4780 /* The expressions of the form (-x ! 31) & (x | 31) have the value 0
4781 when x=0; 32-x when x is between 1 and 31; are negative if x is
4782 negative; and are 32 or more otherwise. This is what you want
4783 when, for instance, you are emulating a right shift by a
4784 rotate-left-and-mask, because the underlying instructions support
4785 shifts of size 0 but not shifts of size 32. By comparison, when
4786 extracting x bits from some word you want to use just 32-x, because
4787 the underlying instructions don't support extracting 0 bits but do
4788 support extracting the whole word (32 bits in this case). */
4790 const struct powerpc_macro powerpc_macros[] = {
4791 { "extldi", 4, PPC64, "rldicr %0,%1,%3,(%2)-1" },
4792 { "extldi.", 4, PPC64, "rldicr. %0,%1,%3,(%2)-1" },
4793 { "extrdi", 4, PPC64, "rldicl %0,%1,(%2)+(%3),64-(%2)" },
4794 { "extrdi.", 4, PPC64, "rldicl. %0,%1,(%2)+(%3),64-(%2)" },
4795 { "insrdi", 4, PPC64, "rldimi %0,%1,64-((%2)+(%3)),%3" },
4796 { "insrdi.", 4, PPC64, "rldimi. %0,%1,64-((%2)+(%3)),%3" },
4797 { "rotrdi", 3, PPC64, "rldicl %0,%1,(-(%2)!63)&((%2)|63),0" },
4798 { "rotrdi.", 3, PPC64, "rldicl. %0,%1,(-(%2)!63)&((%2)|63),0" },
4799 { "sldi", 3, PPC64, "rldicr %0,%1,%2,63-(%2)" },
4800 { "sldi.", 3, PPC64, "rldicr. %0,%1,%2,63-(%2)" },
4801 { "srdi", 3, PPC64, "rldicl %0,%1,(-(%2)!63)&((%2)|63),%2" },
4802 { "srdi.", 3, PPC64, "rldicl. %0,%1,(-(%2)!63)&((%2)|63),%2" },
4803 { "clrrdi", 3, PPC64, "rldicr %0,%1,0,63-(%2)" },
4804 { "clrrdi.", 3, PPC64, "rldicr. %0,%1,0,63-(%2)" },
4805 { "clrlsldi",4, PPC64, "rldic %0,%1,%3,(%2)-(%3)" },
4806 { "clrlsldi.",4, PPC64, "rldic. %0,%1,%3,(%2)-(%3)" },
4808 { "extlwi", 4, PPCCOM, "rlwinm %0,%1,%3,0,(%2)-1" },
4809 { "extlwi.", 4, PPCCOM, "rlwinm. %0,%1,%3,0,(%2)-1" },
4810 { "extrwi", 4, PPCCOM, "rlwinm %0,%1,((%2)+(%3))&((%2)+(%3)<>32),32-(%2),31" },
4811 { "extrwi.", 4, PPCCOM, "rlwinm. %0,%1,((%2)+(%3))&((%2)+(%3)<>32),32-(%2),31" },
4812 { "inslwi", 4, PPCCOM, "rlwimi %0,%1,(-(%3)!31)&((%3)|31),%3,(%2)+(%3)-1" },
4813 { "inslwi.", 4, PPCCOM, "rlwimi. %0,%1,(-(%3)!31)&((%3)|31),%3,(%2)+(%3)-1"},
4814 { "insrwi", 4, PPCCOM, "rlwimi %0,%1,32-((%2)+(%3)),%3,(%2)+(%3)-1" },
4815 { "insrwi.", 4, PPCCOM, "rlwimi. %0,%1,32-((%2)+(%3)),%3,(%2)+(%3)-1"},
4816 { "rotrwi", 3, PPCCOM, "rlwinm %0,%1,(-(%2)!31)&((%2)|31),0,31" },
4817 { "rotrwi.", 3, PPCCOM, "rlwinm. %0,%1,(-(%2)!31)&((%2)|31),0,31" },
4818 { "slwi", 3, PPCCOM, "rlwinm %0,%1,%2,0,31-(%2)" },
4819 { "sli", 3, PWRCOM, "rlinm %0,%1,%2,0,31-(%2)" },
4820 { "slwi.", 3, PPCCOM, "rlwinm. %0,%1,%2,0,31-(%2)" },
4821 { "sli.", 3, PWRCOM, "rlinm. %0,%1,%2,0,31-(%2)" },
4822 { "srwi", 3, PPCCOM, "rlwinm %0,%1,(-(%2)!31)&((%2)|31),%2,31" },
4823 { "sri", 3, PWRCOM, "rlinm %0,%1,(-(%2)!31)&((%2)|31),%2,31" },
4824 { "srwi.", 3, PPCCOM, "rlwinm. %0,%1,(-(%2)!31)&((%2)|31),%2,31" },
4825 { "sri.", 3, PWRCOM, "rlinm. %0,%1,(-(%2)!31)&((%2)|31),%2,31" },
4826 { "clrrwi", 3, PPCCOM, "rlwinm %0,%1,0,0,31-(%2)" },
4827 { "clrrwi.", 3, PPCCOM, "rlwinm. %0,%1,0,0,31-(%2)" },
4828 { "clrlslwi",4, PPCCOM, "rlwinm %0,%1,%3,(%2)-(%3),31-(%3)" },
4829 { "clrlslwi.",4, PPCCOM, "rlwinm. %0,%1,%3,(%2)-(%3),31-(%3)" },
4832 const int powerpc_num_macros =
4833 sizeof (powerpc_macros) / sizeof (powerpc_macros[0]);