1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21#include "qemu/osdep.h"
22#include "disas/bfd.h"
23#define BFD_DEFAULT_TARGET_SIZE 64
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48struct powerpc_opcode
49{
50
51 const char *name;
52
53
54
55 unsigned long opcode;
56
57
58
59
60
61 unsigned long mask;
62
63
64
65
66 unsigned long flags;
67
68
69
70
71 unsigned char operands[8];
72};
73
74
75
76
77extern const struct powerpc_opcode powerpc_opcodes[];
78extern const int powerpc_num_opcodes;
79
80
81
82
83#define PPC_OPCODE_PPC 1
84
85
86#define PPC_OPCODE_POWER 2
87
88
89#define PPC_OPCODE_POWER2 4
90
91
92#define PPC_OPCODE_32 8
93
94
95#define PPC_OPCODE_64 0x10
96
97
98
99
100#define PPC_OPCODE_601 0x20
101
102
103
104#define PPC_OPCODE_COMMON 0x40
105
106
107
108#define PPC_OPCODE_ANY 0x80
109
110
111#define PPC_OPCODE_64_BRIDGE 0x100
112
113
114#define PPC_OPCODE_ALTIVEC 0x200
115
116
117#define PPC_OPCODE_403 0x400
118
119
120#define PPC_OPCODE_BOOKE 0x800
121
122
123#define PPC_OPCODE_BOOKE64 0x1000
124
125
126#define PPC_OPCODE_440 0x2000
127
128
129#define PPC_OPCODE_POWER4 0x4000
130
131
132#define PPC_OPCODE_NOPOWER4 0x8000
133
134
135#define PPC_OPCODE_CLASSIC 0x10000
136
137
138#define PPC_OPCODE_SPE 0x20000
139
140
141#define PPC_OPCODE_ISEL 0x40000
142
143
144#define PPC_OPCODE_EFS 0x80000
145
146
147#define PPC_OPCODE_BRLOCK 0x100000
148
149
150#define PPC_OPCODE_PMR 0x200000
151
152
153#define PPC_OPCODE_CACHELCK 0x400000
154
155
156#define PPC_OPCODE_RFMCI 0x800000
157
158
159#define PPC_OPCODE_POWER5 0x1000000
160
161
162#define PPC_OPCODE_E300 0x2000000
163
164
165#define PPC_OPCODE_POWER6 0x4000000
166
167
168#define PPC_OPCODE_CELL 0x8000000
169
170
171#define PPC_OP(i) (((i) >> 26) & 0x3f)
172
173
174
175struct powerpc_operand
176{
177
178 unsigned int bitm;
179
180
181
182
183 int shift;
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200 unsigned long (*insert)
201 (unsigned long instruction, long op, int dialect, const char **errmsg);
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219 long (*extract) (unsigned long instruction, int dialect, int *invalid);
220
221
222 unsigned long flags;
223};
224
225
226
227
228extern const struct powerpc_operand powerpc_operands[];
229extern const unsigned int num_powerpc_operands;
230
231
232
233
234#define PPC_OPERAND_SIGNED (0x1)
235
236
237
238
239
240#define PPC_OPERAND_SIGNOPT (0x2)
241
242
243
244
245
246
247
248#define PPC_OPERAND_FAKE (0x4)
249
250
251
252
253
254
255#define PPC_OPERAND_PARENS (0x8)
256
257
258
259
260
261
262
263
264#define PPC_OPERAND_CR (0x10)
265
266
267
268#define PPC_OPERAND_GPR (0x20)
269
270
271#define PPC_OPERAND_GPR_0 (0x40)
272
273
274
275#define PPC_OPERAND_FPR (0x80)
276
277
278
279#define PPC_OPERAND_RELATIVE (0x100)
280
281
282
283#define PPC_OPERAND_ABSOLUTE (0x200)
284
285
286
287
288
289
290
291#define PPC_OPERAND_OPTIONAL (0x400)
292
293
294
295
296
297
298
299#define PPC_OPERAND_NEXT (0x800)
300
301
302
303
304
305
306#define PPC_OPERAND_NEGATIVE (0x1000)
307
308
309
310#define PPC_OPERAND_VR (0x2000)
311
312
313#define PPC_OPERAND_DS (0x4000)
314
315
316#define PPC_OPERAND_DQ (0x8000)
317
318
319#define PPC_OPERAND_PLUS1 (0x10000)
320
321
322
323
324
325struct powerpc_macro
326{
327
328 const char *name;
329
330
331 unsigned int operands;
332
333
334
335
336 unsigned long flags;
337
338
339
340
341 const char *format;
342};
343
344extern const struct powerpc_macro powerpc_macros[];
345extern const int powerpc_num_macros;
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381static unsigned long insert_bat (unsigned long, long, int, const char **);
382static long extract_bat (unsigned long, int, int *);
383static unsigned long insert_bba (unsigned long, long, int, const char **);
384static long extract_bba (unsigned long, int, int *);
385static unsigned long insert_bdm (unsigned long, long, int, const char **);
386static long extract_bdm (unsigned long, int, int *);
387static unsigned long insert_bdp (unsigned long, long, int, const char **);
388static long extract_bdp (unsigned long, int, int *);
389static unsigned long insert_bo (unsigned long, long, int, const char **);
390static long extract_bo (unsigned long, int, int *);
391static unsigned long insert_boe (unsigned long, long, int, const char **);
392static long extract_boe (unsigned long, int, int *);
393static unsigned long insert_fxm (unsigned long, long, int, const char **);
394static long extract_fxm (unsigned long, int, int *);
395static unsigned long insert_mbe (unsigned long, long, int, const char **);
396static long extract_mbe (unsigned long, int, int *);
397static unsigned long insert_mb6 (unsigned long, long, int, const char **);
398static long extract_mb6 (unsigned long, int, int *);
399static long extract_nb (unsigned long, int, int *);
400static unsigned long insert_nsi (unsigned long, long, int, const char **);
401static long extract_nsi (unsigned long, int, int *);
402static unsigned long insert_ral (unsigned long, long, int, const char **);
403static unsigned long insert_ram (unsigned long, long, int, const char **);
404static unsigned long insert_raq (unsigned long, long, int, const char **);
405static unsigned long insert_ras (unsigned long, long, int, const char **);
406static unsigned long insert_rbs (unsigned long, long, int, const char **);
407static long extract_rbs (unsigned long, int, int *);
408static unsigned long insert_sh6 (unsigned long, long, int, const char **);
409static long extract_sh6 (unsigned long, int, int *);
410static unsigned long insert_spr (unsigned long, long, int, const char **);
411static long extract_spr (unsigned long, int, int *);
412static unsigned long insert_sprg (unsigned long, long, int, const char **);
413static long extract_sprg (unsigned long, int, int *);
414static unsigned long insert_tbr (unsigned long, long, int, const char **);
415static long extract_tbr (unsigned long, int, int *);
416
417
418
419
420
421
422
423
424
425
426
427
428const struct powerpc_operand powerpc_operands[] =
429{
430
431
432#define UNUSED 0
433 { 0, 0, NULL, NULL, 0 },
434
435
436#define BA UNUSED + 1
437
438#define BI BA
439#define BI_MASK (0x1f << 16)
440 { 0x1f, 16, NULL, NULL, PPC_OPERAND_CR },
441
442
443
444#define BAT BA + 1
445 { 0x1f, 16, insert_bat, extract_bat, PPC_OPERAND_FAKE },
446
447
448#define BB BAT + 1
449#define BB_MASK (0x1f << 11)
450 { 0x1f, 11, NULL, NULL, PPC_OPERAND_CR },
451
452
453
454#define BBA BB + 1
455 { 0x1f, 11, insert_bba, extract_bba, PPC_OPERAND_FAKE },
456
457
458
459#define BD BBA + 1
460 { 0xfffc, 0, NULL, NULL, PPC_OPERAND_RELATIVE | PPC_OPERAND_SIGNED },
461
462
463
464#define BDA BD + 1
465 { 0xfffc, 0, NULL, NULL, PPC_OPERAND_ABSOLUTE | PPC_OPERAND_SIGNED },
466
467
468
469#define BDM BDA + 1
470 { 0xfffc, 0, insert_bdm, extract_bdm,
471 PPC_OPERAND_RELATIVE | PPC_OPERAND_SIGNED },
472
473
474
475#define BDMA BDM + 1
476 { 0xfffc, 0, insert_bdm, extract_bdm,
477 PPC_OPERAND_ABSOLUTE | PPC_OPERAND_SIGNED },
478
479
480
481#define BDP BDMA + 1
482 { 0xfffc, 0, insert_bdp, extract_bdp,
483 PPC_OPERAND_RELATIVE | PPC_OPERAND_SIGNED },
484
485
486
487#define BDPA BDP + 1
488 { 0xfffc, 0, insert_bdp, extract_bdp,
489 PPC_OPERAND_ABSOLUTE | PPC_OPERAND_SIGNED },
490
491
492#define BF BDPA + 1
493
494#define CRFD BF
495 { 0x7, 23, NULL, NULL, PPC_OPERAND_CR },
496
497
498#define BFF BF + 1
499 { 0x7, 23, NULL, NULL, 0 },
500
501
502
503#define OBF BFF + 1
504 { 0x7, 23, NULL, NULL, PPC_OPERAND_CR | PPC_OPERAND_OPTIONAL },
505
506
507#define BFA OBF + 1
508 { 0x7, 18, NULL, NULL, PPC_OPERAND_CR },
509
510
511
512#define BO BFA + 1
513#define BO_MASK (0x1f << 21)
514 { 0x1f, 21, insert_bo, extract_bo, 0 },
515
516
517
518#define BOE BO + 1
519 { 0x1e, 21, insert_boe, extract_boe, 0 },
520
521#define BH BOE + 1
522 { 0x3, 11, NULL, NULL, PPC_OPERAND_OPTIONAL },
523
524
525#define BT BH + 1
526 { 0x1f, 21, NULL, NULL, PPC_OPERAND_CR },
527
528
529
530
531
532#define CR BT + 1
533 { 0x7, 18, NULL, NULL, PPC_OPERAND_CR | PPC_OPERAND_OPTIONAL },
534
535
536#define CRB CR + 1
537
538#define MB CRB
539#define MB_MASK (0x1f << 6)
540 { 0x1f, 6, NULL, NULL, 0 },
541
542
543#define CRFS CRB + 1
544 { 0x7, 0, NULL, NULL, PPC_OPERAND_CR },
545
546
547#define CT CRFS + 1
548
549#define MO CT
550 { 0x1f, 21, NULL, NULL, PPC_OPERAND_OPTIONAL },
551
552
553
554
555#define D CT + 1
556 { 0xffff, 0, NULL, NULL, PPC_OPERAND_PARENS | PPC_OPERAND_SIGNED },
557
558
559
560#define DE D + 1
561 { 0xfff, 4, NULL, NULL, PPC_OPERAND_PARENS | PPC_OPERAND_SIGNED },
562
563
564
565#define DES DE + 1
566 { 0x3ffc, 2, NULL, NULL, PPC_OPERAND_PARENS | PPC_OPERAND_SIGNED },
567
568
569
570#define DQ DES + 1
571 { 0xfff0, 0, NULL, NULL,
572 PPC_OPERAND_PARENS | PPC_OPERAND_SIGNED | PPC_OPERAND_DQ },
573
574
575
576#undef DS
577#define DS DQ + 1
578 { 0xfffc, 0, NULL, NULL,
579 PPC_OPERAND_PARENS | PPC_OPERAND_SIGNED | PPC_OPERAND_DS },
580
581
582#define E DS + 1
583 { 0x1, 15, NULL, NULL, 0 },
584
585
586#define FL1 E + 1
587
588#define U FL1
589 { 0xf, 12, NULL, NULL, 0 },
590
591
592#define FL2 FL1 + 1
593 { 0x7, 2, NULL, NULL, 0 },
594
595
596#define FLM FL2 + 1
597 { 0xff, 17, NULL, NULL, 0 },
598
599
600#define FRA FLM + 1
601#define FRA_MASK (0x1f << 16)
602 { 0x1f, 16, NULL, NULL, PPC_OPERAND_FPR },
603
604
605#define FRB FRA + 1
606#define FRB_MASK (0x1f << 11)
607 { 0x1f, 11, NULL, NULL, PPC_OPERAND_FPR },
608
609
610#define FRC FRB + 1
611#define FRC_MASK (0x1f << 6)
612 { 0x1f, 6, NULL, NULL, PPC_OPERAND_FPR },
613
614
615
616#define FRS FRC + 1
617#define FRT FRS
618 { 0x1f, 21, NULL, NULL, PPC_OPERAND_FPR },
619
620
621#define FXM FRS + 1
622 { 0xff, 12, insert_fxm, extract_fxm, 0 },
623
624
625#define FXM4 FXM + 1
626 { 0xff, 12, insert_fxm, extract_fxm, PPC_OPERAND_OPTIONAL },
627
628
629#define L FXM4 + 1
630 { 0x1, 21, NULL, NULL, PPC_OPERAND_OPTIONAL },
631
632
633#define SVC_LEV L + 1
634 { 0x7f, 5, NULL, NULL, 0 },
635
636
637#define LEV SVC_LEV + 1
638 { 0x7f, 5, NULL, NULL, PPC_OPERAND_OPTIONAL },
639
640
641
642#define LI LEV + 1
643 { 0x3fffffc, 0, NULL, NULL, PPC_OPERAND_RELATIVE | PPC_OPERAND_SIGNED },
644
645
646
647#define LIA LI + 1
648 { 0x3fffffc, 0, NULL, NULL, PPC_OPERAND_ABSOLUTE | PPC_OPERAND_SIGNED },
649
650
651#define LS LIA + 1
652 { 0x3, 21, NULL, NULL, PPC_OPERAND_OPTIONAL },
653
654
655#define ME LS + 1
656#define ME_MASK (0x1f << 1)
657 { 0x1f, 1, NULL, NULL, 0 },
658
659
660
661
662
663#define MBE ME + 1
664 { 0x1f, 6, NULL, NULL, PPC_OPERAND_OPTIONAL | PPC_OPERAND_NEXT },
665 { -1, 0, insert_mbe, extract_mbe, 0 },
666
667
668
669#define MB6 MBE + 2
670#define ME6 MB6
671#define MB6_MASK (0x3f << 5)
672 { 0x3f, 5, insert_mb6, extract_mb6, 0 },
673
674
675
676#define NB MB6 + 1
677 { 0x1f, 11, NULL, extract_nb, PPC_OPERAND_PLUS1 },
678
679
680
681#define NSI NB + 1
682 { 0xffff, 0, insert_nsi, extract_nsi,
683 PPC_OPERAND_NEGATIVE | PPC_OPERAND_SIGNED },
684
685
686#define RA NSI + 1
687#define RA_MASK (0x1f << 16)
688 { 0x1f, 16, NULL, NULL, PPC_OPERAND_GPR },
689
690
691#define RA0 RA + 1
692 { 0x1f, 16, NULL, NULL, PPC_OPERAND_GPR_0 },
693
694
695
696#define RAQ RA0 + 1
697 { 0x1f, 16, insert_raq, NULL, PPC_OPERAND_GPR_0 },
698
699
700
701
702#define RAL RAQ + 1
703 { 0x1f, 16, insert_ral, NULL, PPC_OPERAND_GPR_0 },
704
705
706
707#define RAM RAL + 1
708 { 0x1f, 16, insert_ram, NULL, PPC_OPERAND_GPR_0 },
709
710
711
712
713#define RAS RAM + 1
714 { 0x1f, 16, insert_ras, NULL, PPC_OPERAND_GPR_0 },
715
716
717#define RAOPT RAS + 1
718 { 0x1f, 16, NULL, NULL, PPC_OPERAND_GPR | PPC_OPERAND_OPTIONAL },
719
720
721#define RB RAOPT + 1
722#define RB_MASK (0x1f << 11)
723 { 0x1f, 11, NULL, NULL, PPC_OPERAND_GPR },
724
725
726
727
728#define RBS RB + 1
729 { 0x1f, 11, insert_rbs, extract_rbs, PPC_OPERAND_FAKE },
730
731
732
733
734#define RS RBS + 1
735#define RT RS
736#define RT_MASK (0x1f << 21)
737 { 0x1f, 21, NULL, NULL, PPC_OPERAND_GPR },
738
739
740
741#define RSQ RS + 1
742#define RTQ RSQ
743 { 0x1e, 21, NULL, NULL, PPC_OPERAND_GPR_0 },
744
745
746#define RSO RSQ + 1
747#define RTO RSO
748 { 0x1f, 21, NULL, NULL, PPC_OPERAND_GPR | PPC_OPERAND_OPTIONAL },
749
750
751#define SH RSO + 1
752#define SH_MASK (0x1f << 11)
753
754#define EVUIMM SH
755 { 0x1f, 11, NULL, NULL, 0 },
756
757
758#define SH6 SH + 1
759#define SH6_MASK ((0x1f << 11) | (1 << 1))
760 { 0x3f, -1, insert_sh6, extract_sh6, 0 },
761
762
763#define SHO SH6 + 1
764 { 0x1f, 11, NULL, NULL, PPC_OPERAND_OPTIONAL },
765
766
767#define SI SHO + 1
768 { 0xffff, 0, NULL, NULL, PPC_OPERAND_SIGNED },
769
770
771
772#define SISIGNOPT SI + 1
773 { 0xffff, 0, NULL, NULL, PPC_OPERAND_SIGNED | PPC_OPERAND_SIGNOPT },
774
775
776
777#define SPR SISIGNOPT + 1
778#define PMR SPR
779#define SPR_MASK (0x3ff << 11)
780 { 0x3ff, 11, insert_spr, extract_spr, 0 },
781
782
783#define SPRBAT SPR + 1
784#define SPRBAT_MASK (0x3 << 17)
785 { 0x3, 17, NULL, NULL, 0 },
786
787
788#define SPRG SPRBAT + 1
789 { 0x1f, 16, insert_sprg, extract_sprg, 0 },
790
791
792#define SR SPRG + 1
793 { 0xf, 16, NULL, NULL, 0 },
794
795
796#define STRM SR + 1
797 { 0x3, 21, NULL, NULL, 0 },
798
799
800#define SV STRM + 1
801 { 0x3fff, 2, NULL, NULL, 0 },
802
803
804
805#define TBR SV + 1
806 { 0x3ff, 11, insert_tbr, extract_tbr, PPC_OPERAND_OPTIONAL },
807
808
809#define TO TBR + 1
810#define TO_MASK (0x1f << 21)
811 { 0x1f, 21, NULL, NULL, 0 },
812
813
814#define UI TO + 1
815 { 0xffff, 0, NULL, NULL, 0 },
816
817
818#define VA UI + 1
819 { 0x1f, 16, NULL, NULL, PPC_OPERAND_VR },
820
821
822#define VB VA + 1
823 { 0x1f, 11, NULL, NULL, PPC_OPERAND_VR },
824
825
826#define VC VB + 1
827 { 0x1f, 6, NULL, NULL, PPC_OPERAND_VR },
828
829
830#define VD VC + 1
831#define VS VD
832 { 0x1f, 21, NULL, NULL, PPC_OPERAND_VR },
833
834
835#define SIMM VD + 1
836 { 0x1f, 16, NULL, NULL, PPC_OPERAND_SIGNED},
837
838
839#define UIMM SIMM + 1
840#define TE UIMM
841 { 0x1f, 16, NULL, NULL, 0 },
842
843
844#define SHB UIMM + 1
845 { 0xf, 6, NULL, NULL, 0 },
846
847
848#define EVUIMM_2 SHB + 1
849 { 0x3e, 10, NULL, NULL, PPC_OPERAND_PARENS },
850
851
852#define EVUIMM_4 EVUIMM_2 + 1
853 { 0x7c, 9, NULL, NULL, PPC_OPERAND_PARENS },
854
855
856#define EVUIMM_8 EVUIMM_4 + 1
857 { 0xf8, 8, NULL, NULL, PPC_OPERAND_PARENS },
858
859
860#define WS EVUIMM_8 + 1
861 { 0x7, 11, NULL, NULL, 0 },
862
863
864#define A_L WS + 1
865#define W A_L
866 { 0x1, 16, NULL, NULL, PPC_OPERAND_OPTIONAL },
867
868#define RMC A_L + 1
869 { 0x3, 9, NULL, NULL, 0 },
870
871#define R RMC + 1
872 { 0x1, 16, NULL, NULL, 0 },
873
874#define SP R + 1
875 { 0x3, 19, NULL, NULL, 0 },
876
877#define S SP + 1
878 { 0x1, 20, NULL, NULL, 0 },
879
880
881#define SH16 S + 1
882
883#define DCM SH16
884#define DGM DCM
885 { 0x3f, 10, NULL, NULL, 0 },
886
887
888#define EH SH16 + 1
889 { 0x1, 0, NULL, NULL, PPC_OPERAND_OPTIONAL },
890
891
892#define XFL_L EH + 1
893 { 0x1, 25, NULL, NULL, PPC_OPERAND_OPTIONAL},
894};
895
896const unsigned int num_powerpc_operands = (sizeof (powerpc_operands)
897 / sizeof (powerpc_operands[0]));
898
899
900
901
902
903
904
905
906
907static unsigned long
908insert_bat (unsigned long insn,
909 long value ATTRIBUTE_UNUSED,
910 int dialect ATTRIBUTE_UNUSED,
911 const char **errmsg ATTRIBUTE_UNUSED)
912{
913 return insn | (((insn >> 21) & 0x1f) << 16);
914}
915
916static long
917extract_bat (unsigned long insn,
918 int dialect ATTRIBUTE_UNUSED,
919 int *invalid)
920{
921 if (((insn >> 21) & 0x1f) != ((insn >> 16) & 0x1f))
922 *invalid = 1;
923 return 0;
924}
925
926
927
928
929
930
931
932static unsigned long
933insert_bba (unsigned long insn,
934 long value ATTRIBUTE_UNUSED,
935 int dialect ATTRIBUTE_UNUSED,
936 const char **errmsg ATTRIBUTE_UNUSED)
937{
938 return insn | (((insn >> 16) & 0x1f) << 11);
939}
940
941static long
942extract_bba (unsigned long insn,
943 int dialect ATTRIBUTE_UNUSED,
944 int *invalid)
945{
946 if (((insn >> 16) & 0x1f) != ((insn >> 11) & 0x1f))
947 *invalid = 1;
948 return 0;
949}
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968static unsigned long
969insert_bdm (unsigned long insn,
970 long value,
971 int dialect,
972 const char **errmsg ATTRIBUTE_UNUSED)
973{
974 if ((dialect & PPC_OPCODE_POWER4) == 0)
975 {
976 if ((value & 0x8000) != 0)
977 insn |= 1 << 21;
978 }
979 else
980 {
981 if ((insn & (0x14 << 21)) == (0x04 << 21))
982 insn |= 0x02 << 21;
983 else if ((insn & (0x14 << 21)) == (0x10 << 21))
984 insn |= 0x08 << 21;
985 }
986 return insn | (value & 0xfffc);
987}
988
989static long
990extract_bdm (unsigned long insn,
991 int dialect,
992 int *invalid)
993{
994 if ((dialect & PPC_OPCODE_POWER4) == 0)
995 {
996 if (((insn & (1 << 21)) == 0) != ((insn & (1 << 15)) == 0))
997 *invalid = 1;
998 }
999 else
1000 {
1001 if ((insn & (0x17 << 21)) != (0x06 << 21)
1002 && (insn & (0x1d << 21)) != (0x18 << 21))
1003 *invalid = 1;
1004 }
1005
1006 return ((insn & 0xfffc) ^ 0x8000) - 0x8000;
1007}
1008
1009
1010
1011
1012
1013static unsigned long
1014insert_bdp (unsigned long insn,
1015 long value,
1016 int dialect,
1017 const char **errmsg ATTRIBUTE_UNUSED)
1018{
1019 if ((dialect & PPC_OPCODE_POWER4) == 0)
1020 {
1021 if ((value & 0x8000) == 0)
1022 insn |= 1 << 21;
1023 }
1024 else
1025 {
1026 if ((insn & (0x14 << 21)) == (0x04 << 21))
1027 insn |= 0x03 << 21;
1028 else if ((insn & (0x14 << 21)) == (0x10 << 21))
1029 insn |= 0x09 << 21;
1030 }
1031 return insn | (value & 0xfffc);
1032}
1033
1034static long
1035extract_bdp (unsigned long insn,
1036 int dialect,
1037 int *invalid)
1038{
1039 if ((dialect & PPC_OPCODE_POWER4) == 0)
1040 {
1041 if (((insn & (1 << 21)) == 0) == ((insn & (1 << 15)) == 0))
1042 *invalid = 1;
1043 }
1044 else
1045 {
1046 if ((insn & (0x17 << 21)) != (0x07 << 21)
1047 && (insn & (0x1d << 21)) != (0x19 << 21))
1048 *invalid = 1;
1049 }
1050
1051 return ((insn & 0xfffc) ^ 0x8000) - 0x8000;
1052}
1053
1054
1055
1056static int
1057valid_bo (long value, int dialect, int extract)
1058{
1059 if ((dialect & PPC_OPCODE_POWER4) == 0)
1060 {
1061 int valid;
1062
1063
1064
1065
1066
1067
1068
1069
1070 switch (value & 0x14)
1071 {
1072 default:
1073 case 0:
1074 valid = 1;
1075 break;
1076 case 0x4:
1077 valid = (value & 0x2) == 0;
1078 break;
1079 case 0x10:
1080 valid = (value & 0x8) == 0;
1081 break;
1082 case 0x14:
1083 valid = value == 0x14;
1084 break;
1085 }
1086
1087 if (valid
1088 || (dialect & PPC_OPCODE_ANY) == 0
1089 || !extract)
1090 return valid;
1091 }
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105 if ((value & 0x14) == 0)
1106 return (value & 0x1) == 0;
1107 else if ((value & 0x14) == 0x14)
1108 return value == 0x14;
1109 else
1110 return 1;
1111}
1112
1113
1114
1115
1116static unsigned long
1117insert_bo (unsigned long insn,
1118 long value,
1119 int dialect,
1120 const char **errmsg)
1121{
1122 if (!valid_bo (value, dialect, 0))
1123 *errmsg = "invalid conditional option";
1124 return insn | ((value & 0x1f) << 21);
1125}
1126
1127static long
1128extract_bo (unsigned long insn,
1129 int dialect,
1130 int *invalid)
1131{
1132 long value;
1133
1134 value = (insn >> 21) & 0x1f;
1135 if (!valid_bo (value, dialect, 1))
1136 *invalid = 1;
1137 return value;
1138}
1139
1140
1141
1142
1143
1144static unsigned long
1145insert_boe (unsigned long insn,
1146 long value,
1147 int dialect,
1148 const char **errmsg)
1149{
1150 if (!valid_bo (value, dialect, 0))
1151 *errmsg = "invalid conditional option";
1152 else if ((value & 1) != 0)
1153 *errmsg = "attempt to set y bit when using + or - modifier";
1154
1155 return insn | ((value & 0x1f) << 21);
1156}
1157
1158static long
1159extract_boe (unsigned long insn,
1160 int dialect,
1161 int *invalid)
1162{
1163 long value;
1164
1165 value = (insn >> 21) & 0x1f;
1166 if (!valid_bo (value, dialect, 1))
1167 *invalid = 1;
1168 return value & 0x1e;
1169}
1170
1171
1172
1173static unsigned long
1174insert_fxm (unsigned long insn,
1175 long value,
1176 int dialect,
1177 const char **errmsg)
1178{
1179
1180
1181 if ((insn & (1 << 20)) != 0)
1182 {
1183 if (value == 0 || (value & -value) != value)
1184 {
1185 *errmsg = "invalid mask field";
1186 value = 0;
1187 }
1188 }
1189
1190
1191
1192
1193
1194 else if (value == 0)
1195 ;
1196
1197
1198
1199
1200
1201
1202 else if ((value & -value) == value
1203 && ((dialect & PPC_OPCODE_POWER4) != 0
1204 || ((dialect & PPC_OPCODE_ANY) != 0
1205 && (insn & (0x3ff << 1)) == 19 << 1)))
1206 insn |= 1 << 20;
1207
1208
1209 else if ((insn & (0x3ff << 1)) == 19 << 1)
1210 {
1211 *errmsg = "ignoring invalid mfcr mask";
1212 value = 0;
1213 }
1214
1215 return insn | ((value & 0xff) << 12);
1216}
1217
1218static long
1219extract_fxm (unsigned long insn,
1220 int dialect ATTRIBUTE_UNUSED,
1221 int *invalid)
1222{
1223 long mask = (insn >> 12) & 0xff;
1224
1225
1226 if ((insn & (1 << 20)) != 0)
1227 {
1228
1229 if (mask == 0 || (mask & -mask) != mask)
1230 *invalid = 1;
1231 }
1232
1233
1234 else if ((insn & (0x3ff << 1)) == 19 << 1)
1235 {
1236 if (mask != 0)
1237 *invalid = 1;
1238 }
1239
1240 return mask;
1241}
1242
1243
1244
1245
1246
1247
1248static unsigned long
1249insert_mbe (unsigned long insn,
1250 long value,
1251 int dialect ATTRIBUTE_UNUSED,
1252 const char **errmsg)
1253{
1254 unsigned long uval, mask;
1255 int mb, me, mx, count, last;
1256
1257 uval = value;
1258
1259 if (uval == 0)
1260 {
1261 *errmsg = "illegal bitmask";
1262 return insn;
1263 }
1264
1265 mb = 0;
1266 me = 32;
1267 if ((uval & 1) != 0)
1268 last = 1;
1269 else
1270 last = 0;
1271 count = 0;
1272
1273
1274
1275
1276
1277 for (mx = 0, mask = 1L << 31; mx < 32; ++mx, mask >>= 1)
1278 {
1279 if ((uval & mask) && !last)
1280 {
1281 ++count;
1282 mb = mx;
1283 last = 1;
1284 }
1285 else if (!(uval & mask) && last)
1286 {
1287 ++count;
1288 me = mx;
1289 last = 0;
1290 }
1291 }
1292 if (me == 0)
1293 me = 32;
1294
1295 if (count != 2 && (count != 0 || ! last))
1296 *errmsg = "illegal bitmask";
1297
1298 return insn | (mb << 6) | ((me - 1) << 1);
1299}
1300
1301static long
1302extract_mbe (unsigned long insn,
1303 int dialect ATTRIBUTE_UNUSED,
1304 int *invalid)
1305{
1306 long ret;
1307 int mb, me;
1308 int i;
1309
1310 *invalid = 1;
1311
1312 mb = (insn >> 6) & 0x1f;
1313 me = (insn >> 1) & 0x1f;
1314 if (mb < me + 1)
1315 {
1316 ret = 0;
1317 for (i = mb; i <= me; i++)
1318 ret |= 1L << (31 - i);
1319 }
1320 else if (mb == me + 1)
1321 ret = ~0;
1322 else
1323 {
1324 ret = ~0;
1325 for (i = me + 1; i < mb; i++)
1326 ret &= ~(1L << (31 - i));
1327 }
1328 return ret;
1329}
1330
1331
1332
1333
1334static unsigned long
1335insert_mb6 (unsigned long insn,
1336 long value,
1337 int dialect ATTRIBUTE_UNUSED,
1338 const char **errmsg ATTRIBUTE_UNUSED)
1339{
1340 return insn | ((value & 0x1f) << 6) | (value & 0x20);
1341}
1342
1343static long
1344extract_mb6 (unsigned long insn,
1345 int dialect ATTRIBUTE_UNUSED,
1346 int *invalid ATTRIBUTE_UNUSED)
1347{
1348 return ((insn >> 6) & 0x1f) | (insn & 0x20);
1349}
1350
1351
1352
1353
1354static long
1355extract_nb (unsigned long insn,
1356 int dialect ATTRIBUTE_UNUSED,
1357 int *invalid ATTRIBUTE_UNUSED)
1358{
1359 long ret;
1360
1361 ret = (insn >> 11) & 0x1f;
1362 if (ret == 0)
1363 ret = 32;
1364 return ret;
1365}
1366
1367
1368
1369
1370
1371
1372static unsigned long
1373insert_nsi (unsigned long insn,
1374 long value,
1375 int dialect ATTRIBUTE_UNUSED,
1376 const char **errmsg ATTRIBUTE_UNUSED)
1377{
1378 return insn | (-value & 0xffff);
1379}
1380
1381static long
1382extract_nsi (unsigned long insn,
1383 int dialect ATTRIBUTE_UNUSED,
1384 int *invalid)
1385{
1386 *invalid = 1;
1387 return -(((insn & 0xffff) ^ 0x8000) - 0x8000);
1388}
1389
1390
1391
1392
1393
1394static unsigned long
1395insert_ral (unsigned long insn,
1396 long value,
1397 int dialect ATTRIBUTE_UNUSED,
1398 const char **errmsg)
1399{
1400 if (value == 0
1401 || (unsigned long) value == ((insn >> 21) & 0x1f))
1402 *errmsg = "invalid register operand when updating";
1403 return insn | ((value & 0x1f) << 16);
1404}
1405
1406
1407
1408
1409static unsigned long
1410insert_ram (unsigned long insn,
1411 long value,
1412 int dialect ATTRIBUTE_UNUSED,
1413 const char **errmsg)
1414{
1415 if ((unsigned long) value >= ((insn >> 21) & 0x1f))
1416 *errmsg = "index register in load range";
1417 return insn | ((value & 0x1f) << 16);
1418}
1419
1420
1421
1422
1423static unsigned long
1424insert_raq (unsigned long insn,
1425 long value,
1426 int dialect ATTRIBUTE_UNUSED,
1427 const char **errmsg)
1428{
1429 long rtvalue = (insn & RT_MASK) >> 21;
1430
1431 if (value == rtvalue)
1432 *errmsg = "source and target register operands must be different";
1433 return insn | ((value & 0x1f) << 16);
1434}
1435
1436
1437
1438
1439
1440static unsigned long
1441insert_ras (unsigned long insn,
1442 long value,
1443 int dialect ATTRIBUTE_UNUSED,
1444 const char **errmsg)
1445{
1446 if (value == 0)
1447 *errmsg = "invalid register operand when updating";
1448 return insn | ((value & 0x1f) << 16);
1449}
1450
1451
1452
1453
1454
1455
1456
1457static unsigned long
1458insert_rbs (unsigned long insn,
1459 long value ATTRIBUTE_UNUSED,
1460 int dialect ATTRIBUTE_UNUSED,
1461 const char **errmsg ATTRIBUTE_UNUSED)
1462{
1463 return insn | (((insn >> 21) & 0x1f) << 11);
1464}
1465
1466static long
1467extract_rbs (unsigned long insn,
1468 int dialect ATTRIBUTE_UNUSED,
1469 int *invalid)
1470{
1471 if (((insn >> 21) & 0x1f) != ((insn >> 11) & 0x1f))
1472 *invalid = 1;
1473 return 0;
1474}
1475
1476
1477
1478static unsigned long
1479insert_sh6 (unsigned long insn,
1480 long value,
1481 int dialect ATTRIBUTE_UNUSED,
1482 const char **errmsg ATTRIBUTE_UNUSED)
1483{
1484 return insn | ((value & 0x1f) << 11) | ((value & 0x20) >> 4);
1485}
1486
1487static long
1488extract_sh6 (unsigned long insn,
1489 int dialect ATTRIBUTE_UNUSED,
1490 int *invalid ATTRIBUTE_UNUSED)
1491{
1492 return ((insn >> 11) & 0x1f) | ((insn << 4) & 0x20);
1493}
1494
1495
1496
1497
1498static unsigned long
1499insert_spr (unsigned long insn,
1500 long value,
1501 int dialect ATTRIBUTE_UNUSED,
1502 const char **errmsg ATTRIBUTE_UNUSED)
1503{
1504 return insn | ((value & 0x1f) << 16) | ((value & 0x3e0) << 6);
1505}
1506
1507static long
1508extract_spr (unsigned long insn,
1509 int dialect ATTRIBUTE_UNUSED,
1510 int *invalid ATTRIBUTE_UNUSED)
1511{
1512 return ((insn >> 16) & 0x1f) | ((insn >> 6) & 0x3e0);
1513}
1514
1515
1516
1517static unsigned long
1518insert_sprg (unsigned long insn,
1519 long value,
1520 int dialect,
1521 const char **errmsg)
1522{
1523
1524
1525
1526 if (value > 7
1527 || (value > 3
1528 && (dialect & (PPC_OPCODE_BOOKE | PPC_OPCODE_403)) == 0))
1529 *errmsg = "invalid sprg number";
1530
1531
1532
1533 if (value <= 3 || (insn & 0x100) != 0)
1534 value |= 0x10;
1535
1536 return insn | ((value & 0x17) << 16);
1537}
1538
1539static long
1540extract_sprg (unsigned long insn,
1541 int dialect,
1542 int *invalid)
1543{
1544 unsigned long val = (insn >> 16) & 0x1f;
1545
1546
1547
1548 if (val <= 3
1549 || (val < 0x10 && (insn & 0x100) != 0)
1550 || (val - 0x10 > 3
1551 && (dialect & (PPC_OPCODE_BOOKE | PPC_OPCODE_403)) == 0))
1552 *invalid = 1;
1553 return val & 7;
1554}
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564#define TB (268)
1565
1566static unsigned long
1567insert_tbr (unsigned long insn,
1568 long value,
1569 int dialect ATTRIBUTE_UNUSED,
1570 const char **errmsg ATTRIBUTE_UNUSED)
1571{
1572 if (value == 0)
1573 value = TB;
1574 return insn | ((value & 0x1f) << 16) | ((value & 0x3e0) << 6);
1575}
1576
1577static long
1578extract_tbr (unsigned long insn,
1579 int dialect ATTRIBUTE_UNUSED,
1580 int *invalid ATTRIBUTE_UNUSED)
1581{
1582 long ret;
1583
1584 ret = ((insn >> 16) & 0x1f) | ((insn >> 6) & 0x3e0);
1585 if (ret == TB)
1586 ret = 0;
1587 return ret;
1588}
1589
1590
1591
1592
1593#define OP(x) ((((unsigned long)(x)) & 0x3f) << 26)
1594#define OP_MASK OP (0x3f)
1595
1596
1597
1598
1599#define OPTO(x,to) (OP (x) | ((((unsigned long)(to)) & 0x1f) << 21))
1600#define OPTO_MASK (OP_MASK | TO_MASK)
1601
1602
1603
1604
1605#define OPL(x,l) (OP (x) | ((((unsigned long)(l)) & 1) << 21))
1606#define OPL_MASK OPL (0x3f,1)
1607
1608
1609#define A(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x1f) << 1) | (((unsigned long)(rc)) & 1))
1610#define A_MASK A (0x3f, 0x1f, 1)
1611
1612
1613#define AFRB_MASK (A_MASK | FRB_MASK)
1614
1615
1616#define AFRC_MASK (A_MASK | FRC_MASK)
1617
1618
1619#define AFRAFRC_MASK (A_MASK | FRA_MASK | FRC_MASK)
1620
1621
1622#define AFRALFRC_MASK (AFRAFRC_MASK & ~((unsigned long) 1 << 16))
1623
1624
1625#define B(op, aa, lk) (OP (op) | ((((unsigned long)(aa)) & 1) << 1) | ((lk) & 1))
1626#define B_MASK B (0x3f, 1, 1)
1627
1628
1629#define BBO(op, bo, aa, lk) (B ((op), (aa), (lk)) | ((((unsigned long)(bo)) & 0x1f) << 21))
1630#define BBO_MASK BBO (0x3f, 0x1f, 1, 1)
1631
1632
1633
1634
1635#define Y_MASK (((unsigned long) 1) << 21)
1636#define AT1_MASK (((unsigned long) 3) << 21)
1637#define AT2_MASK (((unsigned long) 9) << 21)
1638#define BBOY_MASK (BBO_MASK &~ Y_MASK)
1639#define BBOAT_MASK (BBO_MASK &~ AT1_MASK)
1640
1641
1642
1643#define BBOCB(op, bo, cb, aa, lk) \
1644 (BBO ((op), (bo), (aa), (lk)) | ((((unsigned long)(cb)) & 0x3) << 16))
1645#define BBOCB_MASK BBOCB (0x3f, 0x1f, 0x3, 1, 1)
1646
1647
1648#define BBOYCB_MASK (BBOCB_MASK &~ Y_MASK)
1649#define BBOATCB_MASK (BBOCB_MASK &~ AT1_MASK)
1650#define BBOAT2CB_MASK (BBOCB_MASK &~ AT2_MASK)
1651
1652
1653#define BBOYBI_MASK (BBOYCB_MASK | BI_MASK)
1654#define BBOATBI_MASK (BBOAT2CB_MASK | BI_MASK)
1655
1656
1657#define CTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7))
1658#define CTX_MASK CTX(0x3f, 0x7)
1659
1660
1661#define UCTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x1f))
1662#define UCTX_MASK UCTX(0x3f, 0x1f)
1663
1664
1665#define DRA_MASK (OP_MASK | RA_MASK)
1666
1667
1668#define DSO(op, xop) (OP (op) | ((xop) & 0x3))
1669#define DS_MASK DSO (0x3f, 3)
1670
1671
1672#define DEO(op, xop) (OP (op) | ((xop) & 0xf))
1673#define DE_MASK DEO (0x3e, 0xf)
1674
1675
1676#define EVSEL(op, xop) (OP (op) | (((unsigned long)(xop)) & 0xff) << 3)
1677#define EVSEL_MASK EVSEL(0x3f, 0xff)
1678
1679
1680#define M(op, rc) (OP (op) | ((rc) & 1))
1681#define M_MASK M (0x3f, 1)
1682
1683
1684#define MME(op, me, rc) (M ((op), (rc)) | ((((unsigned long)(me)) & 0x1f) << 1))
1685
1686
1687#define MMBME_MASK (M_MASK | MB_MASK | ME_MASK)
1688
1689
1690#define MSHME_MASK (M_MASK | SH_MASK | ME_MASK)
1691
1692
1693#define MD(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x7) << 2) | ((rc) & 1))
1694#define MD_MASK MD (0x3f, 0x7, 1)
1695
1696
1697#define MDMB_MASK (MD_MASK | MB6_MASK)
1698
1699
1700#define MDSH_MASK (MD_MASK | SH6_MASK)
1701
1702
1703#define MDS(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0xf) << 1) | ((rc) & 1))
1704#define MDS_MASK MDS (0x3f, 0xf, 1)
1705
1706
1707#define MDSMB_MASK (MDS_MASK | MB6_MASK)
1708
1709
1710#define SC(op, sa, lk) (OP (op) | ((((unsigned long)(sa)) & 1) << 1) | ((lk) & 1))
1711#define SC_MASK (OP_MASK | (((unsigned long)0x3ff) << 16) | (((unsigned long)1) << 1) | 1)
1712
1713
1714#define VX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7ff))
1715
1716
1717#define VX_MASK VX(0x3f, 0x7ff)
1718
1719
1720#define VXA(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x03f))
1721
1722
1723#define VXA_MASK VXA(0x3f, 0x3f)
1724
1725
1726#define VXR(op, xop, rc) (OP (op) | (((rc) & 1) << 10) | (((unsigned long)(xop)) & 0x3ff))
1727
1728
1729#define VXR_MASK VXR(0x3f, 0x3ff, 1)
1730
1731
1732#define X(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x3ff) << 1))
1733
1734
1735#define Z(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x1ff) << 1))
1736
1737
1738#define XRC(op, xop, rc) (X ((op), (xop)) | ((rc) & 1))
1739
1740
1741#define ZRC(op, xop, rc) (Z ((op), (xop)) | ((rc) & 1))
1742
1743
1744#define X_MASK XRC (0x3f, 0x3ff, 1)
1745
1746
1747#define Z_MASK ZRC (0x3f, 0x1ff, 1)
1748#define Z2_MASK ZRC (0x3f, 0xff, 1)
1749
1750
1751#define XRA_MASK (X_MASK | RA_MASK)
1752
1753
1754#define XWRA_MASK (XRA_MASK & ~((unsigned long) 1 << 16))
1755
1756
1757#define XRB_MASK (X_MASK | RB_MASK)
1758
1759
1760#define XRT_MASK (X_MASK | RT_MASK)
1761
1762
1763#define XLRT_MASK (XRT_MASK & ~((unsigned long) 0x3 << 21))
1764
1765
1766#define XRARB_MASK (X_MASK | RA_MASK | RB_MASK)
1767
1768
1769#define XRLARB_MASK (XRARB_MASK & ~((unsigned long) 1 << 16))
1770
1771
1772#define XRTRA_MASK (X_MASK | RT_MASK | RA_MASK)
1773
1774
1775#define XRTLRA_MASK (XRTRA_MASK & ~((unsigned long) 1 << 21))
1776
1777
1778#define XOPL(op, xop, l) (X ((op), (xop)) | ((((unsigned long)(l)) & 1) << 21))
1779
1780
1781#define XCMP_MASK (X_MASK | (((unsigned long)1) << 22))
1782
1783
1784
1785#define XCMPL_MASK (XCMP_MASK | (((unsigned long)1) << 21))
1786
1787
1788#define XTO(op, xop, to) (X ((op), (xop)) | ((((unsigned long)(to)) & 0x1f) << 21))
1789#define XTO_MASK (X_MASK | TO_MASK)
1790
1791
1792#define XTLB(op, xop, sh) (X ((op), (xop)) | ((((unsigned long)(sh)) & 0x1f) << 11))
1793#define XTLB_MASK (X_MASK | SH_MASK)
1794
1795
1796#define XSYNC(op, xop, l) (X ((op), (xop)) | ((((unsigned long)(l)) & 3) << 21))
1797
1798
1799#define XSYNC_MASK (0xff9fffff)
1800
1801
1802#define XEH_MASK (X_MASK & ~((unsigned long )1))
1803
1804
1805#define XDSS(op, xop, a) (X ((op), (xop)) | ((((unsigned long)(a)) & 1) << 25))
1806#define XDSS_MASK XDSS(0x3f, 0x3ff, 1)
1807
1808
1809#define XFL(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x3ff) << 1) | (((unsigned long)(rc)) & 1))
1810#define XFL_MASK XFL (0x3f, 0x3ff, 1)
1811
1812
1813#define XISEL(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x1f) << 1))
1814#define XISEL_MASK XISEL(0x3f, 0x1f)
1815
1816
1817#define XL(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x3ff) << 1))
1818
1819
1820#define XLLK(op, xop, lk) (XL ((op), (xop)) | ((lk) & 1))
1821
1822
1823#define XL_MASK XLLK (0x3f, 0x3ff, 1)
1824
1825
1826#define XLO(op, bo, xop, lk) \
1827 (XLLK ((op), (xop), (lk)) | ((((unsigned long)(bo)) & 0x1f) << 21))
1828#define XLO_MASK (XL_MASK | BO_MASK)
1829
1830
1831
1832#define XLYLK(op, xop, y, lk) (XLLK ((op), (xop), (lk)) | ((((unsigned long)(y)) & 1) << 21))
1833#define XLYLK_MASK (XL_MASK | Y_MASK)
1834
1835
1836
1837#define XLOCB(op, bo, cb, xop, lk) \
1838 (XLO ((op), (bo), (xop), (lk)) | ((((unsigned long)(cb)) & 3) << 16))
1839#define XLOCB_MASK XLOCB (0x3f, 0x1f, 0x3, 0x3ff, 1)
1840
1841
1842#define XLBB_MASK (XL_MASK | BB_MASK)
1843#define XLYBB_MASK (XLYLK_MASK | BB_MASK)
1844#define XLBOCBBB_MASK (XLOCB_MASK | BB_MASK)
1845
1846
1847#define XLBH_MASK (XL_MASK | (0x1c << 11))
1848
1849
1850#define XLBOBB_MASK (XL_MASK | BO_MASK | BB_MASK)
1851
1852
1853#define XLBOBIBB_MASK (XL_MASK | BO_MASK | BI_MASK | BB_MASK)
1854
1855
1856#define XO(op, xop, oe, rc) \
1857 (OP (op) | ((((unsigned long)(xop)) & 0x1ff) << 1) | ((((unsigned long)(oe)) & 1) << 10) | (((unsigned long)(rc)) & 1))
1858#define XO_MASK XO (0x3f, 0x1ff, 1, 1)
1859
1860
1861#define XORB_MASK (XO_MASK | RB_MASK)
1862
1863
1864#define XS(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x1ff) << 2) | (((unsigned long)(rc)) & 1))
1865#define XS_MASK XS (0x3f, 0x1ff, 1)
1866
1867
1868#define XFXFXM_MASK (X_MASK | (1 << 11) | (1 << 20))
1869
1870
1871#define XFXM(op, xop, fxm, p4) \
1872 (X ((op), (xop)) | ((((unsigned long)(fxm)) & 0xff) << 12) \
1873 | ((unsigned long)(p4) << 20))
1874
1875
1876#define XSPR(op, xop, spr) \
1877 (X ((op), (xop)) | ((((unsigned long)(spr)) & 0x1f) << 16) | ((((unsigned long)(spr)) & 0x3e0) << 6))
1878#define XSPR_MASK (X_MASK | SPR_MASK)
1879
1880
1881
1882#define XSPRBAT_MASK (XSPR_MASK &~ SPRBAT_MASK)
1883
1884
1885
1886#define XSPRG_MASK (XSPR_MASK & ~(0x1f << 16))
1887
1888
1889#define XE_MASK (0xffff7fff)
1890
1891
1892#define XUC(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x1f))
1893#define XUC_MASK XUC(0x3f, 0x1f)
1894
1895
1896#define BODNZF (0x0)
1897#define BODNZFP (0x1)
1898#define BODZF (0x2)
1899#define BODZFP (0x3)
1900#define BODNZT (0x8)
1901#define BODNZTP (0x9)
1902#define BODZT (0xa)
1903#define BODZTP (0xb)
1904
1905#define BOF (0x4)
1906#define BOFP (0x5)
1907#define BOFM4 (0x6)
1908#define BOFP4 (0x7)
1909#define BOT (0xc)
1910#define BOTP (0xd)
1911#define BOTM4 (0xe)
1912#define BOTP4 (0xf)
1913
1914#define BODNZ (0x10)
1915#define BODNZP (0x11)
1916#define BODZ (0x12)
1917#define BODZP (0x13)
1918#define BODNZM4 (0x18)
1919#define BODNZP4 (0x19)
1920#define BODZM4 (0x1a)
1921#define BODZP4 (0x1b)
1922
1923#define BOU (0x14)
1924
1925
1926
1927#define CBLT (0)
1928#define CBGT (1)
1929#define CBEQ (2)
1930#define CBSO (3)
1931
1932
1933#define TOLGT (0x1)
1934#define TOLLT (0x2)
1935#define TOEQ (0x4)
1936#define TOLGE (0x5)
1937#define TOLNL (0x5)
1938#define TOLLE (0x6)
1939#define TOLNG (0x6)
1940#define TOGT (0x8)
1941#define TOGE (0xc)
1942#define TONL (0xc)
1943#define TOLT (0x10)
1944#define TOLE (0x14)
1945#define TONG (0x14)
1946#define TONE (0x18)
1947#define TOU (0x1f)
1948
1949
1950
1951#undef PPC
1952#define PPC PPC_OPCODE_PPC
1953#define PPCCOM PPC_OPCODE_PPC | PPC_OPCODE_COMMON
1954#define NOPOWER4 PPC_OPCODE_NOPOWER4 | PPCCOM
1955#define POWER4 PPC_OPCODE_POWER4
1956#define POWER5 PPC_OPCODE_POWER5
1957#define POWER6 PPC_OPCODE_POWER6
1958
1959#define POWER7 PPC_OPCODE_POWER6
1960#define POWER9 PPC_OPCODE_POWER6
1961#define CELL PPC_OPCODE_CELL
1962#define PPC32 PPC_OPCODE_32 | PPC_OPCODE_PPC
1963#define PPC64 PPC_OPCODE_64 | PPC_OPCODE_PPC
1964#define PPC403 PPC_OPCODE_403
1965#define PPC405 PPC403
1966#define PPC440 PPC_OPCODE_440
1967#define PPC750 PPC
1968#define PPC860 PPC
1969#define PPCVEC PPC_OPCODE_ALTIVEC
1970#define POWER PPC_OPCODE_POWER
1971#define POWER2 PPC_OPCODE_POWER | PPC_OPCODE_POWER2
1972#define PPCPWR2 PPC_OPCODE_PPC | PPC_OPCODE_POWER | PPC_OPCODE_POWER2
1973#define POWER32 PPC_OPCODE_POWER | PPC_OPCODE_32
1974#define COM PPC_OPCODE_POWER | PPC_OPCODE_PPC | PPC_OPCODE_COMMON
1975#define COM32 PPC_OPCODE_POWER | PPC_OPCODE_PPC | PPC_OPCODE_COMMON | PPC_OPCODE_32
1976#define M601 PPC_OPCODE_POWER | PPC_OPCODE_601
1977#define PWRCOM PPC_OPCODE_POWER | PPC_OPCODE_601 | PPC_OPCODE_COMMON
1978#define MFDEC1 PPC_OPCODE_POWER
1979#define MFDEC2 PPC_OPCODE_PPC | PPC_OPCODE_601 | PPC_OPCODE_BOOKE
1980#define BOOKE PPC_OPCODE_BOOKE
1981#define BOOKE64 PPC_OPCODE_BOOKE64
1982#define CLASSIC PPC_OPCODE_CLASSIC
1983#define PPCE300 PPC_OPCODE_E300
1984#define PPCSPE PPC_OPCODE_SPE
1985#define PPCISEL PPC_OPCODE_ISEL
1986#define PPCEFS PPC_OPCODE_EFS
1987#define PPCBRLK PPC_OPCODE_BRLOCK
1988#define PPCPMR PPC_OPCODE_PMR
1989#define PPCCHLK PPC_OPCODE_CACHELCK
1990#define PPCCHLK64 PPC_OPCODE_CACHELCK | PPC_OPCODE_BOOKE64
1991#define PPCRFMCI PPC_OPCODE_RFMCI
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011const struct powerpc_opcode powerpc_opcodes[] = {
2012{ "attn", X(0,256), X_MASK, POWER4, { 0 } },
2013{ "tdlgti", OPTO(2,TOLGT), OPTO_MASK, PPC64, { RA, SI } },
2014{ "tdllti", OPTO(2,TOLLT), OPTO_MASK, PPC64, { RA, SI } },
2015{ "tdeqi", OPTO(2,TOEQ), OPTO_MASK, PPC64, { RA, SI } },
2016{ "tdlgei", OPTO(2,TOLGE), OPTO_MASK, PPC64, { RA, SI } },
2017{ "tdlnli", OPTO(2,TOLNL), OPTO_MASK, PPC64, { RA, SI } },
2018{ "tdllei", OPTO(2,TOLLE), OPTO_MASK, PPC64, { RA, SI } },
2019{ "tdlngi", OPTO(2,TOLNG), OPTO_MASK, PPC64, { RA, SI } },
2020{ "tdgti", OPTO(2,TOGT), OPTO_MASK, PPC64, { RA, SI } },
2021{ "tdgei", OPTO(2,TOGE), OPTO_MASK, PPC64, { RA, SI } },
2022{ "tdnli", OPTO(2,TONL), OPTO_MASK, PPC64, { RA, SI } },
2023{ "tdlti", OPTO(2,TOLT), OPTO_MASK, PPC64, { RA, SI } },
2024{ "tdlei", OPTO(2,TOLE), OPTO_MASK, PPC64, { RA, SI } },
2025{ "tdngi", OPTO(2,TONG), OPTO_MASK, PPC64, { RA, SI } },
2026{ "tdnei", OPTO(2,TONE), OPTO_MASK, PPC64, { RA, SI } },
2027{ "tdi", OP(2), OP_MASK, PPC64, { TO, RA, SI } },
2028
2029{ "twlgti", OPTO(3,TOLGT), OPTO_MASK, PPCCOM, { RA, SI } },
2030{ "tlgti", OPTO(3,TOLGT), OPTO_MASK, PWRCOM, { RA, SI } },
2031{ "twllti", OPTO(3,TOLLT), OPTO_MASK, PPCCOM, { RA, SI } },
2032{ "tllti", OPTO(3,TOLLT), OPTO_MASK, PWRCOM, { RA, SI } },
2033{ "tweqi", OPTO(3,TOEQ), OPTO_MASK, PPCCOM, { RA, SI } },
2034{ "teqi", OPTO(3,TOEQ), OPTO_MASK, PWRCOM, { RA, SI } },
2035{ "twlgei", OPTO(3,TOLGE), OPTO_MASK, PPCCOM, { RA, SI } },
2036{ "tlgei", OPTO(3,TOLGE), OPTO_MASK, PWRCOM, { RA, SI } },
2037{ "twlnli", OPTO(3,TOLNL), OPTO_MASK, PPCCOM, { RA, SI } },
2038{ "tlnli", OPTO(3,TOLNL), OPTO_MASK, PWRCOM, { RA, SI } },
2039{ "twllei", OPTO(3,TOLLE), OPTO_MASK, PPCCOM, { RA, SI } },
2040{ "tllei", OPTO(3,TOLLE), OPTO_MASK, PWRCOM, { RA, SI } },
2041{ "twlngi", OPTO(3,TOLNG), OPTO_MASK, PPCCOM, { RA, SI } },
2042{ "tlngi", OPTO(3,TOLNG), OPTO_MASK, PWRCOM, { RA, SI } },
2043{ "twgti", OPTO(3,TOGT), OPTO_MASK, PPCCOM, { RA, SI } },
2044{ "tgti", OPTO(3,TOGT), OPTO_MASK, PWRCOM, { RA, SI } },
2045{ "twgei", OPTO(3,TOGE), OPTO_MASK, PPCCOM, { RA, SI } },
2046{ "tgei", OPTO(3,TOGE), OPTO_MASK, PWRCOM, { RA, SI } },
2047{ "twnli", OPTO(3,TONL), OPTO_MASK, PPCCOM, { RA, SI } },
2048{ "tnli", OPTO(3,TONL), OPTO_MASK, PWRCOM, { RA, SI } },
2049{ "twlti", OPTO(3,TOLT), OPTO_MASK, PPCCOM, { RA, SI } },
2050{ "tlti", OPTO(3,TOLT), OPTO_MASK, PWRCOM, { RA, SI } },
2051{ "twlei", OPTO(3,TOLE), OPTO_MASK, PPCCOM, { RA, SI } },
2052{ "tlei", OPTO(3,TOLE), OPTO_MASK, PWRCOM, { RA, SI } },
2053{ "twngi", OPTO(3,TONG), OPTO_MASK, PPCCOM, { RA, SI } },
2054{ "tngi", OPTO(3,TONG), OPTO_MASK, PWRCOM, { RA, SI } },
2055{ "twnei", OPTO(3,TONE), OPTO_MASK, PPCCOM, { RA, SI } },
2056{ "tnei", OPTO(3,TONE), OPTO_MASK, PWRCOM, { RA, SI } },
2057{ "twi", OP(3), OP_MASK, PPCCOM, { TO, RA, SI } },
2058{ "ti", OP(3), OP_MASK, PWRCOM, { TO, RA, SI } },
2059
2060{ "macchw", XO(4,172,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2061{ "macchw.", XO(4,172,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2062{ "macchwo", XO(4,172,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2063{ "macchwo.", XO(4,172,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2064{ "macchws", XO(4,236,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2065{ "macchws.", XO(4,236,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2066{ "macchwso", XO(4,236,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2067{ "macchwso.", XO(4,236,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2068{ "macchwsu", XO(4,204,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2069{ "macchwsu.", XO(4,204,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2070{ "macchwsuo", XO(4,204,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2071{ "macchwsuo.", XO(4,204,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2072{ "macchwu", XO(4,140,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2073{ "macchwu.", XO(4,140,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2074{ "macchwuo", XO(4,140,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2075{ "macchwuo.", XO(4,140,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2076{ "machhw", XO(4,44,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2077{ "machhw.", XO(4,44,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2078{ "machhwo", XO(4,44,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2079{ "machhwo.", XO(4,44,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2080{ "machhws", XO(4,108,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2081{ "machhws.", XO(4,108,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2082{ "machhwso", XO(4,108,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2083{ "machhwso.", XO(4,108,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2084{ "machhwsu", XO(4,76,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2085{ "machhwsu.", XO(4,76,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2086{ "machhwsuo", XO(4,76,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2087{ "machhwsuo.", XO(4,76,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2088{ "machhwu", XO(4,12,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2089{ "machhwu.", XO(4,12,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2090{ "machhwuo", XO(4,12,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2091{ "machhwuo.", XO(4,12,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2092{ "maclhw", XO(4,428,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2093{ "maclhw.", XO(4,428,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2094{ "maclhwo", XO(4,428,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2095{ "maclhwo.", XO(4,428,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2096{ "maclhws", XO(4,492,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2097{ "maclhws.", XO(4,492,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2098{ "maclhwso", XO(4,492,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2099{ "maclhwso.", XO(4,492,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2100{ "maclhwsu", XO(4,460,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2101{ "maclhwsu.", XO(4,460,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2102{ "maclhwsuo", XO(4,460,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2103{ "maclhwsuo.", XO(4,460,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2104{ "maclhwu", XO(4,396,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2105{ "maclhwu.", XO(4,396,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2106{ "maclhwuo", XO(4,396,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2107{ "maclhwuo.", XO(4,396,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2108{ "mulchw", XRC(4,168,0), X_MASK, PPC405|PPC440, { RT, RA, RB } },
2109{ "mulchw.", XRC(4,168,1), X_MASK, PPC405|PPC440, { RT, RA, RB } },
2110{ "mulchwu", XRC(4,136,0), X_MASK, PPC405|PPC440, { RT, RA, RB } },
2111{ "mulchwu.", XRC(4,136,1), X_MASK, PPC405|PPC440, { RT, RA, RB } },
2112{ "mulhhw", XRC(4,40,0), X_MASK, PPC405|PPC440, { RT, RA, RB } },
2113{ "mulhhw.", XRC(4,40,1), X_MASK, PPC405|PPC440, { RT, RA, RB } },
2114{ "mulhhwu", XRC(4,8,0), X_MASK, PPC405|PPC440, { RT, RA, RB } },
2115{ "mulhhwu.", XRC(4,8,1), X_MASK, PPC405|PPC440, { RT, RA, RB } },
2116{ "mullhw", XRC(4,424,0), X_MASK, PPC405|PPC440, { RT, RA, RB } },
2117{ "mullhw.", XRC(4,424,1), X_MASK, PPC405|PPC440, { RT, RA, RB } },
2118{ "mullhwu", XRC(4,392,0), X_MASK, PPC405|PPC440, { RT, RA, RB } },
2119{ "mullhwu.", XRC(4,392,1), X_MASK, PPC405|PPC440, { RT, RA, RB } },
2120{ "nmacchw", XO(4,174,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2121{ "nmacchw.", XO(4,174,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2122{ "nmacchwo", XO(4,174,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2123{ "nmacchwo.", XO(4,174,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2124{ "nmacchws", XO(4,238,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2125{ "nmacchws.", XO(4,238,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2126{ "nmacchwso", XO(4,238,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2127{ "nmacchwso.", XO(4,238,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2128{ "nmachhw", XO(4,46,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2129{ "nmachhw.", XO(4,46,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2130{ "nmachhwo", XO(4,46,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2131{ "nmachhwo.", XO(4,46,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2132{ "nmachhws", XO(4,110,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2133{ "nmachhws.", XO(4,110,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2134{ "nmachhwso", XO(4,110,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2135{ "nmachhwso.", XO(4,110,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2136{ "nmaclhw", XO(4,430,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2137{ "nmaclhw.", XO(4,430,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2138{ "nmaclhwo", XO(4,430,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2139{ "nmaclhwo.", XO(4,430,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2140{ "nmaclhws", XO(4,494,0,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2141{ "nmaclhws.", XO(4,494,0,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2142{ "nmaclhwso", XO(4,494,1,0), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2143{ "nmaclhwso.", XO(4,494,1,1), XO_MASK, PPC405|PPC440, { RT, RA, RB } },
2144{ "mfvscr", VX(4, 1540), VX_MASK, PPCVEC, { VD } },
2145{ "mtvscr", VX(4, 1604), VX_MASK, PPCVEC, { VB } },
2146
2147
2148
2149
2150{ "efscfd", VX(4, 719), VX_MASK, PPCEFS, { RS, RB } },
2151{ "efdabs", VX(4, 740), VX_MASK, PPCEFS, { RS, RA } },
2152{ "efdnabs", VX(4, 741), VX_MASK, PPCEFS, { RS, RA } },
2153{ "efdneg", VX(4, 742), VX_MASK, PPCEFS, { RS, RA } },
2154{ "efdadd", VX(4, 736), VX_MASK, PPCEFS, { RS, RA, RB } },
2155{ "efdsub", VX(4, 737), VX_MASK, PPCEFS, { RS, RA, RB } },
2156{ "efdmul", VX(4, 744), VX_MASK, PPCEFS, { RS, RA, RB } },
2157{ "efddiv", VX(4, 745), VX_MASK, PPCEFS, { RS, RA, RB } },
2158{ "efdcmpgt", VX(4, 748), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2159{ "efdcmplt", VX(4, 749), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2160{ "efdcmpeq", VX(4, 750), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2161{ "efdtstgt", VX(4, 764), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2162{ "efdtstlt", VX(4, 765), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2163{ "efdtsteq", VX(4, 766), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2164{ "efdcfsi", VX(4, 753), VX_MASK, PPCEFS, { RS, RB } },
2165{ "efdcfsid", VX(4, 739), VX_MASK, PPCEFS, { RS, RB } },
2166{ "efdcfui", VX(4, 752), VX_MASK, PPCEFS, { RS, RB } },
2167{ "efdcfuid", VX(4, 738), VX_MASK, PPCEFS, { RS, RB } },
2168{ "efdcfsf", VX(4, 755), VX_MASK, PPCEFS, { RS, RB } },
2169{ "efdcfuf", VX(4, 754), VX_MASK, PPCEFS, { RS, RB } },
2170{ "efdctsi", VX(4, 757), VX_MASK, PPCEFS, { RS, RB } },
2171{ "efdctsidz",VX(4, 747), VX_MASK, PPCEFS, { RS, RB } },
2172{ "efdctsiz", VX(4, 762), VX_MASK, PPCEFS, { RS, RB } },
2173{ "efdctui", VX(4, 756), VX_MASK, PPCEFS, { RS, RB } },
2174{ "efdctuidz",VX(4, 746), VX_MASK, PPCEFS, { RS, RB } },
2175{ "efdctuiz", VX(4, 760), VX_MASK, PPCEFS, { RS, RB } },
2176{ "efdctsf", VX(4, 759), VX_MASK, PPCEFS, { RS, RB } },
2177{ "efdctuf", VX(4, 758), VX_MASK, PPCEFS, { RS, RB } },
2178{ "efdcfs", VX(4, 751), VX_MASK, PPCEFS, { RS, RB } },
2179
2180
2181{ "vaddcuw", VX(4, 384), VX_MASK, PPCVEC, { VD, VA, VB } },
2182{ "vaddfp", VX(4, 10), VX_MASK, PPCVEC, { VD, VA, VB } },
2183{ "vaddsbs", VX(4, 768), VX_MASK, PPCVEC, { VD, VA, VB } },
2184{ "vaddshs", VX(4, 832), VX_MASK, PPCVEC, { VD, VA, VB } },
2185{ "vaddsws", VX(4, 896), VX_MASK, PPCVEC, { VD, VA, VB } },
2186{ "vaddubm", VX(4, 0), VX_MASK, PPCVEC, { VD, VA, VB } },
2187{ "vaddubs", VX(4, 512), VX_MASK, PPCVEC, { VD, VA, VB } },
2188{ "vadduhm", VX(4, 64), VX_MASK, PPCVEC, { VD, VA, VB } },
2189{ "vadduhs", VX(4, 576), VX_MASK, PPCVEC, { VD, VA, VB } },
2190{ "vadduwm", VX(4, 128), VX_MASK, PPCVEC, { VD, VA, VB } },
2191{ "vadduws", VX(4, 640), VX_MASK, PPCVEC, { VD, VA, VB } },
2192{ "vand", VX(4, 1028), VX_MASK, PPCVEC, { VD, VA, VB } },
2193{ "vandc", VX(4, 1092), VX_MASK, PPCVEC, { VD, VA, VB } },
2194{ "vavgsb", VX(4, 1282), VX_MASK, PPCVEC, { VD, VA, VB } },
2195{ "vavgsh", VX(4, 1346), VX_MASK, PPCVEC, { VD, VA, VB } },
2196{ "vavgsw", VX(4, 1410), VX_MASK, PPCVEC, { VD, VA, VB } },
2197{ "vavgub", VX(4, 1026), VX_MASK, PPCVEC, { VD, VA, VB } },
2198{ "vavguh", VX(4, 1090), VX_MASK, PPCVEC, { VD, VA, VB } },
2199{ "vavguw", VX(4, 1154), VX_MASK, PPCVEC, { VD, VA, VB } },
2200{ "vcfsx", VX(4, 842), VX_MASK, PPCVEC, { VD, VB, UIMM } },
2201{ "vcfux", VX(4, 778), VX_MASK, PPCVEC, { VD, VB, UIMM } },
2202{ "vcmpbfp", VXR(4, 966, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
2203{ "vcmpbfp.", VXR(4, 966, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
2204{ "vcmpeqfp", VXR(4, 198, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
2205{ "vcmpeqfp.", VXR(4, 198, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
2206{ "vcmpequb", VXR(4, 6, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
2207{ "vcmpequb.", VXR(4, 6, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
2208{ "vcmpequh", VXR(4, 70, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
2209{ "vcmpequh.", VXR(4, 70, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
2210{ "vcmpequw", VXR(4, 134, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
2211{ "vcmpequw.", VXR(4, 134, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
2212{ "vcmpgefp", VXR(4, 454, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
2213{ "vcmpgefp.", VXR(4, 454, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
2214{ "vcmpgtfp", VXR(4, 710, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
2215{ "vcmpgtfp.", VXR(4, 710, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
2216{ "vcmpgtsb", VXR(4, 774, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
2217{ "vcmpgtsb.", VXR(4, 774, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
2218{ "vcmpgtsh", VXR(4, 838, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
2219{ "vcmpgtsh.", VXR(4, 838, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
2220{ "vcmpgtsw", VXR(4, 902, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
2221{ "vcmpgtsw.", VXR(4, 902, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
2222{ "vcmpgtub", VXR(4, 518, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
2223{ "vcmpgtub.", VXR(4, 518, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
2224{ "vcmpgtuh", VXR(4, 582, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
2225{ "vcmpgtuh.", VXR(4, 582, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
2226{ "vcmpgtuw", VXR(4, 646, 0), VXR_MASK, PPCVEC, { VD, VA, VB } },
2227{ "vcmpgtuw.", VXR(4, 646, 1), VXR_MASK, PPCVEC, { VD, VA, VB } },
2228{ "vctsxs", VX(4, 970), VX_MASK, PPCVEC, { VD, VB, UIMM } },
2229{ "vctuxs", VX(4, 906), VX_MASK, PPCVEC, { VD, VB, UIMM } },
2230{ "vexptefp", VX(4, 394), VX_MASK, PPCVEC, { VD, VB } },
2231{ "vlogefp", VX(4, 458), VX_MASK, PPCVEC, { VD, VB } },
2232{ "vmaddfp", VXA(4, 46), VXA_MASK, PPCVEC, { VD, VA, VC, VB } },
2233{ "vmaxfp", VX(4, 1034), VX_MASK, PPCVEC, { VD, VA, VB } },
2234{ "vmaxsb", VX(4, 258), VX_MASK, PPCVEC, { VD, VA, VB } },
2235{ "vmaxsh", VX(4, 322), VX_MASK, PPCVEC, { VD, VA, VB } },
2236{ "vmaxsw", VX(4, 386), VX_MASK, PPCVEC, { VD, VA, VB } },
2237{ "vmaxub", VX(4, 2), VX_MASK, PPCVEC, { VD, VA, VB } },
2238{ "vmaxuh", VX(4, 66), VX_MASK, PPCVEC, { VD, VA, VB } },
2239{ "vmaxuw", VX(4, 130), VX_MASK, PPCVEC, { VD, VA, VB } },
2240{ "vmhaddshs", VXA(4, 32), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2241{ "vmhraddshs", VXA(4, 33), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2242{ "vminfp", VX(4, 1098), VX_MASK, PPCVEC, { VD, VA, VB } },
2243{ "vminsb", VX(4, 770), VX_MASK, PPCVEC, { VD, VA, VB } },
2244{ "vminsh", VX(4, 834), VX_MASK, PPCVEC, { VD, VA, VB } },
2245{ "vminsw", VX(4, 898), VX_MASK, PPCVEC, { VD, VA, VB } },
2246{ "vminub", VX(4, 514), VX_MASK, PPCVEC, { VD, VA, VB } },
2247{ "vminuh", VX(4, 578), VX_MASK, PPCVEC, { VD, VA, VB } },
2248{ "vminuw", VX(4, 642), VX_MASK, PPCVEC, { VD, VA, VB } },
2249{ "vmladduhm", VXA(4, 34), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2250{ "vmrghb", VX(4, 12), VX_MASK, PPCVEC, { VD, VA, VB } },
2251{ "vmrghh", VX(4, 76), VX_MASK, PPCVEC, { VD, VA, VB } },
2252{ "vmrghw", VX(4, 140), VX_MASK, PPCVEC, { VD, VA, VB } },
2253{ "vmrglb", VX(4, 268), VX_MASK, PPCVEC, { VD, VA, VB } },
2254{ "vmrglh", VX(4, 332), VX_MASK, PPCVEC, { VD, VA, VB } },
2255{ "vmrglw", VX(4, 396), VX_MASK, PPCVEC, { VD, VA, VB } },
2256{ "vmsummbm", VXA(4, 37), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2257{ "vmsumshm", VXA(4, 40), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2258{ "vmsumshs", VXA(4, 41), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2259{ "vmsumubm", VXA(4, 36), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2260{ "vmsumuhm", VXA(4, 38), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2261{ "vmsumuhs", VXA(4, 39), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2262{ "vmulesb", VX(4, 776), VX_MASK, PPCVEC, { VD, VA, VB } },
2263{ "vmulesh", VX(4, 840), VX_MASK, PPCVEC, { VD, VA, VB } },
2264{ "vmuleub", VX(4, 520), VX_MASK, PPCVEC, { VD, VA, VB } },
2265{ "vmuleuh", VX(4, 584), VX_MASK, PPCVEC, { VD, VA, VB } },
2266{ "vmulosb", VX(4, 264), VX_MASK, PPCVEC, { VD, VA, VB } },
2267{ "vmulosh", VX(4, 328), VX_MASK, PPCVEC, { VD, VA, VB } },
2268{ "vmuloub", VX(4, 8), VX_MASK, PPCVEC, { VD, VA, VB } },
2269{ "vmulouh", VX(4, 72), VX_MASK, PPCVEC, { VD, VA, VB } },
2270{ "vnmsubfp", VXA(4, 47), VXA_MASK, PPCVEC, { VD, VA, VC, VB } },
2271{ "vnor", VX(4, 1284), VX_MASK, PPCVEC, { VD, VA, VB } },
2272{ "vor", VX(4, 1156), VX_MASK, PPCVEC, { VD, VA, VB } },
2273{ "vperm", VXA(4, 43), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2274{ "vpkpx", VX(4, 782), VX_MASK, PPCVEC, { VD, VA, VB } },
2275{ "vpkshss", VX(4, 398), VX_MASK, PPCVEC, { VD, VA, VB } },
2276{ "vpkshus", VX(4, 270), VX_MASK, PPCVEC, { VD, VA, VB } },
2277{ "vpkswss", VX(4, 462), VX_MASK, PPCVEC, { VD, VA, VB } },
2278{ "vpkswus", VX(4, 334), VX_MASK, PPCVEC, { VD, VA, VB } },
2279{ "vpkuhum", VX(4, 14), VX_MASK, PPCVEC, { VD, VA, VB } },
2280{ "vpkuhus", VX(4, 142), VX_MASK, PPCVEC, { VD, VA, VB } },
2281{ "vpkuwum", VX(4, 78), VX_MASK, PPCVEC, { VD, VA, VB } },
2282{ "vpkuwus", VX(4, 206), VX_MASK, PPCVEC, { VD, VA, VB } },
2283{ "vrefp", VX(4, 266), VX_MASK, PPCVEC, { VD, VB } },
2284{ "vrfim", VX(4, 714), VX_MASK, PPCVEC, { VD, VB } },
2285{ "vrfin", VX(4, 522), VX_MASK, PPCVEC, { VD, VB } },
2286{ "vrfip", VX(4, 650), VX_MASK, PPCVEC, { VD, VB } },
2287{ "vrfiz", VX(4, 586), VX_MASK, PPCVEC, { VD, VB } },
2288{ "vrlb", VX(4, 4), VX_MASK, PPCVEC, { VD, VA, VB } },
2289{ "vrlh", VX(4, 68), VX_MASK, PPCVEC, { VD, VA, VB } },
2290{ "vrlw", VX(4, 132), VX_MASK, PPCVEC, { VD, VA, VB } },
2291{ "vrsqrtefp", VX(4, 330), VX_MASK, PPCVEC, { VD, VB } },
2292{ "vrldmi", VX(4, 197), VX_MASK, PPCVEC, { VD, VA, VB } },
2293{ "vrldnm", VX(4, 453), VX_MASK, PPCVEC, { VD, VA, VB } },
2294{ "vrlwmi", VX(4, 133), VX_MASK, PPCVEC, { VD, VA, VB} },
2295{ "vrlwnm", VX(4, 389), VX_MASK, PPCVEC, { VD, VA, VB } },
2296{ "vsel", VXA(4, 42), VXA_MASK, PPCVEC, { VD, VA, VB, VC } },
2297{ "vsl", VX(4, 452), VX_MASK, PPCVEC, { VD, VA, VB } },
2298{ "vslb", VX(4, 260), VX_MASK, PPCVEC, { VD, VA, VB } },
2299{ "vsldoi", VXA(4, 44), VXA_MASK, PPCVEC, { VD, VA, VB, SHB } },
2300{ "vslh", VX(4, 324), VX_MASK, PPCVEC, { VD, VA, VB } },
2301{ "vslo", VX(4, 1036), VX_MASK, PPCVEC, { VD, VA, VB } },
2302{ "vslw", VX(4, 388), VX_MASK, PPCVEC, { VD, VA, VB } },
2303{ "vspltb", VX(4, 524), VX_MASK, PPCVEC, { VD, VB, UIMM } },
2304{ "vsplth", VX(4, 588), VX_MASK, PPCVEC, { VD, VB, UIMM } },
2305{ "vspltisb", VX(4, 780), VX_MASK, PPCVEC, { VD, SIMM } },
2306{ "vspltish", VX(4, 844), VX_MASK, PPCVEC, { VD, SIMM } },
2307{ "vspltisw", VX(4, 908), VX_MASK, PPCVEC, { VD, SIMM } },
2308{ "vspltw", VX(4, 652), VX_MASK, PPCVEC, { VD, VB, UIMM } },
2309{ "vsr", VX(4, 708), VX_MASK, PPCVEC, { VD, VA, VB } },
2310{ "vsrab", VX(4, 772), VX_MASK, PPCVEC, { VD, VA, VB } },
2311{ "vsrah", VX(4, 836), VX_MASK, PPCVEC, { VD, VA, VB } },
2312{ "vsraw", VX(4, 900), VX_MASK, PPCVEC, { VD, VA, VB } },
2313{ "vsrb", VX(4, 516), VX_MASK, PPCVEC, { VD, VA, VB } },
2314{ "vsrh", VX(4, 580), VX_MASK, PPCVEC, { VD, VA, VB } },
2315{ "vsro", VX(4, 1100), VX_MASK, PPCVEC, { VD, VA, VB } },
2316{ "vsrw", VX(4, 644), VX_MASK, PPCVEC, { VD, VA, VB } },
2317{ "vsubcuw", VX(4, 1408), VX_MASK, PPCVEC, { VD, VA, VB } },
2318{ "vsubfp", VX(4, 74), VX_MASK, PPCVEC, { VD, VA, VB } },
2319{ "vsubsbs", VX(4, 1792), VX_MASK, PPCVEC, { VD, VA, VB } },
2320{ "vsubshs", VX(4, 1856), VX_MASK, PPCVEC, { VD, VA, VB } },
2321{ "vsubsws", VX(4, 1920), VX_MASK, PPCVEC, { VD, VA, VB } },
2322{ "vsububm", VX(4, 1024), VX_MASK, PPCVEC, { VD, VA, VB } },
2323{ "vsububs", VX(4, 1536), VX_MASK, PPCVEC, { VD, VA, VB } },
2324{ "vsubuhm", VX(4, 1088), VX_MASK, PPCVEC, { VD, VA, VB } },
2325{ "vsubuhs", VX(4, 1600), VX_MASK, PPCVEC, { VD, VA, VB } },
2326{ "vsubuwm", VX(4, 1152), VX_MASK, PPCVEC, { VD, VA, VB } },
2327{ "vsubuws", VX(4, 1664), VX_MASK, PPCVEC, { VD, VA, VB } },
2328{ "vsumsws", VX(4, 1928), VX_MASK, PPCVEC, { VD, VA, VB } },
2329{ "vsum2sws", VX(4, 1672), VX_MASK, PPCVEC, { VD, VA, VB } },
2330{ "vsum4sbs", VX(4, 1800), VX_MASK, PPCVEC, { VD, VA, VB } },
2331{ "vsum4shs", VX(4, 1608), VX_MASK, PPCVEC, { VD, VA, VB } },
2332{ "vsum4ubs", VX(4, 1544), VX_MASK, PPCVEC, { VD, VA, VB } },
2333{ "vupkhpx", VX(4, 846), VX_MASK, PPCVEC, { VD, VB } },
2334{ "vupkhsb", VX(4, 526), VX_MASK, PPCVEC, { VD, VB } },
2335{ "vupkhsh", VX(4, 590), VX_MASK, PPCVEC, { VD, VB } },
2336{ "vupklpx", VX(4, 974), VX_MASK, PPCVEC, { VD, VB } },
2337{ "vupklsb", VX(4, 654), VX_MASK, PPCVEC, { VD, VB } },
2338{ "vupklsh", VX(4, 718), VX_MASK, PPCVEC, { VD, VB } },
2339{ "vxor", VX(4, 1220), VX_MASK, PPCVEC, { VD, VA, VB } },
2340
2341{ "evaddw", VX(4, 512), VX_MASK, PPCSPE, { RS, RA, RB } },
2342{ "evaddiw", VX(4, 514), VX_MASK, PPCSPE, { RS, RB, UIMM } },
2343{ "evsubfw", VX(4, 516), VX_MASK, PPCSPE, { RS, RA, RB } },
2344{ "evsubw", VX(4, 516), VX_MASK, PPCSPE, { RS, RB, RA } },
2345{ "evsubifw", VX(4, 518), VX_MASK, PPCSPE, { RS, UIMM, RB } },
2346{ "evsubiw", VX(4, 518), VX_MASK, PPCSPE, { RS, RB, UIMM } },
2347{ "evabs", VX(4, 520), VX_MASK, PPCSPE, { RS, RA } },
2348{ "evneg", VX(4, 521), VX_MASK, PPCSPE, { RS, RA } },
2349{ "evextsb", VX(4, 522), VX_MASK, PPCSPE, { RS, RA } },
2350{ "evextsh", VX(4, 523), VX_MASK, PPCSPE, { RS, RA } },
2351{ "evrndw", VX(4, 524), VX_MASK, PPCSPE, { RS, RA } },
2352{ "evcntlzw", VX(4, 525), VX_MASK, PPCSPE, { RS, RA } },
2353{ "evcntlsw", VX(4, 526), VX_MASK, PPCSPE, { RS, RA } },
2354
2355{ "brinc", VX(4, 527), VX_MASK, PPCSPE, { RS, RA, RB } },
2356
2357{ "evand", VX(4, 529), VX_MASK, PPCSPE, { RS, RA, RB } },
2358{ "evandc", VX(4, 530), VX_MASK, PPCSPE, { RS, RA, RB } },
2359{ "evmr", VX(4, 535), VX_MASK, PPCSPE, { RS, RA, BBA } },
2360{ "evor", VX(4, 535), VX_MASK, PPCSPE, { RS, RA, RB } },
2361{ "evorc", VX(4, 539), VX_MASK, PPCSPE, { RS, RA, RB } },
2362{ "evxor", VX(4, 534), VX_MASK, PPCSPE, { RS, RA, RB } },
2363{ "eveqv", VX(4, 537), VX_MASK, PPCSPE, { RS, RA, RB } },
2364{ "evnand", VX(4, 542), VX_MASK, PPCSPE, { RS, RA, RB } },
2365{ "evnot", VX(4, 536), VX_MASK, PPCSPE, { RS, RA, BBA } },
2366{ "evnor", VX(4, 536), VX_MASK, PPCSPE, { RS, RA, RB } },
2367
2368{ "evrlw", VX(4, 552), VX_MASK, PPCSPE, { RS, RA, RB } },
2369{ "evrlwi", VX(4, 554), VX_MASK, PPCSPE, { RS, RA, EVUIMM } },
2370{ "evslw", VX(4, 548), VX_MASK, PPCSPE, { RS, RA, RB } },
2371{ "evslwi", VX(4, 550), VX_MASK, PPCSPE, { RS, RA, EVUIMM } },
2372{ "evsrws", VX(4, 545), VX_MASK, PPCSPE, { RS, RA, RB } },
2373{ "evsrwu", VX(4, 544), VX_MASK, PPCSPE, { RS, RA, RB } },
2374{ "evsrwis", VX(4, 547), VX_MASK, PPCSPE, { RS, RA, EVUIMM } },
2375{ "evsrwiu", VX(4, 546), VX_MASK, PPCSPE, { RS, RA, EVUIMM } },
2376{ "evsplati", VX(4, 553), VX_MASK, PPCSPE, { RS, SIMM } },
2377{ "evsplatfi", VX(4, 555), VX_MASK, PPCSPE, { RS, SIMM } },
2378{ "evmergehi", VX(4, 556), VX_MASK, PPCSPE, { RS, RA, RB } },
2379{ "evmergelo", VX(4, 557), VX_MASK, PPCSPE, { RS, RA, RB } },
2380{ "evmergehilo",VX(4,558), VX_MASK, PPCSPE, { RS, RA, RB } },
2381{ "evmergelohi",VX(4,559), VX_MASK, PPCSPE, { RS, RA, RB } },
2382
2383{ "evcmpgts", VX(4, 561), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2384{ "evcmpgtu", VX(4, 560), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2385{ "evcmplts", VX(4, 563), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2386{ "evcmpltu", VX(4, 562), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2387{ "evcmpeq", VX(4, 564), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2388{ "evsel", EVSEL(4,79),EVSEL_MASK, PPCSPE, { RS, RA, RB, CRFS } },
2389
2390{ "evldd", VX(4, 769), VX_MASK, PPCSPE, { RS, EVUIMM_8, RA } },
2391{ "evlddx", VX(4, 768), VX_MASK, PPCSPE, { RS, RA, RB } },
2392{ "evldw", VX(4, 771), VX_MASK, PPCSPE, { RS, EVUIMM_8, RA } },
2393{ "evldwx", VX(4, 770), VX_MASK, PPCSPE, { RS, RA, RB } },
2394{ "evldh", VX(4, 773), VX_MASK, PPCSPE, { RS, EVUIMM_8, RA } },
2395{ "evldhx", VX(4, 772), VX_MASK, PPCSPE, { RS, RA, RB } },
2396{ "evlwhe", VX(4, 785), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2397{ "evlwhex", VX(4, 784), VX_MASK, PPCSPE, { RS, RA, RB } },
2398{ "evlwhou", VX(4, 789), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2399{ "evlwhoux", VX(4, 788), VX_MASK, PPCSPE, { RS, RA, RB } },
2400{ "evlwhos", VX(4, 791), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2401{ "evlwhosx", VX(4, 790), VX_MASK, PPCSPE, { RS, RA, RB } },
2402{ "evlwwsplat",VX(4, 793), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2403{ "evlwwsplatx",VX(4, 792), VX_MASK, PPCSPE, { RS, RA, RB } },
2404{ "evlwhsplat",VX(4, 797), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2405{ "evlwhsplatx",VX(4, 796), VX_MASK, PPCSPE, { RS, RA, RB } },
2406{ "evlhhesplat",VX(4, 777), VX_MASK, PPCSPE, { RS, EVUIMM_2, RA } },
2407{ "evlhhesplatx",VX(4, 776), VX_MASK, PPCSPE, { RS, RA, RB } },
2408{ "evlhhousplat",VX(4, 781), VX_MASK, PPCSPE, { RS, EVUIMM_2, RA } },
2409{ "evlhhousplatx",VX(4, 780), VX_MASK, PPCSPE, { RS, RA, RB } },
2410{ "evlhhossplat",VX(4, 783), VX_MASK, PPCSPE, { RS, EVUIMM_2, RA } },
2411{ "evlhhossplatx",VX(4, 782), VX_MASK, PPCSPE, { RS, RA, RB } },
2412
2413{ "evstdd", VX(4, 801), VX_MASK, PPCSPE, { RS, EVUIMM_8, RA } },
2414{ "evstddx", VX(4, 800), VX_MASK, PPCSPE, { RS, RA, RB } },
2415{ "evstdw", VX(4, 803), VX_MASK, PPCSPE, { RS, EVUIMM_8, RA } },
2416{ "evstdwx", VX(4, 802), VX_MASK, PPCSPE, { RS, RA, RB } },
2417{ "evstdh", VX(4, 805), VX_MASK, PPCSPE, { RS, EVUIMM_8, RA } },
2418{ "evstdhx", VX(4, 804), VX_MASK, PPCSPE, { RS, RA, RB } },
2419{ "evstwwe", VX(4, 825), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2420{ "evstwwex", VX(4, 824), VX_MASK, PPCSPE, { RS, RA, RB } },
2421{ "evstwwo", VX(4, 829), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2422{ "evstwwox", VX(4, 828), VX_MASK, PPCSPE, { RS, RA, RB } },
2423{ "evstwhe", VX(4, 817), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2424{ "evstwhex", VX(4, 816), VX_MASK, PPCSPE, { RS, RA, RB } },
2425{ "evstwho", VX(4, 821), VX_MASK, PPCSPE, { RS, EVUIMM_4, RA } },
2426{ "evstwhox", VX(4, 820), VX_MASK, PPCSPE, { RS, RA, RB } },
2427
2428{ "evfsabs", VX(4, 644), VX_MASK, PPCSPE, { RS, RA } },
2429{ "evfsnabs", VX(4, 645), VX_MASK, PPCSPE, { RS, RA } },
2430{ "evfsneg", VX(4, 646), VX_MASK, PPCSPE, { RS, RA } },
2431{ "evfsadd", VX(4, 640), VX_MASK, PPCSPE, { RS, RA, RB } },
2432{ "evfssub", VX(4, 641), VX_MASK, PPCSPE, { RS, RA, RB } },
2433{ "evfsmul", VX(4, 648), VX_MASK, PPCSPE, { RS, RA, RB } },
2434{ "evfsdiv", VX(4, 649), VX_MASK, PPCSPE, { RS, RA, RB } },
2435{ "evfscmpgt", VX(4, 652), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2436{ "evfscmplt", VX(4, 653), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2437{ "evfscmpeq", VX(4, 654), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2438{ "evfststgt", VX(4, 668), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2439{ "evfststlt", VX(4, 669), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2440{ "evfststeq", VX(4, 670), VX_MASK, PPCSPE, { CRFD, RA, RB } },
2441{ "evfscfui", VX(4, 656), VX_MASK, PPCSPE, { RS, RB } },
2442{ "evfsctuiz", VX(4, 664), VX_MASK, PPCSPE, { RS, RB } },
2443{ "evfscfsi", VX(4, 657), VX_MASK, PPCSPE, { RS, RB } },
2444{ "evfscfuf", VX(4, 658), VX_MASK, PPCSPE, { RS, RB } },
2445{ "evfscfsf", VX(4, 659), VX_MASK, PPCSPE, { RS, RB } },
2446{ "evfsctui", VX(4, 660), VX_MASK, PPCSPE, { RS, RB } },
2447{ "evfsctsi", VX(4, 661), VX_MASK, PPCSPE, { RS, RB } },
2448{ "evfsctsiz", VX(4, 666), VX_MASK, PPCSPE, { RS, RB } },
2449{ "evfsctuf", VX(4, 662), VX_MASK, PPCSPE, { RS, RB } },
2450{ "evfsctsf", VX(4, 663), VX_MASK, PPCSPE, { RS, RB } },
2451
2452{ "efsabs", VX(4, 708), VX_MASK, PPCEFS, { RS, RA } },
2453{ "efsnabs", VX(4, 709), VX_MASK, PPCEFS, { RS, RA } },
2454{ "efsneg", VX(4, 710), VX_MASK, PPCEFS, { RS, RA } },
2455{ "efsadd", VX(4, 704), VX_MASK, PPCEFS, { RS, RA, RB } },
2456{ "efssub", VX(4, 705), VX_MASK, PPCEFS, { RS, RA, RB } },
2457{ "efsmul", VX(4, 712), VX_MASK, PPCEFS, { RS, RA, RB } },
2458{ "efsdiv", VX(4, 713), VX_MASK, PPCEFS, { RS, RA, RB } },
2459{ "efscmpgt", VX(4, 716), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2460{ "efscmplt", VX(4, 717), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2461{ "efscmpeq", VX(4, 718), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2462{ "efststgt", VX(4, 732), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2463{ "efststlt", VX(4, 733), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2464{ "efststeq", VX(4, 734), VX_MASK, PPCEFS, { CRFD, RA, RB } },
2465{ "efscfui", VX(4, 720), VX_MASK, PPCEFS, { RS, RB } },
2466{ "efsctuiz", VX(4, 728), VX_MASK, PPCEFS, { RS, RB } },
2467{ "efscfsi", VX(4, 721), VX_MASK, PPCEFS, { RS, RB } },
2468{ "efscfuf", VX(4, 722), VX_MASK, PPCEFS, { RS, RB } },
2469{ "efscfsf", VX(4, 723), VX_MASK, PPCEFS, { RS, RB } },
2470{ "efsctui", VX(4, 724), VX_MASK, PPCEFS, { RS, RB } },
2471{ "efsctsi", VX(4, 725), VX_MASK, PPCEFS, { RS, RB } },
2472{ "efsctsiz", VX(4, 730), VX_MASK, PPCEFS, { RS, RB } },
2473{ "efsctuf", VX(4, 726), VX_MASK, PPCEFS, { RS, RB } },
2474{ "efsctsf", VX(4, 727), VX_MASK, PPCEFS, { RS, RB } },
2475
2476{ "evmhossf", VX(4, 1031), VX_MASK, PPCSPE, { RS, RA, RB } },
2477{ "evmhossfa", VX(4, 1063), VX_MASK, PPCSPE, { RS, RA, RB } },
2478{ "evmhosmf", VX(4, 1039), VX_MASK, PPCSPE, { RS, RA, RB } },
2479{ "evmhosmfa", VX(4, 1071), VX_MASK, PPCSPE, { RS, RA, RB } },
2480{ "evmhosmi", VX(4, 1037), VX_MASK, PPCSPE, { RS, RA, RB } },
2481{ "evmhosmia", VX(4, 1069), VX_MASK, PPCSPE, { RS, RA, RB } },
2482{ "evmhoumi", VX(4, 1036), VX_MASK, PPCSPE, { RS, RA, RB } },
2483{ "evmhoumia", VX(4, 1068), VX_MASK, PPCSPE, { RS, RA, RB } },
2484{ "evmhessf", VX(4, 1027), VX_MASK, PPCSPE, { RS, RA, RB } },
2485{ "evmhessfa", VX(4, 1059), VX_MASK, PPCSPE, { RS, RA, RB } },
2486{ "evmhesmf", VX(4, 1035), VX_MASK, PPCSPE, { RS, RA, RB } },
2487{ "evmhesmfa", VX(4, 1067), VX_MASK, PPCSPE, { RS, RA, RB } },
2488{ "evmhesmi", VX(4, 1033), VX_MASK, PPCSPE, { RS, RA, RB } },
2489{ "evmhesmia", VX(4, 1065), VX_MASK, PPCSPE, { RS, RA, RB } },
2490{ "evmheumi", VX(4, 1032), VX_MASK, PPCSPE, { RS, RA, RB } },
2491{ "evmheumia", VX(4, 1064), VX_MASK, PPCSPE, { RS, RA, RB } },
2492
2493{ "evmhossfaaw",VX(4, 1287), VX_MASK, PPCSPE, { RS, RA, RB } },
2494{ "evmhossiaaw",VX(4, 1285), VX_MASK, PPCSPE, { RS, RA, RB } },
2495{ "evmhosmfaaw",VX(4, 1295), VX_MASK, PPCSPE, { RS, RA, RB } },
2496{ "evmhosmiaaw",VX(4, 1293), VX_MASK, PPCSPE, { RS, RA, RB } },
2497{ "evmhousiaaw",VX(4, 1284), VX_MASK, PPCSPE, { RS, RA, RB } },
2498{ "evmhoumiaaw",VX(4, 1292), VX_MASK, PPCSPE, { RS, RA, RB } },
2499{ "evmhessfaaw",VX(4, 1283), VX_MASK, PPCSPE, { RS, RA, RB } },
2500{ "evmhessiaaw",VX(4, 1281), VX_MASK, PPCSPE, { RS, RA, RB } },
2501{ "evmhesmfaaw",VX(4, 1291), VX_MASK, PPCSPE, { RS, RA, RB } },
2502{ "evmhesmiaaw",VX(4, 1289), VX_MASK, PPCSPE, { RS, RA, RB } },
2503{ "evmheusiaaw",VX(4, 1280), VX_MASK, PPCSPE, { RS, RA, RB } },
2504{ "evmheumiaaw",VX(4, 1288), VX_MASK, PPCSPE, { RS, RA, RB } },
2505
2506{ "evmhossfanw",VX(4, 1415), VX_MASK, PPCSPE, { RS, RA, RB } },
2507{ "evmhossianw",VX(4, 1413), VX_MASK, PPCSPE, { RS, RA, RB } },
2508{ "evmhosmfanw",VX(4, 1423), VX_MASK, PPCSPE, { RS, RA, RB } },
2509{ "evmhosmianw",VX(4, 1421), VX_MASK, PPCSPE, { RS, RA, RB } },
2510{ "evmhousianw",VX(4, 1412), VX_MASK, PPCSPE, { RS, RA, RB } },
2511{ "evmhoumianw",VX(4, 1420), VX_MASK, PPCSPE, { RS, RA, RB } },
2512{ "evmhessfanw",VX(4, 1411), VX_MASK, PPCSPE, { RS, RA, RB } },
2513{ "evmhessianw",VX(4, 1409), VX_MASK, PPCSPE, { RS, RA, RB } },
2514{ "evmhesmfanw",VX(4, 1419), VX_MASK, PPCSPE, { RS, RA, RB } },
2515{ "evmhesmianw",VX(4, 1417), VX_MASK, PPCSPE, { RS, RA, RB } },
2516{ "evmheusianw",VX(4, 1408), VX_MASK, PPCSPE, { RS, RA, RB } },
2517{ "evmheumianw",VX(4, 1416), VX_MASK, PPCSPE, { RS, RA, RB } },
2518
2519{ "evmhogsmfaa",VX(4, 1327), VX_MASK, PPCSPE, { RS, RA, RB } },
2520{ "evmhogsmiaa",VX(4, 1325), VX_MASK, PPCSPE, { RS, RA, RB } },
2521{ "evmhogumiaa",VX(4, 1324), VX_MASK, PPCSPE, { RS, RA, RB } },
2522{ "evmhegsmfaa",VX(4, 1323), VX_MASK, PPCSPE, { RS, RA, RB } },
2523{ "evmhegsmiaa",VX(4, 1321), VX_MASK, PPCSPE, { RS, RA, RB } },
2524{ "evmhegumiaa",VX(4, 1320), VX_MASK, PPCSPE, { RS, RA, RB } },
2525
2526{ "evmhogsmfan",VX(4, 1455), VX_MASK, PPCSPE, { RS, RA, RB } },
2527{ "evmhogsmian",VX(4, 1453), VX_MASK, PPCSPE, { RS, RA, RB } },
2528{ "evmhogumian",VX(4, 1452), VX_MASK, PPCSPE, { RS, RA, RB } },
2529{ "evmhegsmfan",VX(4, 1451), VX_MASK, PPCSPE, { RS, RA, RB } },
2530{ "evmhegsmian",VX(4, 1449), VX_MASK, PPCSPE, { RS, RA, RB } },
2531{ "evmhegumian",VX(4, 1448), VX_MASK, PPCSPE, { RS, RA, RB } },
2532
2533{ "evmwhssf", VX(4, 1095), VX_MASK, PPCSPE, { RS, RA, RB } },
2534{ "evmwhssfa", VX(4, 1127), VX_MASK, PPCSPE, { RS, RA, RB } },
2535{ "evmwhsmf", VX(4, 1103), VX_MASK, PPCSPE, { RS, RA, RB } },
2536{ "evmwhsmfa", VX(4, 1135), VX_MASK, PPCSPE, { RS, RA, RB } },
2537{ "evmwhsmi", VX(4, 1101), VX_MASK, PPCSPE, { RS, RA, RB } },
2538{ "evmwhsmia", VX(4, 1133), VX_MASK, PPCSPE, { RS, RA, RB } },
2539{ "evmwhumi", VX(4, 1100), VX_MASK, PPCSPE, { RS, RA, RB } },
2540{ "evmwhumia", VX(4, 1132), VX_MASK, PPCSPE, { RS, RA, RB } },
2541
2542{ "evmwlumi", VX(4, 1096), VX_MASK, PPCSPE, { RS, RA, RB } },
2543{ "evmwlumia", VX(4, 1128), VX_MASK, PPCSPE, { RS, RA, RB } },
2544
2545{ "evmwlssiaaw",VX(4, 1345), VX_MASK, PPCSPE, { RS, RA, RB } },
2546{ "evmwlsmiaaw",VX(4, 1353), VX_MASK, PPCSPE, { RS, RA, RB } },
2547{ "evmwlusiaaw",VX(4, 1344), VX_MASK, PPCSPE, { RS, RA, RB } },
2548{ "evmwlumiaaw",VX(4, 1352), VX_MASK, PPCSPE, { RS, RA, RB } },
2549
2550{ "evmwlssianw",VX(4, 1473), VX_MASK, PPCSPE, { RS, RA, RB } },
2551{ "evmwlsmianw",VX(4, 1481), VX_MASK, PPCSPE, { RS, RA, RB } },
2552{ "evmwlusianw",VX(4, 1472), VX_MASK, PPCSPE, { RS, RA, RB } },
2553{ "evmwlumianw",VX(4, 1480), VX_MASK, PPCSPE, { RS, RA, RB } },
2554
2555{ "evmwssf", VX(4, 1107), VX_MASK, PPCSPE, { RS, RA, RB } },
2556{ "evmwssfa", VX(4, 1139), VX_MASK, PPCSPE, { RS, RA, RB } },
2557{ "evmwsmf", VX(4, 1115), VX_MASK, PPCSPE, { RS, RA, RB } },
2558{ "evmwsmfa", VX(4, 1147), VX_MASK, PPCSPE, { RS, RA, RB } },
2559{ "evmwsmi", VX(4, 1113), VX_MASK, PPCSPE, { RS, RA, RB } },
2560{ "evmwsmia", VX(4, 1145), VX_MASK, PPCSPE, { RS, RA, RB } },
2561{ "evmwumi", VX(4, 1112), VX_MASK, PPCSPE, { RS, RA, RB } },
2562{ "evmwumia", VX(4, 1144), VX_MASK, PPCSPE, { RS, RA, RB } },
2563
2564{ "evmwssfaa", VX(4, 1363), VX_MASK, PPCSPE, { RS, RA, RB } },
2565{ "evmwsmfaa", VX(4, 1371), VX_MASK, PPCSPE, { RS, RA, RB } },
2566{ "evmwsmiaa", VX(4, 1369), VX_MASK, PPCSPE, { RS, RA, RB } },
2567{ "evmwumiaa", VX(4, 1368), VX_MASK, PPCSPE, { RS, RA, RB } },
2568
2569{ "evmwssfan", VX(4, 1491), VX_MASK, PPCSPE, { RS, RA, RB } },
2570{ "evmwsmfan", VX(4, 1499), VX_MASK, PPCSPE, { RS, RA, RB } },
2571{ "evmwsmian", VX(4, 1497), VX_MASK, PPCSPE, { RS, RA, RB } },
2572{ "evmwumian", VX(4, 1496), VX_MASK, PPCSPE, { RS, RA, RB } },
2573
2574{ "evaddssiaaw",VX(4, 1217), VX_MASK, PPCSPE, { RS, RA } },
2575{ "evaddsmiaaw",VX(4, 1225), VX_MASK, PPCSPE, { RS, RA } },
2576{ "evaddusiaaw",VX(4, 1216), VX_MASK, PPCSPE, { RS, RA } },
2577{ "evaddumiaaw",VX(4, 1224), VX_MASK, PPCSPE, { RS, RA } },
2578
2579{ "evsubfssiaaw",VX(4, 1219), VX_MASK, PPCSPE, { RS, RA } },
2580{ "evsubfsmiaaw",VX(4, 1227), VX_MASK, PPCSPE, { RS, RA } },
2581{ "evsubfusiaaw",VX(4, 1218), VX_MASK, PPCSPE, { RS, RA } },
2582{ "evsubfumiaaw",VX(4, 1226), VX_MASK, PPCSPE, { RS, RA } },
2583
2584{ "evmra", VX(4, 1220), VX_MASK, PPCSPE, { RS, RA } },
2585
2586{ "evdivws", VX(4, 1222), VX_MASK, PPCSPE, { RS, RA, RB } },
2587{ "evdivwu", VX(4, 1223), VX_MASK, PPCSPE, { RS, RA, RB } },
2588
2589{ "mulli", OP(7), OP_MASK, PPCCOM, { RT, RA, SI } },
2590{ "muli", OP(7), OP_MASK, PWRCOM, { RT, RA, SI } },
2591
2592{ "subfic", OP(8), OP_MASK, PPCCOM, { RT, RA, SI } },
2593{ "sfi", OP(8), OP_MASK, PWRCOM, { RT, RA, SI } },
2594
2595{ "dozi", OP(9), OP_MASK, M601, { RT, RA, SI } },
2596
2597{ "bce", B(9,0,0), B_MASK, BOOKE64, { BO, BI, BD } },
2598{ "bcel", B(9,0,1), B_MASK, BOOKE64, { BO, BI, BD } },
2599{ "bcea", B(9,1,0), B_MASK, BOOKE64, { BO, BI, BDA } },
2600{ "bcela", B(9,1,1), B_MASK, BOOKE64, { BO, BI, BDA } },
2601
2602{ "cmplwi", OPL(10,0), OPL_MASK, PPCCOM, { OBF, RA, UI } },
2603{ "cmpldi", OPL(10,1), OPL_MASK, PPC64, { OBF, RA, UI } },
2604{ "cmpli", OP(10), OP_MASK, PPC, { BF, L, RA, UI } },
2605{ "cmpli", OP(10), OP_MASK, PWRCOM, { BF, RA, UI } },
2606
2607{ "cmpwi", OPL(11,0), OPL_MASK, PPCCOM, { OBF, RA, SI } },
2608{ "cmpdi", OPL(11,1), OPL_MASK, PPC64, { OBF, RA, SI } },
2609{ "cmpi", OP(11), OP_MASK, PPC, { BF, L, RA, SI } },
2610{ "cmpi", OP(11), OP_MASK, PWRCOM, { BF, RA, SI } },
2611
2612{ "addic", OP(12), OP_MASK, PPCCOM, { RT, RA, SI } },
2613{ "ai", OP(12), OP_MASK, PWRCOM, { RT, RA, SI } },
2614{ "subic", OP(12), OP_MASK, PPCCOM, { RT, RA, NSI } },
2615
2616{ "addic.", OP(13), OP_MASK, PPCCOM, { RT, RA, SI } },
2617{ "ai.", OP(13), OP_MASK, PWRCOM, { RT, RA, SI } },
2618{ "subic.", OP(13), OP_MASK, PPCCOM, { RT, RA, NSI } },
2619
2620{ "li", OP(14), DRA_MASK, PPCCOM, { RT, SI } },
2621{ "lil", OP(14), DRA_MASK, PWRCOM, { RT, SI } },
2622{ "addi", OP(14), OP_MASK, PPCCOM, { RT, RA0, SI } },
2623{ "cal", OP(14), OP_MASK, PWRCOM, { RT, D, RA0 } },
2624{ "subi", OP(14), OP_MASK, PPCCOM, { RT, RA0, NSI } },
2625{ "la", OP(14), OP_MASK, PPCCOM, { RT, D, RA0 } },
2626
2627{ "lis", OP(15), DRA_MASK, PPCCOM, { RT, SISIGNOPT } },
2628{ "liu", OP(15), DRA_MASK, PWRCOM, { RT, SISIGNOPT } },
2629{ "addis", OP(15), OP_MASK, PPCCOM, { RT,RA0,SISIGNOPT } },
2630{ "cau", OP(15), OP_MASK, PWRCOM, { RT,RA0,SISIGNOPT } },
2631{ "subis", OP(15), OP_MASK, PPCCOM, { RT, RA0, NSI } },
2632
2633{ "bdnz-", BBO(16,BODNZ,0,0), BBOATBI_MASK, PPCCOM, { BDM } },
2634{ "bdnz+", BBO(16,BODNZ,0,0), BBOATBI_MASK, PPCCOM, { BDP } },
2635{ "bdnz", BBO(16,BODNZ,0,0), BBOATBI_MASK, PPCCOM, { BD } },
2636{ "bdn", BBO(16,BODNZ,0,0), BBOATBI_MASK, PWRCOM, { BD } },
2637{ "bdnzl-", BBO(16,BODNZ,0,1), BBOATBI_MASK, PPCCOM, { BDM } },
2638{ "bdnzl+", BBO(16,BODNZ,0,1), BBOATBI_MASK, PPCCOM, { BDP } },
2639{ "bdnzl", BBO(16,BODNZ,0,1), BBOATBI_MASK, PPCCOM, { BD } },
2640{ "bdnl", BBO(16,BODNZ,0,1), BBOATBI_MASK, PWRCOM, { BD } },
2641{ "bdnza-", BBO(16,BODNZ,1,0), BBOATBI_MASK, PPCCOM, { BDMA } },
2642{ "bdnza+", BBO(16,BODNZ,1,0), BBOATBI_MASK, PPCCOM, { BDPA } },
2643{ "bdnza", BBO(16,BODNZ,1,0), BBOATBI_MASK, PPCCOM, { BDA } },
2644{ "bdna", BBO(16,BODNZ,1,0), BBOATBI_MASK, PWRCOM, { BDA } },
2645{ "bdnzla-", BBO(16,BODNZ,1,1), BBOATBI_MASK, PPCCOM, { BDMA } },
2646{ "bdnzla+", BBO(16,BODNZ,1,1), BBOATBI_MASK, PPCCOM, { BDPA } },
2647{ "bdnzla", BBO(16,BODNZ,1,1), BBOATBI_MASK, PPCCOM, { BDA } },
2648{ "bdnla", BBO(16,BODNZ,1,1), BBOATBI_MASK, PWRCOM, { BDA } },
2649{ "bdz-", BBO(16,BODZ,0,0), BBOATBI_MASK, PPCCOM, { BDM } },
2650{ "bdz+", BBO(16,BODZ,0,0), BBOATBI_MASK, PPCCOM, { BDP } },
2651{ "bdz", BBO(16,BODZ,0,0), BBOATBI_MASK, COM, { BD } },
2652{ "bdzl-", BBO(16,BODZ,0,1), BBOATBI_MASK, PPCCOM, { BDM } },
2653{ "bdzl+", BBO(16,BODZ,0,1), BBOATBI_MASK, PPCCOM, { BDP } },
2654{ "bdzl", BBO(16,BODZ,0,1), BBOATBI_MASK, COM, { BD } },
2655{ "bdza-", BBO(16,BODZ,1,0), BBOATBI_MASK, PPCCOM, { BDMA } },
2656{ "bdza+", BBO(16,BODZ,1,0), BBOATBI_MASK, PPCCOM, { BDPA } },
2657{ "bdza", BBO(16,BODZ,1,0), BBOATBI_MASK, COM, { BDA } },
2658{ "bdzla-", BBO(16,BODZ,1,1), BBOATBI_MASK, PPCCOM, { BDMA } },
2659{ "bdzla+", BBO(16,BODZ,1,1), BBOATBI_MASK, PPCCOM, { BDPA } },
2660{ "bdzla", BBO(16,BODZ,1,1), BBOATBI_MASK, COM, { BDA } },
2661{ "blt-", BBOCB(16,BOT,CBLT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2662{ "blt+", BBOCB(16,BOT,CBLT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2663{ "blt", BBOCB(16,BOT,CBLT,0,0), BBOATCB_MASK, COM, { CR, BD } },
2664{ "bltl-", BBOCB(16,BOT,CBLT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2665{ "bltl+", BBOCB(16,BOT,CBLT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2666{ "bltl", BBOCB(16,BOT,CBLT,0,1), BBOATCB_MASK, COM, { CR, BD } },
2667{ "blta-", BBOCB(16,BOT,CBLT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2668{ "blta+", BBOCB(16,BOT,CBLT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2669{ "blta", BBOCB(16,BOT,CBLT,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2670{ "bltla-", BBOCB(16,BOT,CBLT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2671{ "bltla+", BBOCB(16,BOT,CBLT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2672{ "bltla", BBOCB(16,BOT,CBLT,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2673{ "bgt-", BBOCB(16,BOT,CBGT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2674{ "bgt+", BBOCB(16,BOT,CBGT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2675{ "bgt", BBOCB(16,BOT,CBGT,0,0), BBOATCB_MASK, COM, { CR, BD } },
2676{ "bgtl-", BBOCB(16,BOT,CBGT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2677{ "bgtl+", BBOCB(16,BOT,CBGT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2678{ "bgtl", BBOCB(16,BOT,CBGT,0,1), BBOATCB_MASK, COM, { CR, BD } },
2679{ "bgta-", BBOCB(16,BOT,CBGT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2680{ "bgta+", BBOCB(16,BOT,CBGT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2681{ "bgta", BBOCB(16,BOT,CBGT,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2682{ "bgtla-", BBOCB(16,BOT,CBGT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2683{ "bgtla+", BBOCB(16,BOT,CBGT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2684{ "bgtla", BBOCB(16,BOT,CBGT,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2685{ "beq-", BBOCB(16,BOT,CBEQ,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2686{ "beq+", BBOCB(16,BOT,CBEQ,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2687{ "beq", BBOCB(16,BOT,CBEQ,0,0), BBOATCB_MASK, COM, { CR, BD } },
2688{ "beql-", BBOCB(16,BOT,CBEQ,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2689{ "beql+", BBOCB(16,BOT,CBEQ,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2690{ "beql", BBOCB(16,BOT,CBEQ,0,1), BBOATCB_MASK, COM, { CR, BD } },
2691{ "beqa-", BBOCB(16,BOT,CBEQ,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2692{ "beqa+", BBOCB(16,BOT,CBEQ,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2693{ "beqa", BBOCB(16,BOT,CBEQ,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2694{ "beqla-", BBOCB(16,BOT,CBEQ,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2695{ "beqla+", BBOCB(16,BOT,CBEQ,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2696{ "beqla", BBOCB(16,BOT,CBEQ,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2697{ "bso-", BBOCB(16,BOT,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2698{ "bso+", BBOCB(16,BOT,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2699{ "bso", BBOCB(16,BOT,CBSO,0,0), BBOATCB_MASK, COM, { CR, BD } },
2700{ "bsol-", BBOCB(16,BOT,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2701{ "bsol+", BBOCB(16,BOT,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2702{ "bsol", BBOCB(16,BOT,CBSO,0,1), BBOATCB_MASK, COM, { CR, BD } },
2703{ "bsoa-", BBOCB(16,BOT,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2704{ "bsoa+", BBOCB(16,BOT,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2705{ "bsoa", BBOCB(16,BOT,CBSO,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2706{ "bsola-", BBOCB(16,BOT,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2707{ "bsola+", BBOCB(16,BOT,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2708{ "bsola", BBOCB(16,BOT,CBSO,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2709{ "bun-", BBOCB(16,BOT,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2710{ "bun+", BBOCB(16,BOT,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2711{ "bun", BBOCB(16,BOT,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BD } },
2712{ "bunl-", BBOCB(16,BOT,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2713{ "bunl+", BBOCB(16,BOT,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2714{ "bunl", BBOCB(16,BOT,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BD } },
2715{ "buna-", BBOCB(16,BOT,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2716{ "buna+", BBOCB(16,BOT,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2717{ "buna", BBOCB(16,BOT,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDA } },
2718{ "bunla-", BBOCB(16,BOT,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2719{ "bunla+", BBOCB(16,BOT,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2720{ "bunla", BBOCB(16,BOT,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDA } },
2721{ "bge-", BBOCB(16,BOF,CBLT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2722{ "bge+", BBOCB(16,BOF,CBLT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2723{ "bge", BBOCB(16,BOF,CBLT,0,0), BBOATCB_MASK, COM, { CR, BD } },
2724{ "bgel-", BBOCB(16,BOF,CBLT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2725{ "bgel+", BBOCB(16,BOF,CBLT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2726{ "bgel", BBOCB(16,BOF,CBLT,0,1), BBOATCB_MASK, COM, { CR, BD } },
2727{ "bgea-", BBOCB(16,BOF,CBLT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2728{ "bgea+", BBOCB(16,BOF,CBLT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2729{ "bgea", BBOCB(16,BOF,CBLT,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2730{ "bgela-", BBOCB(16,BOF,CBLT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2731{ "bgela+", BBOCB(16,BOF,CBLT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2732{ "bgela", BBOCB(16,BOF,CBLT,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2733{ "bnl-", BBOCB(16,BOF,CBLT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2734{ "bnl+", BBOCB(16,BOF,CBLT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2735{ "bnl", BBOCB(16,BOF,CBLT,0,0), BBOATCB_MASK, COM, { CR, BD } },
2736{ "bnll-", BBOCB(16,BOF,CBLT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2737{ "bnll+", BBOCB(16,BOF,CBLT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2738{ "bnll", BBOCB(16,BOF,CBLT,0,1), BBOATCB_MASK, COM, { CR, BD } },
2739{ "bnla-", BBOCB(16,BOF,CBLT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2740{ "bnla+", BBOCB(16,BOF,CBLT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2741{ "bnla", BBOCB(16,BOF,CBLT,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2742{ "bnlla-", BBOCB(16,BOF,CBLT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2743{ "bnlla+", BBOCB(16,BOF,CBLT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2744{ "bnlla", BBOCB(16,BOF,CBLT,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2745{ "ble-", BBOCB(16,BOF,CBGT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2746{ "ble+", BBOCB(16,BOF,CBGT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2747{ "ble", BBOCB(16,BOF,CBGT,0,0), BBOATCB_MASK, COM, { CR, BD } },
2748{ "blel-", BBOCB(16,BOF,CBGT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2749{ "blel+", BBOCB(16,BOF,CBGT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2750{ "blel", BBOCB(16,BOF,CBGT,0,1), BBOATCB_MASK, COM, { CR, BD } },
2751{ "blea-", BBOCB(16,BOF,CBGT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2752{ "blea+", BBOCB(16,BOF,CBGT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2753{ "blea", BBOCB(16,BOF,CBGT,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2754{ "blela-", BBOCB(16,BOF,CBGT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2755{ "blela+", BBOCB(16,BOF,CBGT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2756{ "blela", BBOCB(16,BOF,CBGT,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2757{ "bng-", BBOCB(16,BOF,CBGT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2758{ "bng+", BBOCB(16,BOF,CBGT,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2759{ "bng", BBOCB(16,BOF,CBGT,0,0), BBOATCB_MASK, COM, { CR, BD } },
2760{ "bngl-", BBOCB(16,BOF,CBGT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2761{ "bngl+", BBOCB(16,BOF,CBGT,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2762{ "bngl", BBOCB(16,BOF,CBGT,0,1), BBOATCB_MASK, COM, { CR, BD } },
2763{ "bnga-", BBOCB(16,BOF,CBGT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2764{ "bnga+", BBOCB(16,BOF,CBGT,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2765{ "bnga", BBOCB(16,BOF,CBGT,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2766{ "bngla-", BBOCB(16,BOF,CBGT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2767{ "bngla+", BBOCB(16,BOF,CBGT,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2768{ "bngla", BBOCB(16,BOF,CBGT,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2769{ "bne-", BBOCB(16,BOF,CBEQ,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2770{ "bne+", BBOCB(16,BOF,CBEQ,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2771{ "bne", BBOCB(16,BOF,CBEQ,0,0), BBOATCB_MASK, COM, { CR, BD } },
2772{ "bnel-", BBOCB(16,BOF,CBEQ,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2773{ "bnel+", BBOCB(16,BOF,CBEQ,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2774{ "bnel", BBOCB(16,BOF,CBEQ,0,1), BBOATCB_MASK, COM, { CR, BD } },
2775{ "bnea-", BBOCB(16,BOF,CBEQ,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2776{ "bnea+", BBOCB(16,BOF,CBEQ,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2777{ "bnea", BBOCB(16,BOF,CBEQ,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2778{ "bnela-", BBOCB(16,BOF,CBEQ,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2779{ "bnela+", BBOCB(16,BOF,CBEQ,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2780{ "bnela", BBOCB(16,BOF,CBEQ,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2781{ "bns-", BBOCB(16,BOF,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2782{ "bns+", BBOCB(16,BOF,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2783{ "bns", BBOCB(16,BOF,CBSO,0,0), BBOATCB_MASK, COM, { CR, BD } },
2784{ "bnsl-", BBOCB(16,BOF,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2785{ "bnsl+", BBOCB(16,BOF,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2786{ "bnsl", BBOCB(16,BOF,CBSO,0,1), BBOATCB_MASK, COM, { CR, BD } },
2787{ "bnsa-", BBOCB(16,BOF,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2788{ "bnsa+", BBOCB(16,BOF,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2789{ "bnsa", BBOCB(16,BOF,CBSO,1,0), BBOATCB_MASK, COM, { CR, BDA } },
2790{ "bnsla-", BBOCB(16,BOF,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2791{ "bnsla+", BBOCB(16,BOF,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2792{ "bnsla", BBOCB(16,BOF,CBSO,1,1), BBOATCB_MASK, COM, { CR, BDA } },
2793{ "bnu-", BBOCB(16,BOF,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2794{ "bnu+", BBOCB(16,BOF,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2795{ "bnu", BBOCB(16,BOF,CBSO,0,0), BBOATCB_MASK, PPCCOM, { CR, BD } },
2796{ "bnul-", BBOCB(16,BOF,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BDM } },
2797{ "bnul+", BBOCB(16,BOF,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BDP } },
2798{ "bnul", BBOCB(16,BOF,CBSO,0,1), BBOATCB_MASK, PPCCOM, { CR, BD } },
2799{ "bnua-", BBOCB(16,BOF,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2800{ "bnua+", BBOCB(16,BOF,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2801{ "bnua", BBOCB(16,BOF,CBSO,1,0), BBOATCB_MASK, PPCCOM, { CR, BDA } },
2802{ "bnula-", BBOCB(16,BOF,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDMA } },
2803{ "bnula+", BBOCB(16,BOF,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDPA } },
2804{ "bnula", BBOCB(16,BOF,CBSO,1,1), BBOATCB_MASK, PPCCOM, { CR, BDA } },
2805{ "bdnzt-", BBO(16,BODNZT,0,0), BBOY_MASK, NOPOWER4, { BI, BDM } },
2806{ "bdnzt+", BBO(16,BODNZT,0,0), BBOY_MASK, NOPOWER4, { BI, BDP } },
2807{ "bdnzt", BBO(16,BODNZT,0,0), BBOY_MASK, PPCCOM, { BI, BD } },
2808{ "bdnztl-", BBO(16,BODNZT,0,1), BBOY_MASK, NOPOWER4, { BI, BDM } },
2809{ "bdnztl+", BBO(16,BODNZT,0,1), BBOY_MASK, NOPOWER4, { BI, BDP } },
2810{ "bdnztl", BBO(16,BODNZT,0,1), BBOY_MASK, PPCCOM, { BI, BD } },
2811{ "bdnzta-", BBO(16,BODNZT,1,0), BBOY_MASK, NOPOWER4, { BI, BDMA } },
2812{ "bdnzta+", BBO(16,BODNZT,1,0), BBOY_MASK, NOPOWER4, { BI, BDPA } },
2813{ "bdnzta", BBO(16,BODNZT,1,0), BBOY_MASK, PPCCOM, { BI, BDA } },
2814{ "bdnztla-",BBO(16,BODNZT,1,1), BBOY_MASK, NOPOWER4, { BI, BDMA } },
2815{ "bdnztla+",BBO(16,BODNZT,1,1), BBOY_MASK, NOPOWER4, { BI, BDPA } },
2816{ "bdnztla", BBO(16,BODNZT,1,1), BBOY_MASK, PPCCOM, { BI, BDA } },
2817{ "bdnzf-", BBO(16,BODNZF,0,0), BBOY_MASK, NOPOWER4, { BI, BDM } },
2818{ "bdnzf+", BBO(16,BODNZF,0,0), BBOY_MASK, NOPOWER4, { BI, BDP } },
2819{ "bdnzf", BBO(16,BODNZF,0,0), BBOY_MASK, PPCCOM, { BI, BD } },
2820{ "bdnzfl-", BBO(16,BODNZF,0,1), BBOY_MASK, NOPOWER4, { BI, BDM } },
2821{ "bdnzfl+", BBO(16,BODNZF,0,1), BBOY_MASK, NOPOWER4, { BI, BDP } },
2822{ "bdnzfl", BBO(16,BODNZF,0,1), BBOY_MASK, PPCCOM, { BI, BD } },
2823{ "bdnzfa-", BBO(16,BODNZF,1,0), BBOY_MASK, NOPOWER4, { BI, BDMA } },
2824{ "bdnzfa+", BBO(16,BODNZF,1,0), BBOY_MASK, NOPOWER4, { BI, BDPA } },
2825{ "bdnzfa", BBO(16,BODNZF,1,0), BBOY_MASK, PPCCOM, { BI, BDA } },
2826{ "bdnzfla-",BBO(16,BODNZF,1,1), BBOY_MASK, NOPOWER4, { BI, BDMA } },
2827{ "bdnzfla+",BBO(16,BODNZF,1,1), BBOY_MASK, NOPOWER4, { BI, BDPA } },
2828{ "bdnzfla", BBO(16,BODNZF,1,1), BBOY_MASK, PPCCOM, { BI, BDA } },
2829{ "bt-", BBO(16,BOT,0,0), BBOAT_MASK, PPCCOM, { BI, BDM } },
2830{ "bt+", BBO(16,BOT,0,0), BBOAT_MASK, PPCCOM, { BI, BDP } },
2831{ "bt", BBO(16,BOT,0,0), BBOAT_MASK, PPCCOM, { BI, BD } },
2832{ "bbt", BBO(16,BOT,0,0), BBOAT_MASK, PWRCOM, { BI, BD } },
2833{ "btl-", BBO(16,BOT,0,1), BBOAT_MASK, PPCCOM, { BI, BDM } },
2834{ "btl+", BBO(16,BOT,0,1), BBOAT_MASK, PPCCOM, { BI, BDP } },
2835{ "btl", BBO(16,BOT,0,1), BBOAT_MASK, PPCCOM, { BI, BD } },
2836{ "bbtl", BBO(16,BOT,0,1), BBOAT_MASK, PWRCOM, { BI, BD } },
2837{ "bta-", BBO(16,BOT,1,0), BBOAT_MASK, PPCCOM, { BI, BDMA } },
2838{ "bta+", BBO(16,BOT,1,0), BBOAT_MASK, PPCCOM, { BI, BDPA } },
2839{ "bta", BBO(16,BOT,1,0), BBOAT_MASK, PPCCOM, { BI, BDA } },
2840{ "bbta", BBO(16,BOT,1,0), BBOAT_MASK, PWRCOM, { BI, BDA } },
2841{ "btla-", BBO(16,BOT,1,1), BBOAT_MASK, PPCCOM, { BI, BDMA } },
2842{ "btla+", BBO(16,BOT,1,1), BBOAT_MASK, PPCCOM, { BI, BDPA } },
2843{ "btla", BBO(16,BOT,1,1), BBOAT_MASK, PPCCOM, { BI, BDA } },
2844{ "bbtla", BBO(16,BOT,1,1), BBOAT_MASK, PWRCOM, { BI, BDA } },
2845{ "bf-", BBO(16,BOF,0,0), BBOAT_MASK, PPCCOM, { BI, BDM } },
2846{ "bf+", BBO(16,BOF,0,0), BBOAT_MASK, PPCCOM, { BI, BDP } },
2847{ "bf", BBO(16,BOF,0,0), BBOAT_MASK, PPCCOM, { BI, BD } },
2848{ "bbf", BBO(16,BOF,0,0), BBOAT_MASK, PWRCOM, { BI, BD } },
2849{ "bfl-", BBO(16,BOF,0,1), BBOAT_MASK, PPCCOM, { BI, BDM } },
2850{ "bfl+", BBO(16,BOF,0,1), BBOAT_MASK, PPCCOM, { BI, BDP } },
2851{ "bfl", BBO(16,BOF,0,1), BBOAT_MASK, PPCCOM, { BI, BD } },
2852{ "bbfl", BBO(16,BOF,0,1), BBOAT_MASK, PWRCOM, { BI, BD } },
2853{ "bfa-", BBO(16,BOF,1,0), BBOAT_MASK, PPCCOM, { BI, BDMA } },
2854{ "bfa+", BBO(16,BOF,1,0), BBOAT_MASK, PPCCOM, { BI, BDPA } },
2855{ "bfa", BBO(16,BOF,1,0), BBOAT_MASK, PPCCOM, { BI, BDA } },
2856{ "bbfa", BBO(16,BOF,1,0), BBOAT_MASK, PWRCOM, { BI, BDA } },
2857{ "bfla-", BBO(16,BOF,1,1), BBOAT_MASK, PPCCOM, { BI, BDMA } },
2858{ "bfla+", BBO(16,BOF,1,1), BBOAT_MASK, PPCCOM, { BI, BDPA } },
2859{ "bfla", BBO(16,BOF,1,1), BBOAT_MASK, PPCCOM, { BI, BDA } },
2860{ "bbfla", BBO(16,BOF,1,1), BBOAT_MASK, PWRCOM, { BI, BDA } },
2861{ "bdzt-", BBO(16,BODZT,0,0), BBOY_MASK, NOPOWER4, { BI, BDM } },
2862{ "bdzt+", BBO(16,BODZT,0,0), BBOY_MASK, NOPOWER4, { BI, BDP } },
2863{ "bdzt", BBO(16,BODZT,0,0), BBOY_MASK, PPCCOM, { BI, BD } },
2864{ "bdztl-", BBO(16,BODZT,0,1), BBOY_MASK, NOPOWER4, { BI, BDM } },
2865{ "bdztl+", BBO(16,BODZT,0,1), BBOY_MASK, NOPOWER4, { BI, BDP } },
2866{ "bdztl", BBO(16,BODZT,0,1), BBOY_MASK, PPCCOM, { BI, BD } },
2867{ "bdzta-", BBO(16,BODZT,1,0), BBOY_MASK, NOPOWER4, { BI, BDMA } },
2868{ "bdzta+", BBO(16,BODZT,1,0), BBOY_MASK, NOPOWER4, { BI, BDPA } },
2869{ "bdzta", BBO(16,BODZT,1,0), BBOY_MASK, PPCCOM, { BI, BDA } },
2870{ "bdztla-", BBO(16,BODZT,1,1), BBOY_MASK, NOPOWER4, { BI, BDMA } },
2871{ "bdztla+", BBO(16,BODZT,1,1), BBOY_MASK, NOPOWER4, { BI, BDPA } },
2872{ "bdztla", BBO(16,BODZT,1,1), BBOY_MASK, PPCCOM, { BI, BDA } },
2873{ "bdzf-", BBO(16,BODZF,0,0), BBOY_MASK, NOPOWER4, { BI, BDM } },
2874{ "bdzf+", BBO(16,BODZF,0,0), BBOY_MASK, NOPOWER4, { BI, BDP } },
2875{ "bdzf", BBO(16,BODZF,0,0), BBOY_MASK, PPCCOM, { BI, BD } },
2876{ "bdzfl-", BBO(16,BODZF,0,1), BBOY_MASK, NOPOWER4, { BI, BDM } },
2877{ "bdzfl+", BBO(16,BODZF,0,1), BBOY_MASK, NOPOWER4, { BI, BDP } },
2878{ "bdzfl", BBO(16,BODZF,0,1), BBOY_MASK, PPCCOM, { BI, BD } },
2879{ "bdzfa-", BBO(16,BODZF,1,0), BBOY_MASK, NOPOWER4, { BI, BDMA } },
2880{ "bdzfa+", BBO(16,BODZF,1,0), BBOY_MASK, NOPOWER4, { BI, BDPA } },
2881{ "bdzfa", BBO(16,BODZF,1,0), BBOY_MASK, PPCCOM, { BI, BDA } },
2882{ "bdzfla-", BBO(16,BODZF,1,1), BBOY_MASK, NOPOWER4, { BI, BDMA } },
2883{ "bdzfla+", BBO(16,BODZF,1,1), BBOY_MASK, NOPOWER4, { BI, BDPA } },
2884{ "bdzfla", BBO(16,BODZF,1,1), BBOY_MASK, PPCCOM, { BI, BDA } },
2885{ "bc-", B(16,0,0), B_MASK, PPCCOM, { BOE, BI, BDM } },
2886{ "bc+", B(16,0,0), B_MASK, PPCCOM, { BOE, BI, BDP } },
2887{ "bc", B(16,0,0), B_MASK, COM, { BO, BI, BD } },
2888{ "bcl-", B(16,0,1), B_MASK, PPCCOM, { BOE, BI, BDM } },
2889{ "bcl+", B(16,0,1), B_MASK, PPCCOM, { BOE, BI, BDP } },
2890{ "bcl", B(16,0,1), B_MASK, COM, { BO, BI, BD } },
2891{ "bca-", B(16,1,0), B_MASK, PPCCOM, { BOE, BI, BDMA } },
2892{ "bca+", B(16,1,0), B_MASK, PPCCOM, { BOE, BI, BDPA } },
2893{ "bca", B(16,1,0), B_MASK, COM, { BO, BI, BDA } },
2894{ "bcla-", B(16,1,1), B_MASK, PPCCOM, { BOE, BI, BDMA } },
2895{ "bcla+", B(16,1,1), B_MASK, PPCCOM, { BOE, BI, BDPA } },
2896{ "bcla", B(16,1,1), B_MASK, COM, { BO, BI, BDA } },
2897
2898{ "sc", SC(17,1,0), SC_MASK, PPC, { LEV } },
2899{ "svc", SC(17,0,0), SC_MASK, POWER, { SVC_LEV, FL1, FL2 } },
2900{ "svcl", SC(17,0,1), SC_MASK, POWER, { SVC_LEV, FL1, FL2 } },
2901{ "svca", SC(17,1,0), SC_MASK, PWRCOM, { SV } },
2902{ "svcla", SC(17,1,1), SC_MASK, POWER, { SV } },
2903
2904{ "b", B(18,0,0), B_MASK, COM, { LI } },
2905{ "bl", B(18,0,1), B_MASK, COM, { LI } },
2906{ "ba", B(18,1,0), B_MASK, COM, { LIA } },
2907{ "bla", B(18,1,1), B_MASK, COM, { LIA } },
2908
2909{ "mcrf", XL(19,0), XLBB_MASK|(3 << 21)|(3 << 16), COM, { BF, BFA } },
2910
2911{ "blr", XLO(19,BOU,16,0), XLBOBIBB_MASK, PPCCOM, { 0 } },
2912{ "br", XLO(19,BOU,16,0), XLBOBIBB_MASK, PWRCOM, { 0 } },
2913{ "blrl", XLO(19,BOU,16,1), XLBOBIBB_MASK, PPCCOM, { 0 } },
2914{ "brl", XLO(19,BOU,16,1), XLBOBIBB_MASK, PWRCOM, { 0 } },
2915{ "bdnzlr", XLO(19,BODNZ,16,0), XLBOBIBB_MASK, PPCCOM, { 0 } },
2916{ "bdnzlr-", XLO(19,BODNZ,16,0), XLBOBIBB_MASK, NOPOWER4, { 0 } },
2917{ "bdnzlr-", XLO(19,BODNZM4,16,0), XLBOBIBB_MASK, POWER4, { 0 } },
2918{ "bdnzlr+", XLO(19,BODNZP,16,0), XLBOBIBB_MASK, NOPOWER4, { 0 } },
2919{ "bdnzlr+", XLO(19,BODNZP4,16,0), XLBOBIBB_MASK, POWER4, { 0 } },
2920{ "bdnzlrl", XLO(19,BODNZ,16,1), XLBOBIBB_MASK, PPCCOM, { 0 } },
2921{ "bdnzlrl-",XLO(19,BODNZ,16,1), XLBOBIBB_MASK, NOPOWER4, { 0 } },
2922{ "bdnzlrl-",XLO(19,BODNZM4,16,1), XLBOBIBB_MASK, POWER4, { 0 } },
2923{ "bdnzlrl+",XLO(19,BODNZP,16,1), XLBOBIBB_MASK, NOPOWER4, { 0 } },
2924{ "bdnzlrl+",XLO(19,BODNZP4,16,1), XLBOBIBB_MASK, POWER4, { 0 } },
2925{ "bdzlr", XLO(19,BODZ,16,0), XLBOBIBB_MASK, PPCCOM, { 0 } },
2926{ "bdzlr-", XLO(19,BODZ,16,0), XLBOBIBB_MASK, NOPOWER4, { 0 } },
2927{ "bdzlr-", XLO(19,BODZM4,16,0), XLBOBIBB_MASK, POWER4, { 0 } },
2928{ "bdzlr+", XLO(19,BODZP,16,0), XLBOBIBB_MASK, NOPOWER4, { 0 } },
2929{ "bdzlr+", XLO(19,BODZP4,16,0), XLBOBIBB_MASK, POWER4, { 0 } },
2930{ "bdzlrl", XLO(19,BODZ,16,1), XLBOBIBB_MASK, PPCCOM, { 0 } },
2931{ "bdzlrl-", XLO(19,BODZ,16,1), XLBOBIBB_MASK, NOPOWER4, { 0 } },
2932{ "bdzlrl-", XLO(19,BODZM4,16,1), XLBOBIBB_MASK, POWER4, { 0 } },
2933{ "bdzlrl+", XLO(19,BODZP,16,1), XLBOBIBB_MASK, NOPOWER4, { 0 } },
2934{ "bdzlrl+", XLO(19,BODZP4,16,1), XLBOBIBB_MASK, POWER4, { 0 } },
2935{ "bltlr", XLOCB(19,BOT,CBLT,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2936{ "bltlr-", XLOCB(19,BOT,CBLT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2937{ "bltlr-", XLOCB(19,BOTM4,CBLT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2938{ "bltlr+", XLOCB(19,BOTP,CBLT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2939{ "bltlr+", XLOCB(19,BOTP4,CBLT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2940{ "bltr", XLOCB(19,BOT,CBLT,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
2941{ "bltlrl", XLOCB(19,BOT,CBLT,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2942{ "bltlrl-", XLOCB(19,BOT,CBLT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2943{ "bltlrl-", XLOCB(19,BOTM4,CBLT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2944{ "bltlrl+", XLOCB(19,BOTP,CBLT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2945{ "bltlrl+", XLOCB(19,BOTP4,CBLT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2946{ "bltrl", XLOCB(19,BOT,CBLT,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
2947{ "bgtlr", XLOCB(19,BOT,CBGT,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2948{ "bgtlr-", XLOCB(19,BOT,CBGT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2949{ "bgtlr-", XLOCB(19,BOTM4,CBGT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2950{ "bgtlr+", XLOCB(19,BOTP,CBGT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2951{ "bgtlr+", XLOCB(19,BOTP4,CBGT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2952{ "bgtr", XLOCB(19,BOT,CBGT,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
2953{ "bgtlrl", XLOCB(19,BOT,CBGT,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2954{ "bgtlrl-", XLOCB(19,BOT,CBGT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2955{ "bgtlrl-", XLOCB(19,BOTM4,CBGT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2956{ "bgtlrl+", XLOCB(19,BOTP,CBGT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2957{ "bgtlrl+", XLOCB(19,BOTP4,CBGT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2958{ "bgtrl", XLOCB(19,BOT,CBGT,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
2959{ "beqlr", XLOCB(19,BOT,CBEQ,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2960{ "beqlr-", XLOCB(19,BOT,CBEQ,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2961{ "beqlr-", XLOCB(19,BOTM4,CBEQ,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2962{ "beqlr+", XLOCB(19,BOTP,CBEQ,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2963{ "beqlr+", XLOCB(19,BOTP4,CBEQ,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2964{ "beqr", XLOCB(19,BOT,CBEQ,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
2965{ "beqlrl", XLOCB(19,BOT,CBEQ,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2966{ "beqlrl-", XLOCB(19,BOT,CBEQ,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2967{ "beqlrl-", XLOCB(19,BOTM4,CBEQ,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2968{ "beqlrl+", XLOCB(19,BOTP,CBEQ,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2969{ "beqlrl+", XLOCB(19,BOTP4,CBEQ,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2970{ "beqrl", XLOCB(19,BOT,CBEQ,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
2971{ "bsolr", XLOCB(19,BOT,CBSO,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2972{ "bsolr-", XLOCB(19,BOT,CBSO,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2973{ "bsolr-", XLOCB(19,BOTM4,CBSO,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2974{ "bsolr+", XLOCB(19,BOTP,CBSO,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2975{ "bsolr+", XLOCB(19,BOTP4,CBSO,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2976{ "bsor", XLOCB(19,BOT,CBSO,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
2977{ "bsolrl", XLOCB(19,BOT,CBSO,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2978{ "bsolrl-", XLOCB(19,BOT,CBSO,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2979{ "bsolrl-", XLOCB(19,BOTM4,CBSO,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2980{ "bsolrl+", XLOCB(19,BOTP,CBSO,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2981{ "bsolrl+", XLOCB(19,BOTP4,CBSO,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2982{ "bsorl", XLOCB(19,BOT,CBSO,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
2983{ "bunlr", XLOCB(19,BOT,CBSO,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2984{ "bunlr-", XLOCB(19,BOT,CBSO,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2985{ "bunlr-", XLOCB(19,BOTM4,CBSO,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2986{ "bunlr+", XLOCB(19,BOTP,CBSO,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2987{ "bunlr+", XLOCB(19,BOTP4,CBSO,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2988{ "bunlrl", XLOCB(19,BOT,CBSO,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
2989{ "bunlrl-", XLOCB(19,BOT,CBSO,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2990{ "bunlrl-", XLOCB(19,BOTM4,CBSO,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2991{ "bunlrl+", XLOCB(19,BOTP,CBSO,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
2992{ "bunlrl+", XLOCB(19,BOTP4,CBSO,16,1), XLBOCBBB_MASK, POWER4, { CR } },
2993{ "bgelr", XLOCB(19,BOF,CBLT,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
2994{ "bgelr-", XLOCB(19,BOF,CBLT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2995{ "bgelr-", XLOCB(19,BOFM4,CBLT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2996{ "bgelr+", XLOCB(19,BOFP,CBLT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
2997{ "bgelr+", XLOCB(19,BOFP4,CBLT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
2998{ "bger", XLOCB(19,BOF,CBLT,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
2999{ "bgelrl", XLOCB(19,BOF,CBLT,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3000{ "bgelrl-", XLOCB(19,BOF,CBLT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3001{ "bgelrl-", XLOCB(19,BOFM4,CBLT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
3002{ "bgelrl+", XLOCB(19,BOFP,CBLT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3003{ "bgelrl+", XLOCB(19,BOFP4,CBLT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
3004{ "bgerl", XLOCB(19,BOF,CBLT,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
3005{ "bnllr", XLOCB(19,BOF,CBLT,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3006{ "bnllr-", XLOCB(19,BOF,CBLT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3007{ "bnllr-", XLOCB(19,BOFM4,CBLT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
3008{ "bnllr+", XLOCB(19,BOFP,CBLT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3009{ "bnllr+", XLOCB(19,BOFP4,CBLT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
3010{ "bnlr", XLOCB(19,BOF,CBLT,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
3011{ "bnllrl", XLOCB(19,BOF,CBLT,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3012{ "bnllrl-", XLOCB(19,BOF,CBLT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3013{ "bnllrl-", XLOCB(19,BOFM4,CBLT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
3014{ "bnllrl+", XLOCB(19,BOFP,CBLT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3015{ "bnllrl+", XLOCB(19,BOFP4,CBLT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
3016{ "bnlrl", XLOCB(19,BOF,CBLT,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
3017{ "blelr", XLOCB(19,BOF,CBGT,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3018{ "blelr-", XLOCB(19,BOF,CBGT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3019{ "blelr-", XLOCB(19,BOFM4,CBGT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
3020{ "blelr+", XLOCB(19,BOFP,CBGT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3021{ "blelr+", XLOCB(19,BOFP4,CBGT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
3022{ "bler", XLOCB(19,BOF,CBGT,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
3023{ "blelrl", XLOCB(19,BOF,CBGT,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3024{ "blelrl-", XLOCB(19,BOF,CBGT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3025{ "blelrl-", XLOCB(19,BOFM4,CBGT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
3026{ "blelrl+", XLOCB(19,BOFP,CBGT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3027{ "blelrl+", XLOCB(19,BOFP4,CBGT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
3028{ "blerl", XLOCB(19,BOF,CBGT,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
3029{ "bnglr", XLOCB(19,BOF,CBGT,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3030{ "bnglr-", XLOCB(19,BOF,CBGT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3031{ "bnglr-", XLOCB(19,BOFM4,CBGT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
3032{ "bnglr+", XLOCB(19,BOFP,CBGT,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3033{ "bnglr+", XLOCB(19,BOFP4,CBGT,16,0), XLBOCBBB_MASK, POWER4, { CR } },
3034{ "bngr", XLOCB(19,BOF,CBGT,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
3035{ "bnglrl", XLOCB(19,BOF,CBGT,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3036{ "bnglrl-", XLOCB(19,BOF,CBGT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3037{ "bnglrl-", XLOCB(19,BOFM4,CBGT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
3038{ "bnglrl+", XLOCB(19,BOFP,CBGT,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3039{ "bnglrl+", XLOCB(19,BOFP4,CBGT,16,1), XLBOCBBB_MASK, POWER4, { CR } },
3040{ "bngrl", XLOCB(19,BOF,CBGT,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
3041{ "bnelr", XLOCB(19,BOF,CBEQ,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3042{ "bnelr-", XLOCB(19,BOF,CBEQ,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3043{ "bnelr-", XLOCB(19,BOFM4,CBEQ,16,0), XLBOCBBB_MASK, POWER4, { CR } },
3044{ "bnelr+", XLOCB(19,BOFP,CBEQ,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3045{ "bnelr+", XLOCB(19,BOFP4,CBEQ,16,0), XLBOCBBB_MASK, POWER4, { CR } },
3046{ "bner", XLOCB(19,BOF,CBEQ,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
3047{ "bnelrl", XLOCB(19,BOF,CBEQ,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3048{ "bnelrl-", XLOCB(19,BOF,CBEQ,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3049{ "bnelrl-", XLOCB(19,BOFM4,CBEQ,16,1), XLBOCBBB_MASK, POWER4, { CR } },
3050{ "bnelrl+", XLOCB(19,BOFP,CBEQ,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3051{ "bnelrl+", XLOCB(19,BOFP4,CBEQ,16,1), XLBOCBBB_MASK, POWER4, { CR } },
3052{ "bnerl", XLOCB(19,BOF,CBEQ,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
3053{ "bnslr", XLOCB(19,BOF,CBSO,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3054{ "bnslr-", XLOCB(19,BOF,CBSO,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3055{ "bnslr-", XLOCB(19,BOFM4,CBSO,16,0), XLBOCBBB_MASK, POWER4, { CR } },
3056{ "bnslr+", XLOCB(19,BOFP,CBSO,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3057{ "bnslr+", XLOCB(19,BOFP4,CBSO,16,0), XLBOCBBB_MASK, POWER4, { CR } },
3058{ "bnsr", XLOCB(19,BOF,CBSO,16,0), XLBOCBBB_MASK, PWRCOM, { CR } },
3059{ "bnslrl", XLOCB(19,BOF,CBSO,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3060{ "bnslrl-", XLOCB(19,BOF,CBSO,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3061{ "bnslrl-", XLOCB(19,BOFM4,CBSO,16,1), XLBOCBBB_MASK, POWER4, { CR } },
3062{ "bnslrl+", XLOCB(19,BOFP,CBSO,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3063{ "bnslrl+", XLOCB(19,BOFP4,CBSO,16,1), XLBOCBBB_MASK, POWER4, { CR } },
3064{ "bnsrl", XLOCB(19,BOF,CBSO,16,1), XLBOCBBB_MASK, PWRCOM, { CR } },
3065{ "bnulr", XLOCB(19,BOF,CBSO,16,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3066{ "bnulr-", XLOCB(19,BOF,CBSO,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3067{ "bnulr-", XLOCB(19,BOFM4,CBSO,16,0), XLBOCBBB_MASK, POWER4, { CR } },
3068{ "bnulr+", XLOCB(19,BOFP,CBSO,16,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3069{ "bnulr+", XLOCB(19,BOFP4,CBSO,16,0), XLBOCBBB_MASK, POWER4, { CR } },
3070{ "bnulrl", XLOCB(19,BOF,CBSO,16,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3071{ "bnulrl-", XLOCB(19,BOF,CBSO,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3072{ "bnulrl-", XLOCB(19,BOFM4,CBSO,16,1), XLBOCBBB_MASK, POWER4, { CR } },
3073{ "bnulrl+", XLOCB(19,BOFP,CBSO,16,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3074{ "bnulrl+", XLOCB(19,BOFP4,CBSO,16,1), XLBOCBBB_MASK, POWER4, { CR } },
3075{ "btlr", XLO(19,BOT,16,0), XLBOBB_MASK, PPCCOM, { BI } },
3076{ "btlr-", XLO(19,BOT,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
3077{ "btlr-", XLO(19,BOTM4,16,0), XLBOBB_MASK, POWER4, { BI } },
3078{ "btlr+", XLO(19,BOTP,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
3079{ "btlr+", XLO(19,BOTP4,16,0), XLBOBB_MASK, POWER4, { BI } },
3080{ "bbtr", XLO(19,BOT,16,0), XLBOBB_MASK, PWRCOM, { BI } },
3081{ "btlrl", XLO(19,BOT,16,1), XLBOBB_MASK, PPCCOM, { BI } },
3082{ "btlrl-", XLO(19,BOT,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
3083{ "btlrl-", XLO(19,BOTM4,16,1), XLBOBB_MASK, POWER4, { BI } },
3084{ "btlrl+", XLO(19,BOTP,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
3085{ "btlrl+", XLO(19,BOTP4,16,1), XLBOBB_MASK, POWER4, { BI } },
3086{ "bbtrl", XLO(19,BOT,16,1), XLBOBB_MASK, PWRCOM, { BI } },
3087{ "bflr", XLO(19,BOF,16,0), XLBOBB_MASK, PPCCOM, { BI } },
3088{ "bflr-", XLO(19,BOF,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
3089{ "bflr-", XLO(19,BOFM4,16,0), XLBOBB_MASK, POWER4, { BI } },
3090{ "bflr+", XLO(19,BOFP,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
3091{ "bflr+", XLO(19,BOFP4,16,0), XLBOBB_MASK, POWER4, { BI } },
3092{ "bbfr", XLO(19,BOF,16,0), XLBOBB_MASK, PWRCOM, { BI } },
3093{ "bflrl", XLO(19,BOF,16,1), XLBOBB_MASK, PPCCOM, { BI } },
3094{ "bflrl-", XLO(19,BOF,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
3095{ "bflrl-", XLO(19,BOFM4,16,1), XLBOBB_MASK, POWER4, { BI } },
3096{ "bflrl+", XLO(19,BOFP,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
3097{ "bflrl+", XLO(19,BOFP4,16,1), XLBOBB_MASK, POWER4, { BI } },
3098{ "bbfrl", XLO(19,BOF,16,1), XLBOBB_MASK, PWRCOM, { BI } },
3099{ "bdnztlr", XLO(19,BODNZT,16,0), XLBOBB_MASK, PPCCOM, { BI } },
3100{ "bdnztlr-",XLO(19,BODNZT,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
3101{ "bdnztlr+",XLO(19,BODNZTP,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
3102{ "bdnztlrl",XLO(19,BODNZT,16,1), XLBOBB_MASK, PPCCOM, { BI } },
3103{ "bdnztlrl-",XLO(19,BODNZT,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
3104{ "bdnztlrl+",XLO(19,BODNZTP,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
3105{ "bdnzflr", XLO(19,BODNZF,16,0), XLBOBB_MASK, PPCCOM, { BI } },
3106{ "bdnzflr-",XLO(19,BODNZF,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
3107{ "bdnzflr+",XLO(19,BODNZFP,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
3108{ "bdnzflrl",XLO(19,BODNZF,16,1), XLBOBB_MASK, PPCCOM, { BI } },
3109{ "bdnzflrl-",XLO(19,BODNZF,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
3110{ "bdnzflrl+",XLO(19,BODNZFP,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
3111{ "bdztlr", XLO(19,BODZT,16,0), XLBOBB_MASK, PPCCOM, { BI } },
3112{ "bdztlr-", XLO(19,BODZT,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
3113{ "bdztlr+", XLO(19,BODZTP,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
3114{ "bdztlrl", XLO(19,BODZT,16,1), XLBOBB_MASK, PPCCOM, { BI } },
3115{ "bdztlrl-",XLO(19,BODZT,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
3116{ "bdztlrl+",XLO(19,BODZTP,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
3117{ "bdzflr", XLO(19,BODZF,16,0), XLBOBB_MASK, PPCCOM, { BI } },
3118{ "bdzflr-", XLO(19,BODZF,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
3119{ "bdzflr+", XLO(19,BODZFP,16,0), XLBOBB_MASK, NOPOWER4, { BI } },
3120{ "bdzflrl", XLO(19,BODZF,16,1), XLBOBB_MASK, PPCCOM, { BI } },
3121{ "bdzflrl-",XLO(19,BODZF,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
3122{ "bdzflrl+",XLO(19,BODZFP,16,1), XLBOBB_MASK, NOPOWER4, { BI } },
3123{ "bclr+", XLYLK(19,16,1,0), XLYBB_MASK, PPCCOM, { BOE, BI } },
3124{ "bclrl+", XLYLK(19,16,1,1), XLYBB_MASK, PPCCOM, { BOE, BI } },
3125{ "bclr-", XLYLK(19,16,0,0), XLYBB_MASK, PPCCOM, { BOE, BI } },
3126{ "bclrl-", XLYLK(19,16,0,1), XLYBB_MASK, PPCCOM, { BOE, BI } },
3127{ "bclr", XLLK(19,16,0), XLBH_MASK, PPCCOM, { BO, BI, BH } },
3128{ "bclrl", XLLK(19,16,1), XLBH_MASK, PPCCOM, { BO, BI, BH } },
3129{ "bcr", XLLK(19,16,0), XLBB_MASK, PWRCOM, { BO, BI } },
3130{ "bcrl", XLLK(19,16,1), XLBB_MASK, PWRCOM, { BO, BI } },
3131{ "bclre", XLLK(19,17,0), XLBB_MASK, BOOKE64, { BO, BI } },
3132{ "bclrel", XLLK(19,17,1), XLBB_MASK, BOOKE64, { BO, BI } },
3133
3134{ "rfid", XL(19,18), 0xffffffff, PPC64, { 0 } },
3135
3136{ "crnot", XL(19,33), XL_MASK, PPCCOM, { BT, BA, BBA } },
3137{ "crnor", XL(19,33), XL_MASK, COM, { BT, BA, BB } },
3138{ "rfmci", X(19,38), 0xffffffff, PPCRFMCI, { 0 } },
3139
3140{ "rfi", XL(19,50), 0xffffffff, COM, { 0 } },
3141{ "rfci", XL(19,51), 0xffffffff, PPC403 | BOOKE, { 0 } },
3142
3143{ "rfsvc", XL(19,82), 0xffffffff, POWER, { 0 } },
3144
3145{ "crandc", XL(19,129), XL_MASK, COM, { BT, BA, BB } },
3146
3147{ "isync", XL(19,150), 0xffffffff, PPCCOM, { 0 } },
3148{ "ics", XL(19,150), 0xffffffff, PWRCOM, { 0 } },
3149
3150{ "crclr", XL(19,193), XL_MASK, PPCCOM, { BT, BAT, BBA } },
3151{ "crxor", XL(19,193), XL_MASK, COM, { BT, BA, BB } },
3152
3153{ "crnand", XL(19,225), XL_MASK, COM, { BT, BA, BB } },
3154
3155{ "crand", XL(19,257), XL_MASK, COM, { BT, BA, BB } },
3156
3157{ "hrfid", XL(19,274), 0xffffffff, POWER5 | CELL, { 0 } },
3158
3159{ "crset", XL(19,289), XL_MASK, PPCCOM, { BT, BAT, BBA } },
3160{ "creqv", XL(19,289), XL_MASK, COM, { BT, BA, BB } },
3161
3162{ "doze", XL(19,402), 0xffffffff, POWER6, { 0 } },
3163
3164{ "crorc", XL(19,417), XL_MASK, COM, { BT, BA, BB } },
3165
3166{ "nap", XL(19,434), 0xffffffff, POWER6, { 0 } },
3167
3168{ "crmove", XL(19,449), XL_MASK, PPCCOM, { BT, BA, BBA } },
3169{ "cror", XL(19,449), XL_MASK, COM, { BT, BA, BB } },
3170
3171{ "sleep", XL(19,466), 0xffffffff, POWER6, { 0 } },
3172{ "rvwinkle", XL(19,498), 0xffffffff, POWER6, { 0 } },
3173
3174{ "bctr", XLO(19,BOU,528,0), XLBOBIBB_MASK, COM, { 0 } },
3175{ "bctrl", XLO(19,BOU,528,1), XLBOBIBB_MASK, COM, { 0 } },
3176{ "bltctr", XLOCB(19,BOT,CBLT,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3177{ "bltctr-", XLOCB(19,BOT,CBLT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3178{ "bltctr-", XLOCB(19,BOTM4,CBLT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3179{ "bltctr+", XLOCB(19,BOTP,CBLT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3180{ "bltctr+", XLOCB(19,BOTP4,CBLT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3181{ "bltctrl", XLOCB(19,BOT,CBLT,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3182{ "bltctrl-",XLOCB(19,BOT,CBLT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3183{ "bltctrl-",XLOCB(19,BOTM4,CBLT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3184{ "bltctrl+",XLOCB(19,BOTP,CBLT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3185{ "bltctrl+",XLOCB(19,BOTP4,CBLT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3186{ "bgtctr", XLOCB(19,BOT,CBGT,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3187{ "bgtctr-", XLOCB(19,BOT,CBGT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3188{ "bgtctr-", XLOCB(19,BOTM4,CBGT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3189{ "bgtctr+", XLOCB(19,BOTP,CBGT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3190{ "bgtctr+", XLOCB(19,BOTP4,CBGT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3191{ "bgtctrl", XLOCB(19,BOT,CBGT,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3192{ "bgtctrl-",XLOCB(19,BOT,CBGT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3193{ "bgtctrl-",XLOCB(19,BOTM4,CBGT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3194{ "bgtctrl+",XLOCB(19,BOTP,CBGT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3195{ "bgtctrl+",XLOCB(19,BOTP4,CBGT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3196{ "beqctr", XLOCB(19,BOT,CBEQ,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3197{ "beqctr-", XLOCB(19,BOT,CBEQ,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3198{ "beqctr-", XLOCB(19,BOTM4,CBEQ,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3199{ "beqctr+", XLOCB(19,BOTP,CBEQ,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3200{ "beqctr+", XLOCB(19,BOTP4,CBEQ,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3201{ "beqctrl", XLOCB(19,BOT,CBEQ,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3202{ "beqctrl-",XLOCB(19,BOT,CBEQ,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3203{ "beqctrl-",XLOCB(19,BOTM4,CBEQ,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3204{ "beqctrl+",XLOCB(19,BOTP,CBEQ,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3205{ "beqctrl+",XLOCB(19,BOTP4,CBEQ,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3206{ "bsoctr", XLOCB(19,BOT,CBSO,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3207{ "bsoctr-", XLOCB(19,BOT,CBSO,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3208{ "bsoctr-", XLOCB(19,BOTM4,CBSO,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3209{ "bsoctr+", XLOCB(19,BOTP,CBSO,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3210{ "bsoctr+", XLOCB(19,BOTP4,CBSO,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3211{ "bsoctrl", XLOCB(19,BOT,CBSO,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3212{ "bsoctrl-",XLOCB(19,BOT,CBSO,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3213{ "bsoctrl-",XLOCB(19,BOTM4,CBSO,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3214{ "bsoctrl+",XLOCB(19,BOTP,CBSO,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3215{ "bsoctrl+",XLOCB(19,BOTP4,CBSO,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3216{ "bunctr", XLOCB(19,BOT,CBSO,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3217{ "bunctr-", XLOCB(19,BOT,CBSO,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3218{ "bunctr-", XLOCB(19,BOTM4,CBSO,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3219{ "bunctr+", XLOCB(19,BOTP,CBSO,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3220{ "bunctr+", XLOCB(19,BOTP4,CBSO,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3221{ "bunctrl", XLOCB(19,BOT,CBSO,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3222{ "bunctrl-",XLOCB(19,BOT,CBSO,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3223{ "bunctrl-",XLOCB(19,BOTM4,CBSO,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3224{ "bunctrl+",XLOCB(19,BOTP,CBSO,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3225{ "bunctrl+",XLOCB(19,BOTP4,CBSO,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3226{ "bgectr", XLOCB(19,BOF,CBLT,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3227{ "bgectr-", XLOCB(19,BOF,CBLT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3228{ "bgectr-", XLOCB(19,BOFM4,CBLT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3229{ "bgectr+", XLOCB(19,BOFP,CBLT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3230{ "bgectr+", XLOCB(19,BOFP4,CBLT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3231{ "bgectrl", XLOCB(19,BOF,CBLT,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3232{ "bgectrl-",XLOCB(19,BOF,CBLT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3233{ "bgectrl-",XLOCB(19,BOFM4,CBLT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3234{ "bgectrl+",XLOCB(19,BOFP,CBLT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3235{ "bgectrl+",XLOCB(19,BOFP4,CBLT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3236{ "bnlctr", XLOCB(19,BOF,CBLT,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3237{ "bnlctr-", XLOCB(19,BOF,CBLT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3238{ "bnlctr-", XLOCB(19,BOFM4,CBLT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3239{ "bnlctr+", XLOCB(19,BOFP,CBLT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3240{ "bnlctr+", XLOCB(19,BOFP4,CBLT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3241{ "bnlctrl", XLOCB(19,BOF,CBLT,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3242{ "bnlctrl-",XLOCB(19,BOF,CBLT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3243{ "bnlctrl-",XLOCB(19,BOFM4,CBLT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3244{ "bnlctrl+",XLOCB(19,BOFP,CBLT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3245{ "bnlctrl+",XLOCB(19,BOFP4,CBLT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3246{ "blectr", XLOCB(19,BOF,CBGT,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3247{ "blectr-", XLOCB(19,BOF,CBGT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3248{ "blectr-", XLOCB(19,BOFM4,CBGT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3249{ "blectr+", XLOCB(19,BOFP,CBGT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3250{ "blectr+", XLOCB(19,BOFP4,CBGT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3251{ "blectrl", XLOCB(19,BOF,CBGT,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3252{ "blectrl-",XLOCB(19,BOF,CBGT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3253{ "blectrl-",XLOCB(19,BOFM4,CBGT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3254{ "blectrl+",XLOCB(19,BOFP,CBGT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3255{ "blectrl+",XLOCB(19,BOFP4,CBGT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3256{ "bngctr", XLOCB(19,BOF,CBGT,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3257{ "bngctr-", XLOCB(19,BOF,CBGT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3258{ "bngctr-", XLOCB(19,BOFM4,CBGT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3259{ "bngctr+", XLOCB(19,BOFP,CBGT,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3260{ "bngctr+", XLOCB(19,BOFP4,CBGT,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3261{ "bngctrl", XLOCB(19,BOF,CBGT,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3262{ "bngctrl-",XLOCB(19,BOF,CBGT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3263{ "bngctrl-",XLOCB(19,BOFM4,CBGT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3264{ "bngctrl+",XLOCB(19,BOFP,CBGT,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3265{ "bngctrl+",XLOCB(19,BOFP4,CBGT,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3266{ "bnectr", XLOCB(19,BOF,CBEQ,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3267{ "bnectr-", XLOCB(19,BOF,CBEQ,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3268{ "bnectr-", XLOCB(19,BOFM4,CBEQ,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3269{ "bnectr+", XLOCB(19,BOFP,CBEQ,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3270{ "bnectr+", XLOCB(19,BOFP4,CBEQ,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3271{ "bnectrl", XLOCB(19,BOF,CBEQ,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3272{ "bnectrl-",XLOCB(19,BOF,CBEQ,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3273{ "bnectrl-",XLOCB(19,BOFM4,CBEQ,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3274{ "bnectrl+",XLOCB(19,BOFP,CBEQ,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3275{ "bnectrl+",XLOCB(19,BOFP4,CBEQ,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3276{ "bnsctr", XLOCB(19,BOF,CBSO,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3277{ "bnsctr-", XLOCB(19,BOF,CBSO,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3278{ "bnsctr-", XLOCB(19,BOFM4,CBSO,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3279{ "bnsctr+", XLOCB(19,BOFP,CBSO,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3280{ "bnsctr+", XLOCB(19,BOFP4,CBSO,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3281{ "bnsctrl", XLOCB(19,BOF,CBSO,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3282{ "bnsctrl-",XLOCB(19,BOF,CBSO,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3283{ "bnsctrl-",XLOCB(19,BOFM4,CBSO,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3284{ "bnsctrl+",XLOCB(19,BOFP,CBSO,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3285{ "bnsctrl+",XLOCB(19,BOFP4,CBSO,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3286{ "bnuctr", XLOCB(19,BOF,CBSO,528,0), XLBOCBBB_MASK, PPCCOM, { CR } },
3287{ "bnuctr-", XLOCB(19,BOF,CBSO,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3288{ "bnuctr-", XLOCB(19,BOFM4,CBSO,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3289{ "bnuctr+", XLOCB(19,BOFP,CBSO,528,0), XLBOCBBB_MASK, NOPOWER4, { CR } },
3290{ "bnuctr+", XLOCB(19,BOFP4,CBSO,528,0), XLBOCBBB_MASK, POWER4, { CR } },
3291{ "bnuctrl", XLOCB(19,BOF,CBSO,528,1), XLBOCBBB_MASK, PPCCOM, { CR } },
3292{ "bnuctrl-",XLOCB(19,BOF,CBSO,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3293{ "bnuctrl-",XLOCB(19,BOFM4,CBSO,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3294{ "bnuctrl+",XLOCB(19,BOFP,CBSO,528,1), XLBOCBBB_MASK, NOPOWER4, { CR } },
3295{ "bnuctrl+",XLOCB(19,BOFP4,CBSO,528,1), XLBOCBBB_MASK, POWER4, { CR } },
3296{ "btctr", XLO(19,BOT,528,0), XLBOBB_MASK, PPCCOM, { BI } },
3297{ "btctr-", XLO(19,BOT,528,0), XLBOBB_MASK, NOPOWER4, { BI } },
3298{ "btctr-", XLO(19,BOTM4,528,0), XLBOBB_MASK, POWER4, { BI } },
3299{ "btctr+", XLO(19,BOTP,528,0), XLBOBB_MASK, NOPOWER4, { BI } },
3300{ "btctr+", XLO(19,BOTP4,528,0), XLBOBB_MASK, POWER4, { BI } },
3301{ "btctrl", XLO(19,BOT,528,1), XLBOBB_MASK, PPCCOM, { BI } },
3302{ "btctrl-", XLO(19,BOT,528,1), XLBOBB_MASK, NOPOWER4, { BI } },
3303{ "btctrl-", XLO(19,BOTM4,528,1), XLBOBB_MASK, POWER4, { BI } },
3304{ "btctrl+", XLO(19,BOTP,528,1), XLBOBB_MASK, NOPOWER4, { BI } },
3305{ "btctrl+", XLO(19,BOTP4,528,1), XLBOBB_MASK, POWER4, { BI } },
3306{ "bfctr", XLO(19,BOF,528,0), XLBOBB_MASK, PPCCOM, { BI } },
3307{ "bfctr-", XLO(19,BOF,528,0), XLBOBB_MASK, NOPOWER4, { BI } },
3308{ "bfctr-", XLO(19,BOFM4,528,0), XLBOBB_MASK, POWER4, { BI } },
3309{ "bfctr+", XLO(19,BOFP,528,0), XLBOBB_MASK, NOPOWER4, { BI } },
3310{ "bfctr+", XLO(19,BOFP4,528,0), XLBOBB_MASK, POWER4, { BI } },
3311{ "bfctrl", XLO(19,BOF,528,1), XLBOBB_MASK, PPCCOM, { BI } },
3312{ "bfctrl-", XLO(19,BOF,528,1), XLBOBB_MASK, NOPOWER4, { BI } },
3313{ "bfctrl-", XLO(19,BOFM4,528,1), XLBOBB_MASK, POWER4, { BI } },
3314{ "bfctrl+", XLO(19,BOFP,528,1), XLBOBB_MASK, NOPOWER4, { BI } },
3315{ "bfctrl+", XLO(19,BOFP4,528,1), XLBOBB_MASK, POWER4, { BI } },
3316{ "bcctr-", XLYLK(19,528,0,0), XLYBB_MASK, PPCCOM, { BOE, BI } },
3317{ "bcctr+", XLYLK(19,528,1,0), XLYBB_MASK, PPCCOM, { BOE, BI } },
3318{ "bcctrl-", XLYLK(19,528,0,1), XLYBB_MASK, PPCCOM, { BOE, BI } },
3319{ "bcctrl+", XLYLK(19,528,1,1), XLYBB_MASK, PPCCOM, { BOE, BI } },
3320{ "bcctr", XLLK(19,528,0), XLBH_MASK, PPCCOM, { BO, BI, BH } },
3321{ "bcctrl", XLLK(19,528,1), XLBH_MASK, PPCCOM, { BO, BI, BH } },
3322{ "bcc", XLLK(19,528,0), XLBB_MASK, PWRCOM, { BO, BI } },
3323{ "bccl", XLLK(19,528,1), XLBB_MASK, PWRCOM, { BO, BI } },
3324{ "bcctre", XLLK(19,529,0), XLBB_MASK, BOOKE64, { BO, BI } },
3325{ "bcctrel", XLLK(19,529,1), XLBB_MASK, BOOKE64, { BO, BI } },
3326
3327{ "rlwimi", M(20,0), M_MASK, PPCCOM, { RA,RS,SH,MBE,ME } },
3328{ "rlimi", M(20,0), M_MASK, PWRCOM, { RA,RS,SH,MBE,ME } },
3329
3330{ "rlwimi.", M(20,1), M_MASK, PPCCOM, { RA,RS,SH,MBE,ME } },
3331{ "rlimi.", M(20,1), M_MASK, PWRCOM, { RA,RS,SH,MBE,ME } },
3332
3333{ "rotlwi", MME(21,31,0), MMBME_MASK, PPCCOM, { RA, RS, SH } },
3334{ "clrlwi", MME(21,31,0), MSHME_MASK, PPCCOM, { RA, RS, MB } },
3335{ "rlwinm", M(21,0), M_MASK, PPCCOM, { RA,RS,SH,MBE,ME } },
3336{ "rlinm", M(21,0), M_MASK, PWRCOM, { RA,RS,SH,MBE,ME } },
3337{ "rotlwi.", MME(21,31,1), MMBME_MASK, PPCCOM, { RA,RS,SH } },
3338{ "clrlwi.", MME(21,31,1), MSHME_MASK, PPCCOM, { RA, RS, MB } },
3339{ "rlwinm.", M(21,1), M_MASK, PPCCOM, { RA,RS,SH,MBE,ME } },
3340{ "rlinm.", M(21,1), M_MASK, PWRCOM, { RA,RS,SH,MBE,ME } },
3341
3342{ "rlmi", M(22,0), M_MASK, M601, { RA,RS,RB,MBE,ME } },
3343{ "rlmi.", M(22,1), M_MASK, M601, { RA,RS,RB,MBE,ME } },
3344
3345{ "be", B(22,0,0), B_MASK, BOOKE64, { LI } },
3346{ "bel", B(22,0,1), B_MASK, BOOKE64, { LI } },
3347{ "bea", B(22,1,0), B_MASK, BOOKE64, { LIA } },
3348{ "bela", B(22,1,1), B_MASK, BOOKE64, { LIA } },
3349
3350{ "rotlw", MME(23,31,0), MMBME_MASK, PPCCOM, { RA, RS, RB } },
3351{ "rlwnm", M(23,0), M_MASK, PPCCOM, { RA,RS,RB,MBE,ME } },
3352{ "rlnm", M(23,0), M_MASK, PWRCOM, { RA,RS,RB,MBE,ME } },
3353{ "rotlw.", MME(23,31,1), MMBME_MASK, PPCCOM, { RA, RS, RB } },
3354{ "rlwnm.", M(23,1), M_MASK, PPCCOM, { RA,RS,RB,MBE,ME } },
3355{ "rlnm.", M(23,1), M_MASK, PWRCOM, { RA,RS,RB,MBE,ME } },
3356
3357{ "nop", OP(24), 0xffffffff, PPCCOM, { 0 } },
3358{ "ori", OP(24), OP_MASK, PPCCOM, { RA, RS, UI } },
3359{ "oril", OP(24), OP_MASK, PWRCOM, { RA, RS, UI } },
3360
3361{ "oris", OP(25), OP_MASK, PPCCOM, { RA, RS, UI } },
3362{ "oriu", OP(25), OP_MASK, PWRCOM, { RA, RS, UI } },
3363
3364{ "xori", OP(26), OP_MASK, PPCCOM, { RA, RS, UI } },
3365{ "xoril", OP(26), OP_MASK, PWRCOM, { RA, RS, UI } },
3366
3367{ "xoris", OP(27), OP_MASK, PPCCOM, { RA, RS, UI } },
3368{ "xoriu", OP(27), OP_MASK, PWRCOM, { RA, RS, UI } },
3369
3370{ "andi.", OP(28), OP_MASK, PPCCOM, { RA, RS, UI } },
3371{ "andil.", OP(28), OP_MASK, PWRCOM, { RA, RS, UI } },
3372
3373{ "andis.", OP(29), OP_MASK, PPCCOM, { RA, RS, UI } },
3374{ "andiu.", OP(29), OP_MASK, PWRCOM, { RA, RS, UI } },
3375
3376{ "rotldi", MD(30,0,0), MDMB_MASK, PPC64, { RA, RS, SH6 } },
3377{ "clrldi", MD(30,0,0), MDSH_MASK, PPC64, { RA, RS, MB6 } },
3378{ "rldicl", MD(30,0,0), MD_MASK, PPC64, { RA, RS, SH6, MB6 } },
3379{ "rotldi.", MD(30,0,1), MDMB_MASK, PPC64, { RA, RS, SH6 } },
3380{ "clrldi.", MD(30,0,1), MDSH_MASK, PPC64, { RA, RS, MB6 } },
3381{ "rldicl.", MD(30,0,1), MD_MASK, PPC64, { RA, RS, SH6, MB6 } },
3382
3383{ "rldicr", MD(30,1,0), MD_MASK, PPC64, { RA, RS, SH6, ME6 } },
3384{ "rldicr.", MD(30,1,1), MD_MASK, PPC64, { RA, RS, SH6, ME6 } },
3385
3386{ "rldic", MD(30,2,0), MD_MASK, PPC64, { RA, RS, SH6, MB6 } },
3387{ "rldic.", MD(30,2,1), MD_MASK, PPC64, { RA, RS, SH6, MB6 } },
3388
3389{ "rldimi", MD(30,3,0), MD_MASK, PPC64, { RA, RS, SH6, MB6 } },
3390{ "rldimi.", MD(30,3,1), MD_MASK, PPC64, { RA, RS, SH6, MB6 } },
3391
3392{ "rotld", MDS(30,8,0), MDSMB_MASK, PPC64, { RA, RS, RB } },
3393{ "rldcl", MDS(30,8,0), MDS_MASK, PPC64, { RA, RS, RB, MB6 } },
3394{ "rotld.", MDS(30,8,1), MDSMB_MASK, PPC64, { RA, RS, RB } },
3395{ "rldcl.", MDS(30,8,1), MDS_MASK, PPC64, { RA, RS, RB, MB6 } },
3396
3397{ "rldcr", MDS(30,9,0), MDS_MASK, PPC64, { RA, RS, RB, ME6 } },
3398{ "rldcr.", MDS(30,9,1), MDS_MASK, PPC64, { RA, RS, RB, ME6 } },
3399
3400{ "cmpw", XOPL(31,0,0), XCMPL_MASK, PPCCOM, { OBF, RA, RB } },
3401{ "cmpd", XOPL(31,0,1), XCMPL_MASK, PPC64, { OBF, RA, RB } },
3402{ "cmp", X(31,0), XCMP_MASK, PPC, { BF, L, RA, RB } },
3403{ "cmp", X(31,0), XCMPL_MASK, PWRCOM, { BF, RA, RB } },
3404
3405{ "twlgt", XTO(31,4,TOLGT), XTO_MASK, PPCCOM, { RA, RB } },
3406{ "tlgt", XTO(31,4,TOLGT), XTO_MASK, PWRCOM, { RA, RB } },
3407{ "twllt", XTO(31,4,TOLLT), XTO_MASK, PPCCOM, { RA, RB } },
3408{ "tllt", XTO(31,4,TOLLT), XTO_MASK, PWRCOM, { RA, RB } },
3409{ "tweq", XTO(31,4,TOEQ), XTO_MASK, PPCCOM, { RA, RB } },
3410{ "teq", XTO(31,4,TOEQ), XTO_MASK, PWRCOM, { RA, RB } },
3411{ "twlge", XTO(31,4,TOLGE), XTO_MASK, PPCCOM, { RA, RB } },
3412{ "tlge", XTO(31,4,TOLGE), XTO_MASK, PWRCOM, { RA, RB } },
3413{ "twlnl", XTO(31,4,TOLNL), XTO_MASK, PPCCOM, { RA, RB } },
3414{ "tlnl", XTO(31,4,TOLNL), XTO_MASK, PWRCOM, { RA, RB } },
3415{ "twlle", XTO(31,4,TOLLE), XTO_MASK, PPCCOM, { RA, RB } },
3416{ "tlle", XTO(31,4,TOLLE), XTO_MASK, PWRCOM, { RA, RB } },
3417{ "twlng", XTO(31,4,TOLNG), XTO_MASK, PPCCOM, { RA, RB } },
3418{ "tlng", XTO(31,4,TOLNG), XTO_MASK, PWRCOM, { RA, RB } },
3419{ "twgt", XTO(31,4,TOGT), XTO_MASK, PPCCOM, { RA, RB } },
3420{ "tgt", XTO(31,4,TOGT), XTO_MASK, PWRCOM, { RA, RB } },
3421{ "twge", XTO(31,4,TOGE), XTO_MASK, PPCCOM, { RA, RB } },
3422{ "tge", XTO(31,4,TOGE), XTO_MASK, PWRCOM, { RA, RB } },
3423{ "twnl", XTO(31,4,TONL), XTO_MASK, PPCCOM, { RA, RB } },
3424{ "tnl", XTO(31,4,TONL), XTO_MASK, PWRCOM, { RA, RB } },
3425{ "twlt", XTO(31,4,TOLT), XTO_MASK, PPCCOM, { RA, RB } },
3426{ "tlt", XTO(31,4,TOLT), XTO_MASK, PWRCOM, { RA, RB } },
3427{ "twle", XTO(31,4,TOLE), XTO_MASK, PPCCOM, { RA, RB } },
3428{ "tle", XTO(31,4,TOLE), XTO_MASK, PWRCOM, { RA, RB } },
3429{ "twng", XTO(31,4,TONG), XTO_MASK, PPCCOM, { RA, RB } },
3430{ "tng", XTO(31,4,TONG), XTO_MASK, PWRCOM, { RA, RB } },
3431{ "twne", XTO(31,4,TONE), XTO_MASK, PPCCOM, { RA, RB } },
3432{ "tne", XTO(31,4,TONE), XTO_MASK, PWRCOM, { RA, RB } },
3433{ "trap", XTO(31,4,TOU), 0xffffffff, PPCCOM, { 0 } },
3434{ "tw", X(31,4), X_MASK, PPCCOM, { TO, RA, RB } },
3435{ "t", X(31,4), X_MASK, PWRCOM, { TO, RA, RB } },
3436
3437{ "subfc", XO(31,8,0,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3438{ "sf", XO(31,8,0,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3439{ "subc", XO(31,8,0,0), XO_MASK, PPC, { RT, RB, RA } },
3440{ "subfc.", XO(31,8,0,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3441{ "sf.", XO(31,8,0,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3442{ "subc.", XO(31,8,0,1), XO_MASK, PPCCOM, { RT, RB, RA } },
3443{ "subfco", XO(31,8,1,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3444{ "sfo", XO(31,8,1,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3445{ "subco", XO(31,8,1,0), XO_MASK, PPC, { RT, RB, RA } },
3446{ "subfco.", XO(31,8,1,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3447{ "sfo.", XO(31,8,1,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3448{ "subco.", XO(31,8,1,1), XO_MASK, PPC, { RT, RB, RA } },
3449
3450{ "mulhdu", XO(31,9,0,0), XO_MASK, PPC64, { RT, RA, RB } },
3451{ "mulhdu.", XO(31,9,0,1), XO_MASK, PPC64, { RT, RA, RB } },
3452
3453{ "addc", XO(31,10,0,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3454{ "a", XO(31,10,0,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3455{ "addc.", XO(31,10,0,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3456{ "a.", XO(31,10,0,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3457{ "addco", XO(31,10,1,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3458{ "ao", XO(31,10,1,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3459{ "addco.", XO(31,10,1,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3460{ "ao.", XO(31,10,1,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3461
3462{ "mulhwu", XO(31,11,0,0), XO_MASK, PPC, { RT, RA, RB } },
3463{ "mulhwu.", XO(31,11,0,1), XO_MASK, PPC, { RT, RA, RB } },
3464
3465{ "isellt", X(31,15), X_MASK, PPCISEL, { RT, RA, RB } },
3466{ "iselgt", X(31,47), X_MASK, PPCISEL, { RT, RA, RB } },
3467{ "iseleq", X(31,79), X_MASK, PPCISEL, { RT, RA, RB } },
3468{ "isel", XISEL(31,15), XISEL_MASK, PPCISEL, { RT, RA, RB, CRB } },
3469
3470{ "mfocrf", XFXM(31,19,0,1), XFXFXM_MASK, COM, { RT, FXM } },
3471{ "mfcr", X(31,19), XRARB_MASK, NOPOWER4 | COM, { RT } },
3472{ "mfcr", X(31,19), XFXFXM_MASK, POWER4, { RT, FXM4 } },
3473
3474{ "lwarx", X(31,20), XEH_MASK, PPC, { RT, RA0, RB, EH } },
3475
3476{ "ldx", X(31,21), X_MASK, PPC64, { RT, RA0, RB } },
3477
3478{ "icbt", X(31,22), X_MASK, BOOKE|PPCE300, { CT, RA, RB } },
3479{ "icbt", X(31,262), XRT_MASK, PPC403, { RA, RB } },
3480
3481{ "lwzx", X(31,23), X_MASK, PPCCOM, { RT, RA0, RB } },
3482{ "lx", X(31,23), X_MASK, PWRCOM, { RT, RA, RB } },
3483
3484{ "slw", XRC(31,24,0), X_MASK, PPCCOM, { RA, RS, RB } },
3485{ "sl", XRC(31,24,0), X_MASK, PWRCOM, { RA, RS, RB } },
3486{ "slw.", XRC(31,24,1), X_MASK, PPCCOM, { RA, RS, RB } },
3487{ "sl.", XRC(31,24,1), X_MASK, PWRCOM, { RA, RS, RB } },
3488
3489{ "cntlzw", XRC(31,26,0), XRB_MASK, PPCCOM, { RA, RS } },
3490{ "cntlz", XRC(31,26,0), XRB_MASK, PWRCOM, { RA, RS } },
3491{ "cntlzw.", XRC(31,26,1), XRB_MASK, PPCCOM, { RA, RS } },
3492{ "cntlz.", XRC(31,26,1), XRB_MASK, PWRCOM, { RA, RS } },
3493
3494{ "sld", XRC(31,27,0), X_MASK, PPC64, { RA, RS, RB } },
3495{ "sld.", XRC(31,27,1), X_MASK, PPC64, { RA, RS, RB } },
3496
3497{ "and", XRC(31,28,0), X_MASK, COM, { RA, RS, RB } },
3498{ "and.", XRC(31,28,1), X_MASK, COM, { RA, RS, RB } },
3499
3500{ "maskg", XRC(31,29,0), X_MASK, M601, { RA, RS, RB } },
3501{ "maskg.", XRC(31,29,1), X_MASK, M601, { RA, RS, RB } },
3502
3503{ "icbte", X(31,30), X_MASK, BOOKE64, { CT, RA, RB } },
3504
3505{ "lwzxe", X(31,31), X_MASK, BOOKE64, { RT, RA0, RB } },
3506
3507{ "cmplw", XOPL(31,32,0), XCMPL_MASK, PPCCOM, { OBF, RA, RB } },
3508{ "cmpld", XOPL(31,32,1), XCMPL_MASK, PPC64, { OBF, RA, RB } },
3509{ "cmpl", X(31,32), XCMP_MASK, PPC, { BF, L, RA, RB } },
3510{ "cmpl", X(31,32), XCMPL_MASK, PWRCOM, { BF, RA, RB } },
3511
3512{ "subf", XO(31,40,0,0), XO_MASK, PPC, { RT, RA, RB } },
3513{ "sub", XO(31,40,0,0), XO_MASK, PPC, { RT, RB, RA } },
3514{ "subf.", XO(31,40,0,1), XO_MASK, PPC, { RT, RA, RB } },
3515{ "sub.", XO(31,40,0,1), XO_MASK, PPC, { RT, RB, RA } },
3516{ "subfo", XO(31,40,1,0), XO_MASK, PPC, { RT, RA, RB } },
3517{ "subo", XO(31,40,1,0), XO_MASK, PPC, { RT, RB, RA } },
3518{ "subfo.", XO(31,40,1,1), XO_MASK, PPC, { RT, RA, RB } },
3519{ "subo.", XO(31,40,1,1), XO_MASK, PPC, { RT, RB, RA } },
3520
3521{ "ldux", X(31,53), X_MASK, PPC64, { RT, RAL, RB } },
3522
3523{ "dcbst", X(31,54), XRT_MASK, PPC, { RA, RB } },
3524
3525{ "lwzux", X(31,55), X_MASK, PPCCOM, { RT, RAL, RB } },
3526{ "lux", X(31,55), X_MASK, PWRCOM, { RT, RA, RB } },
3527
3528{ "dcbste", X(31,62), XRT_MASK, BOOKE64, { RA, RB } },
3529
3530{ "lwzuxe", X(31,63), X_MASK, BOOKE64, { RT, RAL, RB } },
3531
3532{ "cntlzd", XRC(31,58,0), XRB_MASK, PPC64, { RA, RS } },
3533{ "cntlzd.", XRC(31,58,1), XRB_MASK, PPC64, { RA, RS } },
3534
3535{ "andc", XRC(31,60,0), X_MASK, COM, { RA, RS, RB } },
3536{ "andc.", XRC(31,60,1), X_MASK, COM, { RA, RS, RB } },
3537
3538{ "tdlgt", XTO(31,68,TOLGT), XTO_MASK, PPC64, { RA, RB } },
3539{ "tdllt", XTO(31,68,TOLLT), XTO_MASK, PPC64, { RA, RB } },
3540{ "tdeq", XTO(31,68,TOEQ), XTO_MASK, PPC64, { RA, RB } },
3541{ "tdlge", XTO(31,68,TOLGE), XTO_MASK, PPC64, { RA, RB } },
3542{ "tdlnl", XTO(31,68,TOLNL), XTO_MASK, PPC64, { RA, RB } },
3543{ "tdlle", XTO(31,68,TOLLE), XTO_MASK, PPC64, { RA, RB } },
3544{ "tdlng", XTO(31,68,TOLNG), XTO_MASK, PPC64, { RA, RB } },
3545{ "tdgt", XTO(31,68,TOGT), XTO_MASK, PPC64, { RA, RB } },
3546{ "tdge", XTO(31,68,TOGE), XTO_MASK, PPC64, { RA, RB } },
3547{ "tdnl", XTO(31,68,TONL), XTO_MASK, PPC64, { RA, RB } },
3548{ "tdlt", XTO(31,68,TOLT), XTO_MASK, PPC64, { RA, RB } },
3549{ "tdle", XTO(31,68,TOLE), XTO_MASK, PPC64, { RA, RB } },
3550{ "tdng", XTO(31,68,TONG), XTO_MASK, PPC64, { RA, RB } },
3551{ "tdne", XTO(31,68,TONE), XTO_MASK, PPC64, { RA, RB } },
3552{ "td", X(31,68), X_MASK, PPC64, { TO, RA, RB } },
3553
3554{ "mulhd", XO(31,73,0,0), XO_MASK, PPC64, { RT, RA, RB } },
3555{ "mulhd.", XO(31,73,0,1), XO_MASK, PPC64, { RT, RA, RB } },
3556
3557{ "mulhw", XO(31,75,0,0), XO_MASK, PPC, { RT, RA, RB } },
3558{ "mulhw.", XO(31,75,0,1), XO_MASK, PPC, { RT, RA, RB } },
3559
3560{ "dlmzb", XRC(31,78,0), X_MASK, PPC403|PPC440, { RA, RS, RB } },
3561{ "dlmzb.", XRC(31,78,1), X_MASK, PPC403|PPC440, { RA, RS, RB } },
3562
3563{ "mtsrd", X(31,82), XRB_MASK|(1<<20), PPC64, { SR, RS } },
3564
3565{ "mfmsr", X(31,83), XRARB_MASK, COM, { RT } },
3566
3567{ "ldarx", X(31,84), XEH_MASK, PPC64, { RT, RA0, RB, EH } },
3568
3569{ "dcbfl", XOPL(31,86,1), XRT_MASK, POWER5, { RA, RB } },
3570{ "dcbf", X(31,86), XLRT_MASK, PPC, { RA, RB, L } },
3571
3572{ "lbzx", X(31,87), X_MASK, COM, { RT, RA0, RB } },
3573
3574{ "dcbfe", X(31,94), XRT_MASK, BOOKE64, { RA, RB } },
3575
3576{ "lbzxe", X(31,95), X_MASK, BOOKE64, { RT, RA0, RB } },
3577
3578{ "neg", XO(31,104,0,0), XORB_MASK, COM, { RT, RA } },
3579{ "neg.", XO(31,104,0,1), XORB_MASK, COM, { RT, RA } },
3580{ "nego", XO(31,104,1,0), XORB_MASK, COM, { RT, RA } },
3581{ "nego.", XO(31,104,1,1), XORB_MASK, COM, { RT, RA } },
3582
3583{ "mul", XO(31,107,0,0), XO_MASK, M601, { RT, RA, RB } },
3584{ "mul.", XO(31,107,0,1), XO_MASK, M601, { RT, RA, RB } },
3585{ "mulo", XO(31,107,1,0), XO_MASK, M601, { RT, RA, RB } },
3586{ "mulo.", XO(31,107,1,1), XO_MASK, M601, { RT, RA, RB } },
3587
3588{ "mtsrdin", X(31,114), XRA_MASK, PPC64, { RS, RB } },
3589
3590{ "clf", X(31,118), XTO_MASK, POWER, { RA, RB } },
3591
3592{ "lbzux", X(31,119), X_MASK, COM, { RT, RAL, RB } },
3593
3594{ "popcntb", X(31,122), XRB_MASK, POWER5, { RA, RS } },
3595{ "popcntw", X(31,378), XRB_MASK, POWER7, { RA, RS } },
3596{ "popcntd", X(31,506), XRB_MASK, POWER7, { RA, RS } },
3597
3598{ "cnttzw", XRC(31,538,0), XRB_MASK, POWER9, { RA, RS } },
3599{ "cnttzw.", XRC(31,538,1), XRB_MASK, POWER9, { RA, RS } },
3600{ "cnttzd", XRC(31,570,0), XRB_MASK, POWER9, { RA, RS } },
3601{ "cnttzd.", XRC(31,570,1), XRB_MASK, POWER9, { RA, RS } },
3602
3603{ "not", XRC(31,124,0), X_MASK, COM, { RA, RS, RBS } },
3604{ "nor", XRC(31,124,0), X_MASK, COM, { RA, RS, RB } },
3605{ "not.", XRC(31,124,1), X_MASK, COM, { RA, RS, RBS } },
3606{ "nor.", XRC(31,124,1), X_MASK, COM, { RA, RS, RB } },
3607
3608{ "lwarxe", X(31,126), X_MASK, BOOKE64, { RT, RA0, RB } },
3609
3610{ "lbzuxe", X(31,127), X_MASK, BOOKE64, { RT, RAL, RB } },
3611
3612{ "wrtee", X(31,131), XRARB_MASK, PPC403 | BOOKE, { RS } },
3613
3614{ "dcbtstls",X(31,134), X_MASK, PPCCHLK, { CT, RA, RB }},
3615
3616{ "subfe", XO(31,136,0,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3617{ "sfe", XO(31,136,0,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3618{ "subfe.", XO(31,136,0,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3619{ "sfe.", XO(31,136,0,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3620{ "subfeo", XO(31,136,1,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3621{ "sfeo", XO(31,136,1,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3622{ "subfeo.", XO(31,136,1,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3623{ "sfeo.", XO(31,136,1,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3624
3625{ "adde", XO(31,138,0,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3626{ "ae", XO(31,138,0,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3627{ "adde.", XO(31,138,0,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3628{ "ae.", XO(31,138,0,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3629{ "addeo", XO(31,138,1,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3630{ "aeo", XO(31,138,1,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3631{ "addeo.", XO(31,138,1,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3632{ "aeo.", XO(31,138,1,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3633
3634{ "dcbtstlse",X(31,142),X_MASK, PPCCHLK64, { CT, RA, RB }},
3635
3636{ "mtocrf", XFXM(31,144,0,1), XFXFXM_MASK, COM, { FXM, RS } },
3637{ "mtcr", XFXM(31,144,0xff,0), XRARB_MASK, COM, { RS }},
3638{ "mtcrf", X(31,144), XFXFXM_MASK, COM, { FXM, RS } },
3639
3640{ "mtmsr", X(31,146), XRARB_MASK, COM, { RS } },
3641
3642{ "stdx", X(31,149), X_MASK, PPC64, { RS, RA0, RB } },
3643
3644{ "stwcx.", XRC(31,150,1), X_MASK, PPC, { RS, RA0, RB } },
3645
3646{ "stwx", X(31,151), X_MASK, PPCCOM, { RS, RA0, RB } },
3647{ "stx", X(31,151), X_MASK, PWRCOM, { RS, RA, RB } },
3648
3649{ "stwcxe.", XRC(31,158,1), X_MASK, BOOKE64, { RS, RA0, RB } },
3650
3651{ "stwxe", X(31,159), X_MASK, BOOKE64, { RS, RA0, RB } },
3652
3653{ "slq", XRC(31,152,0), X_MASK, M601, { RA, RS, RB } },
3654{ "slq.", XRC(31,152,1), X_MASK, M601, { RA, RS, RB } },
3655
3656{ "sle", XRC(31,153,0), X_MASK, M601, { RA, RS, RB } },
3657{ "sle.", XRC(31,153,1), X_MASK, M601, { RA, RS, RB } },
3658
3659{ "prtyw", X(31,154), XRB_MASK, POWER6, { RA, RS } },
3660
3661{ "wrteei", X(31,163), XE_MASK, PPC403 | BOOKE, { E } },
3662
3663{ "dcbtls", X(31,166), X_MASK, PPCCHLK, { CT, RA, RB }},
3664{ "dcbtlse", X(31,174), X_MASK, PPCCHLK64, { CT, RA, RB }},
3665
3666{ "mtmsrd", X(31,178), XRLARB_MASK, PPC64, { RS, A_L } },
3667
3668{ "stdux", X(31,181), X_MASK, PPC64, { RS, RAS, RB } },
3669
3670{ "stwux", X(31,183), X_MASK, PPCCOM, { RS, RAS, RB } },
3671{ "stux", X(31,183), X_MASK, PWRCOM, { RS, RA0, RB } },
3672
3673{ "sliq", XRC(31,184,0), X_MASK, M601, { RA, RS, SH } },
3674{ "sliq.", XRC(31,184,1), X_MASK, M601, { RA, RS, SH } },
3675
3676{ "prtyd", X(31,186), XRB_MASK, POWER6, { RA, RS } },
3677
3678{ "stwuxe", X(31,191), X_MASK, BOOKE64, { RS, RAS, RB } },
3679
3680{ "subfze", XO(31,200,0,0), XORB_MASK, PPCCOM, { RT, RA } },
3681{ "sfze", XO(31,200,0,0), XORB_MASK, PWRCOM, { RT, RA } },
3682{ "subfze.", XO(31,200,0,1), XORB_MASK, PPCCOM, { RT, RA } },
3683{ "sfze.", XO(31,200,0,1), XORB_MASK, PWRCOM, { RT, RA } },
3684{ "subfzeo", XO(31,200,1,0), XORB_MASK, PPCCOM, { RT, RA } },
3685{ "sfzeo", XO(31,200,1,0), XORB_MASK, PWRCOM, { RT, RA } },
3686{ "subfzeo.",XO(31,200,1,1), XORB_MASK, PPCCOM, { RT, RA } },
3687{ "sfzeo.", XO(31,200,1,1), XORB_MASK, PWRCOM, { RT, RA } },
3688
3689{ "addze", XO(31,202,0,0), XORB_MASK, PPCCOM, { RT, RA } },
3690{ "aze", XO(31,202,0,0), XORB_MASK, PWRCOM, { RT, RA } },
3691{ "addze.", XO(31,202,0,1), XORB_MASK, PPCCOM, { RT, RA } },
3692{ "aze.", XO(31,202,0,1), XORB_MASK, PWRCOM, { RT, RA } },
3693{ "addzeo", XO(31,202,1,0), XORB_MASK, PPCCOM, { RT, RA } },
3694{ "azeo", XO(31,202,1,0), XORB_MASK, PWRCOM, { RT, RA } },
3695{ "addzeo.", XO(31,202,1,1), XORB_MASK, PPCCOM, { RT, RA } },
3696{ "azeo.", XO(31,202,1,1), XORB_MASK, PWRCOM, { RT, RA } },
3697
3698{ "mtsr", X(31,210), XRB_MASK|(1<<20), COM32, { SR, RS } },
3699
3700{ "stdcx.", XRC(31,214,1), X_MASK, PPC64, { RS, RA0, RB } },
3701
3702{ "stbx", X(31,215), X_MASK, COM, { RS, RA0, RB } },
3703
3704{ "sllq", XRC(31,216,0), X_MASK, M601, { RA, RS, RB } },
3705{ "sllq.", XRC(31,216,1), X_MASK, M601, { RA, RS, RB } },
3706
3707{ "sleq", XRC(31,217,0), X_MASK, M601, { RA, RS, RB } },
3708{ "sleq.", XRC(31,217,1), X_MASK, M601, { RA, RS, RB } },
3709
3710{ "stbxe", X(31,223), X_MASK, BOOKE64, { RS, RA0, RB } },
3711
3712{ "icblc", X(31,230), X_MASK, PPCCHLK, { CT, RA, RB }},
3713
3714{ "subfme", XO(31,232,0,0), XORB_MASK, PPCCOM, { RT, RA } },
3715{ "sfme", XO(31,232,0,0), XORB_MASK, PWRCOM, { RT, RA } },
3716{ "subfme.", XO(31,232,0,1), XORB_MASK, PPCCOM, { RT, RA } },
3717{ "sfme.", XO(31,232,0,1), XORB_MASK, PWRCOM, { RT, RA } },
3718{ "subfmeo", XO(31,232,1,0), XORB_MASK, PPCCOM, { RT, RA } },
3719{ "sfmeo", XO(31,232,1,0), XORB_MASK, PWRCOM, { RT, RA } },
3720{ "subfmeo.",XO(31,232,1,1), XORB_MASK, PPCCOM, { RT, RA } },
3721{ "sfmeo.", XO(31,232,1,1), XORB_MASK, PWRCOM, { RT, RA } },
3722
3723{ "mulld", XO(31,233,0,0), XO_MASK, PPC64, { RT, RA, RB } },
3724{ "mulld.", XO(31,233,0,1), XO_MASK, PPC64, { RT, RA, RB } },
3725{ "mulldo", XO(31,233,1,0), XO_MASK, PPC64, { RT, RA, RB } },
3726{ "mulldo.", XO(31,233,1,1), XO_MASK, PPC64, { RT, RA, RB } },
3727
3728{ "addme", XO(31,234,0,0), XORB_MASK, PPCCOM, { RT, RA } },
3729{ "ame", XO(31,234,0,0), XORB_MASK, PWRCOM, { RT, RA } },
3730{ "addme.", XO(31,234,0,1), XORB_MASK, PPCCOM, { RT, RA } },
3731{ "ame.", XO(31,234,0,1), XORB_MASK, PWRCOM, { RT, RA } },
3732{ "addmeo", XO(31,234,1,0), XORB_MASK, PPCCOM, { RT, RA } },
3733{ "ameo", XO(31,234,1,0), XORB_MASK, PWRCOM, { RT, RA } },
3734{ "addmeo.", XO(31,234,1,1), XORB_MASK, PPCCOM, { RT, RA } },
3735{ "ameo.", XO(31,234,1,1), XORB_MASK, PWRCOM, { RT, RA } },
3736
3737{ "mullw", XO(31,235,0,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3738{ "muls", XO(31,235,0,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3739{ "mullw.", XO(31,235,0,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3740{ "muls.", XO(31,235,0,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3741{ "mullwo", XO(31,235,1,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3742{ "mulso", XO(31,235,1,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3743{ "mullwo.", XO(31,235,1,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3744{ "mulso.", XO(31,235,1,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3745
3746{ "icblce", X(31,238), X_MASK, PPCCHLK64, { CT, RA, RB }},
3747{ "mtsrin", X(31,242), XRA_MASK, PPC32, { RS, RB } },
3748{ "mtsri", X(31,242), XRA_MASK, POWER32, { RS, RB } },
3749
3750{ "dcbtst", X(31,246), X_MASK, PPC, { CT, RA, RB } },
3751
3752{ "stbux", X(31,247), X_MASK, COM, { RS, RAS, RB } },
3753
3754{ "slliq", XRC(31,248,0), X_MASK, M601, { RA, RS, SH } },
3755{ "slliq.", XRC(31,248,1), X_MASK, M601, { RA, RS, SH } },
3756
3757{ "dcbtste", X(31,253), X_MASK, BOOKE64, { CT, RA, RB } },
3758
3759{ "stbuxe", X(31,255), X_MASK, BOOKE64, { RS, RAS, RB } },
3760
3761{ "mfdcrx", X(31,259), X_MASK, BOOKE, { RS, RA } },
3762
3763{ "doz", XO(31,264,0,0), XO_MASK, M601, { RT, RA, RB } },
3764{ "doz.", XO(31,264,0,1), XO_MASK, M601, { RT, RA, RB } },
3765{ "dozo", XO(31,264,1,0), XO_MASK, M601, { RT, RA, RB } },
3766{ "dozo.", XO(31,264,1,1), XO_MASK, M601, { RT, RA, RB } },
3767
3768{ "add", XO(31,266,0,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3769{ "cax", XO(31,266,0,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3770{ "add.", XO(31,266,0,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3771{ "cax.", XO(31,266,0,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3772{ "addo", XO(31,266,1,0), XO_MASK, PPCCOM, { RT, RA, RB } },
3773{ "caxo", XO(31,266,1,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3774{ "addo.", XO(31,266,1,1), XO_MASK, PPCCOM, { RT, RA, RB } },
3775{ "caxo.", XO(31,266,1,1), XO_MASK, PWRCOM, { RT, RA, RB } },
3776
3777{ "tlbiel", X(31,274), XRTLRA_MASK, POWER4, { RB, L } },
3778
3779{ "mfapidi", X(31,275), X_MASK, BOOKE, { RT, RA } },
3780
3781{ "lscbx", XRC(31,277,0), X_MASK, M601, { RT, RA, RB } },
3782{ "lscbx.", XRC(31,277,1), X_MASK, M601, { RT, RA, RB } },
3783
3784{ "dcbt", X(31,278), X_MASK, PPC, { CT, RA, RB } },
3785
3786{ "lhzx", X(31,279), X_MASK, COM, { RT, RA0, RB } },
3787
3788{ "eqv", XRC(31,284,0), X_MASK, COM, { RA, RS, RB } },
3789{ "eqv.", XRC(31,284,1), X_MASK, COM, { RA, RS, RB } },
3790
3791{ "dcbte", X(31,286), X_MASK, BOOKE64, { CT, RA, RB } },
3792
3793{ "lhzxe", X(31,287), X_MASK, BOOKE64, { RT, RA0, RB } },
3794
3795{ "tlbie", X(31,306), XRTLRA_MASK, PPC, { RB, L } },
3796{ "tlbi", X(31,306), XRT_MASK, POWER, { RA0, RB } },
3797
3798{ "eciwx", X(31,310), X_MASK, PPC, { RT, RA, RB } },
3799
3800{ "lhzux", X(31,311), X_MASK, COM, { RT, RAL, RB } },
3801
3802{ "xor", XRC(31,316,0), X_MASK, COM, { RA, RS, RB } },
3803{ "xor.", XRC(31,316,1), X_MASK, COM, { RA, RS, RB } },
3804
3805{ "lhzuxe", X(31,319), X_MASK, BOOKE64, { RT, RAL, RB } },
3806
3807{ "mfexisr", XSPR(31,323,64), XSPR_MASK, PPC403, { RT } },
3808{ "mfexier", XSPR(31,323,66), XSPR_MASK, PPC403, { RT } },
3809{ "mfbr0", XSPR(31,323,128), XSPR_MASK, PPC403, { RT } },
3810{ "mfbr1", XSPR(31,323,129), XSPR_MASK, PPC403, { RT } },
3811{ "mfbr2", XSPR(31,323,130), XSPR_MASK, PPC403, { RT } },
3812{ "mfbr3", XSPR(31,323,131), XSPR_MASK, PPC403, { RT } },
3813{ "mfbr4", XSPR(31,323,132), XSPR_MASK, PPC403, { RT } },
3814{ "mfbr5", XSPR(31,323,133), XSPR_MASK, PPC403, { RT } },
3815{ "mfbr6", XSPR(31,323,134), XSPR_MASK, PPC403, { RT } },
3816{ "mfbr7", XSPR(31,323,135), XSPR_MASK, PPC403, { RT } },
3817{ "mfbear", XSPR(31,323,144), XSPR_MASK, PPC403, { RT } },
3818{ "mfbesr", XSPR(31,323,145), XSPR_MASK, PPC403, { RT } },
3819{ "mfiocr", XSPR(31,323,160), XSPR_MASK, PPC403, { RT } },
3820{ "mfdmacr0", XSPR(31,323,192), XSPR_MASK, PPC403, { RT } },
3821{ "mfdmact0", XSPR(31,323,193), XSPR_MASK, PPC403, { RT } },
3822{ "mfdmada0", XSPR(31,323,194), XSPR_MASK, PPC403, { RT } },
3823{ "mfdmasa0", XSPR(31,323,195), XSPR_MASK, PPC403, { RT } },
3824{ "mfdmacc0", XSPR(31,323,196), XSPR_MASK, PPC403, { RT } },
3825{ "mfdmacr1", XSPR(31,323,200), XSPR_MASK, PPC403, { RT } },
3826{ "mfdmact1", XSPR(31,323,201), XSPR_MASK, PPC403, { RT } },
3827{ "mfdmada1", XSPR(31,323,202), XSPR_MASK, PPC403, { RT } },
3828{ "mfdmasa1", XSPR(31,323,203), XSPR_MASK, PPC403, { RT } },
3829{ "mfdmacc1", XSPR(31,323,204), XSPR_MASK, PPC403, { RT } },
3830{ "mfdmacr2", XSPR(31,323,208), XSPR_MASK, PPC403, { RT } },
3831{ "mfdmact2", XSPR(31,323,209), XSPR_MASK, PPC403, { RT } },
3832{ "mfdmada2", XSPR(31,323,210), XSPR_MASK, PPC403, { RT } },
3833{ "mfdmasa2", XSPR(31,323,211), XSPR_MASK, PPC403, { RT } },
3834{ "mfdmacc2", XSPR(31,323,212), XSPR_MASK, PPC403, { RT } },
3835{ "mfdmacr3", XSPR(31,323,216), XSPR_MASK, PPC403, { RT } },
3836{ "mfdmact3", XSPR(31,323,217), XSPR_MASK, PPC403, { RT } },
3837{ "mfdmada3", XSPR(31,323,218), XSPR_MASK, PPC403, { RT } },
3838{ "mfdmasa3", XSPR(31,323,219), XSPR_MASK, PPC403, { RT } },
3839{ "mfdmacc3", XSPR(31,323,220), XSPR_MASK, PPC403, { RT } },
3840{ "mfdmasr", XSPR(31,323,224), XSPR_MASK, PPC403, { RT } },
3841{ "mfdcr", X(31,323), X_MASK, PPC403 | BOOKE, { RT, SPR } },
3842
3843{ "div", XO(31,331,0,0), XO_MASK, M601, { RT, RA, RB } },
3844{ "div.", XO(31,331,0,1), XO_MASK, M601, { RT, RA, RB } },
3845{ "divo", XO(31,331,1,0), XO_MASK, M601, { RT, RA, RB } },
3846{ "divo.", XO(31,331,1,1), XO_MASK, M601, { RT, RA, RB } },
3847
3848{ "mfpmr", X(31,334), X_MASK, PPCPMR, { RT, PMR }},
3849
3850{ "mfmq", XSPR(31,339,0), XSPR_MASK, M601, { RT } },
3851{ "mfxer", XSPR(31,339,1), XSPR_MASK, COM, { RT } },
3852{ "mfrtcu", XSPR(31,339,4), XSPR_MASK, COM, { RT } },
3853{ "mfrtcl", XSPR(31,339,5), XSPR_MASK, COM, { RT } },
3854{ "mfdec", XSPR(31,339,6), XSPR_MASK, MFDEC1, { RT } },
3855{ "mfdec", XSPR(31,339,22), XSPR_MASK, MFDEC2, { RT } },
3856{ "mflr", XSPR(31,339,8), XSPR_MASK, COM, { RT } },
3857{ "mfctr", XSPR(31,339,9), XSPR_MASK, COM, { RT } },
3858{ "mftid", XSPR(31,339,17), XSPR_MASK, POWER, { RT } },
3859{ "mfdsisr", XSPR(31,339,18), XSPR_MASK, COM, { RT } },
3860{ "mfdar", XSPR(31,339,19), XSPR_MASK, COM, { RT } },
3861{ "mfsdr0", XSPR(31,339,24), XSPR_MASK, POWER, { RT } },
3862{ "mfsdr1", XSPR(31,339,25), XSPR_MASK, COM, { RT } },
3863{ "mfsrr0", XSPR(31,339,26), XSPR_MASK, COM, { RT } },
3864{ "mfsrr1", XSPR(31,339,27), XSPR_MASK, COM, { RT } },
3865{ "mfcfar", XSPR(31,339,28), XSPR_MASK, POWER6, { RT } },
3866{ "mfpid", XSPR(31,339,48), XSPR_MASK, BOOKE, { RT } },
3867{ "mfpid", XSPR(31,339,945), XSPR_MASK, PPC403, { RT } },
3868{ "mfcsrr0", XSPR(31,339,58), XSPR_MASK, BOOKE, { RT } },
3869{ "mfcsrr1", XSPR(31,339,59), XSPR_MASK, BOOKE, { RT } },
3870{ "mfdear", XSPR(31,339,61), XSPR_MASK, BOOKE, { RT } },
3871{ "mfdear", XSPR(31,339,981), XSPR_MASK, PPC403, { RT } },
3872{ "mfesr", XSPR(31,339,62), XSPR_MASK, BOOKE, { RT } },
3873{ "mfesr", XSPR(31,339,980), XSPR_MASK, PPC403, { RT } },
3874{ "mfivpr", XSPR(31,339,63), XSPR_MASK, BOOKE, { RT } },
3875{ "mfcmpa", XSPR(31,339,144), XSPR_MASK, PPC860, { RT } },
3876{ "mfcmpb", XSPR(31,339,145), XSPR_MASK, PPC860, { RT } },
3877{ "mfcmpc", XSPR(31,339,146), XSPR_MASK, PPC860, { RT } },
3878{ "mfcmpd", XSPR(31,339,147), XSPR_MASK, PPC860, { RT } },
3879{ "mficr", XSPR(31,339,148), XSPR_MASK, PPC860, { RT } },
3880{ "mfder", XSPR(31,339,149), XSPR_MASK, PPC860, { RT } },
3881{ "mfcounta", XSPR(31,339,150), XSPR_MASK, PPC860, { RT } },
3882{ "mfcountb", XSPR(31,339,151), XSPR_MASK, PPC860, { RT } },
3883{ "mfcmpe", XSPR(31,339,152), XSPR_MASK, PPC860, { RT } },
3884{ "mfcmpf", XSPR(31,339,153), XSPR_MASK, PPC860, { RT } },
3885{ "mfcmpg", XSPR(31,339,154), XSPR_MASK, PPC860, { RT } },
3886{ "mfcmph", XSPR(31,339,155), XSPR_MASK, PPC860, { RT } },
3887{ "mflctrl1", XSPR(31,339,156), XSPR_MASK, PPC860, { RT } },
3888{ "mflctrl2", XSPR(31,339,157), XSPR_MASK, PPC860, { RT } },
3889{ "mfictrl", XSPR(31,339,158), XSPR_MASK, PPC860, { RT } },
3890{ "mfbar", XSPR(31,339,159), XSPR_MASK, PPC860, { RT } },
3891{ "mfvrsave", XSPR(31,339,256), XSPR_MASK, PPCVEC, { RT } },
3892{ "mfusprg0", XSPR(31,339,256), XSPR_MASK, BOOKE, { RT } },
3893{ "mftb", X(31,371), X_MASK, CLASSIC, { RT, TBR } },
3894{ "mftb", XSPR(31,339,268), XSPR_MASK, BOOKE, { RT } },
3895{ "mftbl", XSPR(31,371,268), XSPR_MASK, CLASSIC, { RT } },
3896{ "mftbl", XSPR(31,339,268), XSPR_MASK, BOOKE, { RT } },
3897{ "mftbu", XSPR(31,371,269), XSPR_MASK, CLASSIC, { RT } },
3898{ "mftbu", XSPR(31,339,269), XSPR_MASK, BOOKE, { RT } },
3899{ "mfsprg", XSPR(31,339,256), XSPRG_MASK, PPC, { RT, SPRG } },
3900{ "mfsprg0", XSPR(31,339,272), XSPR_MASK, PPC, { RT } },
3901{ "mfsprg1", XSPR(31,339,273), XSPR_MASK, PPC, { RT } },
3902{ "mfsprg2", XSPR(31,339,274), XSPR_MASK, PPC, { RT } },
3903{ "mfsprg3", XSPR(31,339,275), XSPR_MASK, PPC, { RT } },
3904{ "mfsprg4", XSPR(31,339,260), XSPR_MASK, PPC405 | BOOKE, { RT } },
3905{ "mfsprg5", XSPR(31,339,261), XSPR_MASK, PPC405 | BOOKE, { RT } },
3906{ "mfsprg6", XSPR(31,339,262), XSPR_MASK, PPC405 | BOOKE, { RT } },
3907{ "mfsprg7", XSPR(31,339,263), XSPR_MASK, PPC405 | BOOKE, { RT } },
3908{ "mfasr", XSPR(31,339,280), XSPR_MASK, PPC64, { RT } },
3909{ "mfear", XSPR(31,339,282), XSPR_MASK, PPC, { RT } },
3910{ "mfpir", XSPR(31,339,286), XSPR_MASK, BOOKE, { RT } },
3911{ "mfpvr", XSPR(31,339,287), XSPR_MASK, PPC, { RT } },
3912{ "mfdbsr", XSPR(31,339,304), XSPR_MASK, BOOKE, { RT } },
3913{ "mfdbsr", XSPR(31,339,1008), XSPR_MASK, PPC403, { RT } },
3914{ "mfdbcr0", XSPR(31,339,308), XSPR_MASK, BOOKE, { RT } },
3915{ "mfdbcr0", XSPR(31,339,1010), XSPR_MASK, PPC405, { RT } },
3916{ "mfdbcr1", XSPR(31,339,309), XSPR_MASK, BOOKE, { RT } },
3917{ "mfdbcr1", XSPR(31,339,957), XSPR_MASK, PPC405, { RT } },
3918{ "mfdbcr2", XSPR(31,339,310), XSPR_MASK, BOOKE, { RT } },
3919{ "mfiac1", XSPR(31,339,312), XSPR_MASK, BOOKE, { RT } },
3920{ "mfiac1", XSPR(31,339,1012), XSPR_MASK, PPC403, { RT } },
3921{ "mfiac2", XSPR(31,339,313), XSPR_MASK, BOOKE, { RT } },
3922{ "mfiac2", XSPR(31,339,1013), XSPR_MASK, PPC403, { RT } },
3923{ "mfiac3", XSPR(31,339,314), XSPR_MASK, BOOKE, { RT } },
3924{ "mfiac3", XSPR(31,339,948), XSPR_MASK, PPC405, { RT } },
3925{ "mfiac4", XSPR(31,339,315), XSPR_MASK, BOOKE, { RT } },
3926{ "mfiac4", XSPR(31,339,949), XSPR_MASK, PPC405, { RT } },
3927{ "mfdac1", XSPR(31,339,316), XSPR_MASK, BOOKE, { RT } },
3928{ "mfdac1", XSPR(31,339,1014), XSPR_MASK, PPC403, { RT } },
3929{ "mfdac2", XSPR(31,339,317), XSPR_MASK, BOOKE, { RT } },
3930{ "mfdac2", XSPR(31,339,1015), XSPR_MASK, PPC403, { RT } },
3931{ "mfdvc1", XSPR(31,339,318), XSPR_MASK, BOOKE, { RT } },
3932{ "mfdvc1", XSPR(31,339,950), XSPR_MASK, PPC405, { RT } },
3933{ "mfdvc2", XSPR(31,339,319), XSPR_MASK, BOOKE, { RT } },
3934{ "mfdvc2", XSPR(31,339,951), XSPR_MASK, PPC405, { RT } },
3935{ "mftsr", XSPR(31,339,336), XSPR_MASK, BOOKE, { RT } },
3936{ "mftsr", XSPR(31,339,984), XSPR_MASK, PPC403, { RT } },
3937{ "mftcr", XSPR(31,339,340), XSPR_MASK, BOOKE, { RT } },
3938{ "mftcr", XSPR(31,339,986), XSPR_MASK, PPC403, { RT } },
3939{ "mfivor0", XSPR(31,339,400), XSPR_MASK, BOOKE, { RT } },
3940{ "mfivor1", XSPR(31,339,401), XSPR_MASK, BOOKE, { RT } },
3941{ "mfivor2", XSPR(31,339,402), XSPR_MASK, BOOKE, { RT } },
3942{ "mfivor3", XSPR(31,339,403), XSPR_MASK, BOOKE, { RT } },
3943{ "mfivor4", XSPR(31,339,404), XSPR_MASK, BOOKE, { RT } },
3944{ "mfivor5", XSPR(31,339,405), XSPR_MASK, BOOKE, { RT } },
3945{ "mfivor6", XSPR(31,339,406), XSPR_MASK, BOOKE, { RT } },
3946{ "mfivor7", XSPR(31,339,407), XSPR_MASK, BOOKE, { RT } },
3947{ "mfivor8", XSPR(31,339,408), XSPR_MASK, BOOKE, { RT } },
3948{ "mfivor9", XSPR(31,339,409), XSPR_MASK, BOOKE, { RT } },
3949{ "mfivor10", XSPR(31,339,410), XSPR_MASK, BOOKE, { RT } },
3950{ "mfivor11", XSPR(31,339,411), XSPR_MASK, BOOKE, { RT } },
3951{ "mfivor12", XSPR(31,339,412), XSPR_MASK, BOOKE, { RT } },
3952{ "mfivor13", XSPR(31,339,413), XSPR_MASK, BOOKE, { RT } },
3953{ "mfivor14", XSPR(31,339,414), XSPR_MASK, BOOKE, { RT } },
3954{ "mfivor15", XSPR(31,339,415), XSPR_MASK, BOOKE, { RT } },
3955{ "mfspefscr", XSPR(31,339,512), XSPR_MASK, PPCSPE, { RT } },
3956{ "mfbbear", XSPR(31,339,513), XSPR_MASK, PPCBRLK, { RT } },
3957{ "mfbbtar", XSPR(31,339,514), XSPR_MASK, PPCBRLK, { RT } },
3958{ "mfivor32", XSPR(31,339,528), XSPR_MASK, PPCSPE, { RT } },
3959{ "mfivor33", XSPR(31,339,529), XSPR_MASK, PPCSPE, { RT } },
3960{ "mfivor34", XSPR(31,339,530), XSPR_MASK, PPCSPE, { RT } },
3961{ "mfivor35", XSPR(31,339,531), XSPR_MASK, PPCPMR, { RT } },
3962{ "mfibatu", XSPR(31,339,528), XSPRBAT_MASK, PPC, { RT, SPRBAT } },
3963{ "mfibatl", XSPR(31,339,529), XSPRBAT_MASK, PPC, { RT, SPRBAT } },
3964{ "mfdbatu", XSPR(31,339,536), XSPRBAT_MASK, PPC, { RT, SPRBAT } },
3965{ "mfdbatl", XSPR(31,339,537), XSPRBAT_MASK, PPC, { RT, SPRBAT } },
3966{ "mfic_cst", XSPR(31,339,560), XSPR_MASK, PPC860, { RT } },
3967{ "mfic_adr", XSPR(31,339,561), XSPR_MASK, PPC860, { RT } },
3968{ "mfic_dat", XSPR(31,339,562), XSPR_MASK, PPC860, { RT } },
3969{ "mfdc_cst", XSPR(31,339,568), XSPR_MASK, PPC860, { RT } },
3970{ "mfdc_adr", XSPR(31,339,569), XSPR_MASK, PPC860, { RT } },
3971{ "mfmcsrr0", XSPR(31,339,570), XSPR_MASK, PPCRFMCI, { RT } },
3972{ "mfdc_dat", XSPR(31,339,570), XSPR_MASK, PPC860, { RT } },
3973{ "mfmcsrr1", XSPR(31,339,571), XSPR_MASK, PPCRFMCI, { RT } },
3974{ "mfmcsr", XSPR(31,339,572), XSPR_MASK, PPCRFMCI, { RT } },
3975{ "mfmcar", XSPR(31,339,573), XSPR_MASK, PPCRFMCI, { RT } },
3976{ "mfdpdr", XSPR(31,339,630), XSPR_MASK, PPC860, { RT } },
3977{ "mfdpir", XSPR(31,339,631), XSPR_MASK, PPC860, { RT } },
3978{ "mfimmr", XSPR(31,339,638), XSPR_MASK, PPC860, { RT } },
3979{ "mfmi_ctr", XSPR(31,339,784), XSPR_MASK, PPC860, { RT } },
3980{ "mfmi_ap", XSPR(31,339,786), XSPR_MASK, PPC860, { RT } },
3981{ "mfmi_epn", XSPR(31,339,787), XSPR_MASK, PPC860, { RT } },
3982{ "mfmi_twc", XSPR(31,339,789), XSPR_MASK, PPC860, { RT } },
3983{ "mfmi_rpn", XSPR(31,339,790), XSPR_MASK, PPC860, { RT } },
3984{ "mfmd_ctr", XSPR(31,339,792), XSPR_MASK, PPC860, { RT } },
3985{ "mfm_casid", XSPR(31,339,793), XSPR_MASK, PPC860, { RT } },
3986{ "mfmd_ap", XSPR(31,339,794), XSPR_MASK, PPC860, { RT } },
3987{ "mfmd_epn", XSPR(31,339,795), XSPR_MASK, PPC860, { RT } },
3988{ "mfmd_twb", XSPR(31,339,796), XSPR_MASK, PPC860, { RT } },
3989{ "mfmd_twc", XSPR(31,339,797), XSPR_MASK, PPC860, { RT } },
3990{ "mfmd_rpn", XSPR(31,339,798), XSPR_MASK, PPC860, { RT } },
3991{ "mfm_tw", XSPR(31,339,799), XSPR_MASK, PPC860, { RT } },
3992{ "mfmi_dbcam", XSPR(31,339,816), XSPR_MASK, PPC860, { RT } },
3993{ "mfmi_dbram0",XSPR(31,339,817), XSPR_MASK, PPC860, { RT } },
3994{ "mfmi_dbram1",XSPR(31,339,818), XSPR_MASK, PPC860, { RT } },
3995{ "mfmd_dbcam", XSPR(31,339,824), XSPR_MASK, PPC860, { RT } },
3996{ "mfmd_dbram0",XSPR(31,339,825), XSPR_MASK, PPC860, { RT } },
3997{ "mfmd_dbram1",XSPR(31,339,826), XSPR_MASK, PPC860, { RT } },
3998{ "mfummcr0", XSPR(31,339,936), XSPR_MASK, PPC750, { RT } },
3999{ "mfupmc1", XSPR(31,339,937), XSPR_MASK, PPC750, { RT } },
4000{ "mfupmc2", XSPR(31,339,938), XSPR_MASK, PPC750, { RT } },
4001{ "mfusia", XSPR(31,339,939), XSPR_MASK, PPC750, { RT } },
4002{ "mfummcr1", XSPR(31,339,940), XSPR_MASK, PPC750, { RT } },
4003{ "mfupmc3", XSPR(31,339,941), XSPR_MASK, PPC750, { RT } },
4004{ "mfupmc4", XSPR(31,339,942), XSPR_MASK, PPC750, { RT } },
4005{ "mfzpr", XSPR(31,339,944), XSPR_MASK, PPC403, { RT } },
4006{ "mfccr0", XSPR(31,339,947), XSPR_MASK, PPC405, { RT } },
4007{ "mfmmcr0", XSPR(31,339,952), XSPR_MASK, PPC750, { RT } },
4008{ "mfpmc1", XSPR(31,339,953), XSPR_MASK, PPC750, { RT } },
4009{ "mfsgr", XSPR(31,339,953), XSPR_MASK, PPC403, { RT } },
4010{ "mfpmc2", XSPR(31,339,954), XSPR_MASK, PPC750, { RT } },
4011{ "mfdcwr", XSPR(31,339,954), XSPR_MASK, PPC403, { RT } },
4012{ "mfsia", XSPR(31,339,955), XSPR_MASK, PPC750, { RT } },
4013{ "mfsler", XSPR(31,339,955), XSPR_MASK, PPC405, { RT } },
4014{ "mfmmcr1", XSPR(31,339,956), XSPR_MASK, PPC750, { RT } },
4015{ "mfsu0r", XSPR(31,339,956), XSPR_MASK, PPC405, { RT } },
4016{ "mfpmc3", XSPR(31,339,957), XSPR_MASK, PPC750, { RT } },
4017{ "mfpmc4", XSPR(31,339,958), XSPR_MASK, PPC750, { RT } },
4018{ "mficdbdr", XSPR(31,339,979), XSPR_MASK, PPC403, { RT } },
4019{ "mfevpr", XSPR(31,339,982), XSPR_MASK, PPC403, { RT } },
4020{ "mfcdbcr", XSPR(31,339,983), XSPR_MASK, PPC403, { RT } },
4021{ "mfpit", XSPR(31,339,987), XSPR_MASK, PPC403, { RT } },
4022{ "mftbhi", XSPR(31,339,988), XSPR_MASK, PPC403, { RT } },
4023{ "mftblo", XSPR(31,339,989), XSPR_MASK, PPC403, { RT } },
4024{ "mfsrr2", XSPR(31,339,990), XSPR_MASK, PPC403, { RT } },
4025{ "mfsrr3", XSPR(31,339,991), XSPR_MASK, PPC403, { RT } },
4026{ "mfl2cr", XSPR(31,339,1017), XSPR_MASK, PPC750, { RT } },
4027{ "mfdccr", XSPR(31,339,1018), XSPR_MASK, PPC403, { RT } },
4028{ "mficcr", XSPR(31,339,1019), XSPR_MASK, PPC403, { RT } },
4029{ "mfictc", XSPR(31,339,1019), XSPR_MASK, PPC750, { RT } },
4030{ "mfpbl1", XSPR(31,339,1020), XSPR_MASK, PPC403, { RT } },
4031{ "mfthrm1", XSPR(31,339,1020), XSPR_MASK, PPC750, { RT } },
4032{ "mfpbu1", XSPR(31,339,1021), XSPR_MASK, PPC403, { RT } },
4033{ "mfthrm2", XSPR(31,339,1021), XSPR_MASK, PPC750, { RT } },
4034{ "mfpbl2", XSPR(31,339,1022), XSPR_MASK, PPC403, { RT } },
4035{ "mfthrm3", XSPR(31,339,1022), XSPR_MASK, PPC750, { RT } },
4036{ "mfpbu2", XSPR(31,339,1023), XSPR_MASK, PPC403, { RT } },
4037{ "mfspr", X(31,339), X_MASK, COM, { RT, SPR } },
4038
4039{ "lwax", X(31,341), X_MASK, PPC64, { RT, RA0, RB } },
4040
4041{ "dst", XDSS(31,342,0), XDSS_MASK, PPCVEC, { RA, RB, STRM } },
4042{ "dstt", XDSS(31,342,1), XDSS_MASK, PPCVEC, { RA, RB, STRM } },
4043
4044{ "lhax", X(31,343), X_MASK, COM, { RT, RA0, RB } },
4045
4046{ "lhaxe", X(31,351), X_MASK, BOOKE64, { RT, RA0, RB } },
4047
4048{ "dstst", XDSS(31,374,0), XDSS_MASK, PPCVEC, { RA, RB, STRM } },
4049{ "dststt", XDSS(31,374,1), XDSS_MASK, PPCVEC, { RA, RB, STRM } },
4050
4051{ "dccci", X(31,454), XRT_MASK, PPC403|PPC440, { RA, RB } },
4052
4053{ "abs", XO(31,360,0,0), XORB_MASK, M601, { RT, RA } },
4054{ "abs.", XO(31,360,0,1), XORB_MASK, M601, { RT, RA } },
4055{ "abso", XO(31,360,1,0), XORB_MASK, M601, { RT, RA } },
4056{ "abso.", XO(31,360,1,1), XORB_MASK, M601, { RT, RA } },
4057
4058{ "divs", XO(31,363,0,0), XO_MASK, M601, { RT, RA, RB } },
4059{ "divs.", XO(31,363,0,1), XO_MASK, M601, { RT, RA, RB } },
4060{ "divso", XO(31,363,1,0), XO_MASK, M601, { RT, RA, RB } },
4061{ "divso.", XO(31,363,1,1), XO_MASK, M601, { RT, RA, RB } },
4062
4063{ "tlbia", X(31,370), 0xffffffff, PPC, { 0 } },
4064
4065{ "lwaux", X(31,373), X_MASK, PPC64, { RT, RAL, RB } },
4066
4067{ "lhaux", X(31,375), X_MASK, COM, { RT, RAL, RB } },
4068
4069{ "lhauxe", X(31,383), X_MASK, BOOKE64, { RT, RAL, RB } },
4070
4071{ "mtdcrx", X(31,387), X_MASK, BOOKE, { RA, RS } },
4072
4073{ "dcblc", X(31,390), X_MASK, PPCCHLK, { CT, RA, RB }},
4074
4075{ "subfe64", XO(31,392,0,0), XO_MASK, BOOKE64, { RT, RA, RB } },
4076{ "subfe64o",XO(31,392,1,0), XO_MASK, BOOKE64, { RT, RA, RB } },
4077
4078{ "adde64", XO(31,394,0,0), XO_MASK, BOOKE64, { RT, RA, RB } },
4079{ "adde64o", XO(31,394,1,0), XO_MASK, BOOKE64, { RT, RA, RB } },
4080
4081{ "dcblce", X(31,398), X_MASK, PPCCHLK64, { CT, RA, RB }},
4082
4083{ "slbmte", X(31,402), XRA_MASK, PPC64, { RS, RB } },
4084
4085{ "sthx", X(31,407), X_MASK, COM, { RS, RA0, RB } },
4086
4087{ "cmpb", X(31,508), X_MASK, POWER6, { RA, RS, RB } },
4088
4089{ "lfqx", X(31,791), X_MASK, POWER2, { FRT, RA, RB } },
4090
4091{ "lfdpx", X(31,791), X_MASK, POWER6, { FRT, RA, RB } },
4092
4093{ "lfqux", X(31,823), X_MASK, POWER2, { FRT, RA, RB } },
4094
4095{ "stfqx", X(31,919), X_MASK, POWER2, { FRS, RA, RB } },
4096
4097{ "stfdpx", X(31,919), X_MASK, POWER6, { FRS, RA, RB } },
4098
4099{ "stfqux", X(31,951), X_MASK, POWER2, { FRS, RA, RB } },
4100
4101{ "orc", XRC(31,412,0), X_MASK, COM, { RA, RS, RB } },
4102{ "orc.", XRC(31,412,1), X_MASK, COM, { RA, RS, RB } },
4103
4104{ "sradi", XS(31,413,0), XS_MASK, PPC64, { RA, RS, SH6 } },
4105{ "sradi.", XS(31,413,1), XS_MASK, PPC64, { RA, RS, SH6 } },
4106
4107{ "sthxe", X(31,415), X_MASK, BOOKE64, { RS, RA0, RB } },
4108
4109{ "slbie", X(31,434), XRTRA_MASK, PPC64, { RB } },
4110
4111{ "ecowx", X(31,438), X_MASK, PPC, { RT, RA, RB } },
4112
4113{ "sthux", X(31,439), X_MASK, COM, { RS, RAS, RB } },
4114
4115{ "sthuxe", X(31,447), X_MASK, BOOKE64, { RS, RAS, RB } },
4116
4117{ "cctpl", 0x7c210b78, 0xffffffff, CELL, { 0 }},
4118{ "cctpm", 0x7c421378, 0xffffffff, CELL, { 0 }},
4119{ "cctph", 0x7c631b78, 0xffffffff, CELL, { 0 }},
4120{ "db8cyc", 0x7f9ce378, 0xffffffff, CELL, { 0 }},
4121{ "db10cyc", 0x7fbdeb78, 0xffffffff, CELL, { 0 }},
4122{ "db12cyc", 0x7fdef378, 0xffffffff, CELL, { 0 }},
4123{ "db16cyc", 0x7ffffb78, 0xffffffff, CELL, { 0 }},
4124{ "mr", XRC(31,444,0), X_MASK, COM, { RA, RS, RBS } },
4125{ "or", XRC(31,444,0), X_MASK, COM, { RA, RS, RB } },
4126{ "mr.", XRC(31,444,1), X_MASK, COM, { RA, RS, RBS } },
4127{ "or.", XRC(31,444,1), X_MASK, COM, { RA, RS, RB } },
4128
4129{ "mtexisr", XSPR(31,451,64), XSPR_MASK, PPC403, { RS } },
4130{ "mtexier", XSPR(31,451,66), XSPR_MASK, PPC403, { RS } },
4131{ "mtbr0", XSPR(31,451,128), XSPR_MASK, PPC403, { RS } },
4132{ "mtbr1", XSPR(31,451,129), XSPR_MASK, PPC403, { RS } },
4133{ "mtbr2", XSPR(31,451,130), XSPR_MASK, PPC403, { RS } },
4134{ "mtbr3", XSPR(31,451,131), XSPR_MASK, PPC403, { RS } },
4135{ "mtbr4", XSPR(31,451,132), XSPR_MASK, PPC403, { RS } },
4136{ "mtbr5", XSPR(31,451,133), XSPR_MASK, PPC403, { RS } },
4137{ "mtbr6", XSPR(31,451,134), XSPR_MASK, PPC403, { RS } },
4138{ "mtbr7", XSPR(31,451,135), XSPR_MASK, PPC403, { RS } },
4139{ "mtbear", XSPR(31,451,144), XSPR_MASK, PPC403, { RS } },
4140{ "mtbesr", XSPR(31,451,145), XSPR_MASK, PPC403, { RS } },
4141{ "mtiocr", XSPR(31,451,160), XSPR_MASK, PPC403, { RS } },
4142{ "mtdmacr0", XSPR(31,451,192), XSPR_MASK, PPC403, { RS } },
4143{ "mtdmact0", XSPR(31,451,193), XSPR_MASK, PPC403, { RS } },
4144{ "mtdmada0", XSPR(31,451,194), XSPR_MASK, PPC403, { RS } },
4145{ "mtdmasa0", XSPR(31,451,195), XSPR_MASK, PPC403, { RS } },
4146{ "mtdmacc0", XSPR(31,451,196), XSPR_MASK, PPC403, { RS } },
4147{ "mtdmacr1", XSPR(31,451,200), XSPR_MASK, PPC403, { RS } },
4148{ "mtdmact1", XSPR(31,451,201), XSPR_MASK, PPC403, { RS } },
4149{ "mtdmada1", XSPR(31,451,202), XSPR_MASK, PPC403, { RS } },
4150{ "mtdmasa1", XSPR(31,451,203), XSPR_MASK, PPC403, { RS } },
4151{ "mtdmacc1", XSPR(31,451,204), XSPR_MASK, PPC403, { RS } },
4152{ "mtdmacr2", XSPR(31,451,208), XSPR_MASK, PPC403, { RS } },
4153{ "mtdmact2", XSPR(31,451,209), XSPR_MASK, PPC403, { RS } },
4154{ "mtdmada2", XSPR(31,451,210), XSPR_MASK, PPC403, { RS } },
4155{ "mtdmasa2", XSPR(31,451,211), XSPR_MASK, PPC403, { RS } },
4156{ "mtdmacc2", XSPR(31,451,212), XSPR_MASK, PPC403, { RS } },
4157{ "mtdmacr3", XSPR(31,451,216), XSPR_MASK, PPC403, { RS } },
4158{ "mtdmact3", XSPR(31,451,217), XSPR_MASK, PPC403, { RS } },
4159{ "mtdmada3", XSPR(31,451,218), XSPR_MASK, PPC403, { RS } },
4160{ "mtdmasa3", XSPR(31,451,219), XSPR_MASK, PPC403, { RS } },
4161{ "mtdmacc3", XSPR(31,451,220), XSPR_MASK, PPC403, { RS } },
4162{ "mtdmasr", XSPR(31,451,224), XSPR_MASK, PPC403, { RS } },
4163{ "mtdcr", X(31,451), X_MASK, PPC403 | BOOKE, { SPR, RS } },
4164
4165{ "subfze64",XO(31,456,0,0), XORB_MASK, BOOKE64, { RT, RA } },
4166{ "subfze64o",XO(31,456,1,0), XORB_MASK, BOOKE64, { RT, RA } },
4167
4168{ "divdu", XO(31,457,0,0), XO_MASK, PPC64, { RT, RA, RB } },
4169{ "divdu.", XO(31,457,0,1), XO_MASK, PPC64, { RT, RA, RB } },
4170{ "divduo", XO(31,457,1,0), XO_MASK, PPC64, { RT, RA, RB } },
4171{ "divduo.", XO(31,457,1,1), XO_MASK, PPC64, { RT, RA, RB } },
4172
4173{ "addze64", XO(31,458,0,0), XORB_MASK, BOOKE64, { RT, RA } },
4174{ "addze64o",XO(31,458,1,0), XORB_MASK, BOOKE64, { RT, RA } },
4175
4176{ "divwu", XO(31,459,0,0), XO_MASK, PPC, { RT, RA, RB } },
4177{ "divwu.", XO(31,459,0,1), XO_MASK, PPC, { RT, RA, RB } },
4178{ "divwuo", XO(31,459,1,0), XO_MASK, PPC, { RT, RA, RB } },
4179{ "divwuo.", XO(31,459,1,1), XO_MASK, PPC, { RT, RA, RB } },
4180
4181{ "mtmq", XSPR(31,467,0), XSPR_MASK, M601, { RS } },
4182{ "mtxer", XSPR(31,467,1), XSPR_MASK, COM, { RS } },
4183{ "mtlr", XSPR(31,467,8), XSPR_MASK, COM, { RS } },
4184{ "mtctr", XSPR(31,467,9), XSPR_MASK, COM, { RS } },
4185{ "mttid", XSPR(31,467,17), XSPR_MASK, POWER, { RS } },
4186{ "mtdsisr", XSPR(31,467,18), XSPR_MASK, COM, { RS } },
4187{ "mtdar", XSPR(31,467,19), XSPR_MASK, COM, { RS } },
4188{ "mtrtcu", XSPR(31,467,20), XSPR_MASK, COM, { RS } },
4189{ "mtrtcl", XSPR(31,467,21), XSPR_MASK, COM, { RS } },
4190{ "mtdec", XSPR(31,467,22), XSPR_MASK, COM, { RS } },
4191{ "mtsdr0", XSPR(31,467,24), XSPR_MASK, POWER, { RS } },
4192{ "mtsdr1", XSPR(31,467,25), XSPR_MASK, COM, { RS } },
4193{ "mtsrr0", XSPR(31,467,26), XSPR_MASK, COM, { RS } },
4194{ "mtsrr1", XSPR(31,467,27), XSPR_MASK, COM, { RS } },
4195{ "mtcfar", XSPR(31,467,28), XSPR_MASK, POWER6, { RS } },
4196{ "mtpid", XSPR(31,467,48), XSPR_MASK, BOOKE, { RS } },
4197{ "mtpid", XSPR(31,467,945), XSPR_MASK, PPC403, { RS } },
4198{ "mtdecar", XSPR(31,467,54), XSPR_MASK, BOOKE, { RS } },
4199{ "mtcsrr0", XSPR(31,467,58), XSPR_MASK, BOOKE, { RS } },
4200{ "mtcsrr1", XSPR(31,467,59), XSPR_MASK, BOOKE, { RS } },
4201{ "mtdear", XSPR(31,467,61), XSPR_MASK, BOOKE, { RS } },
4202{ "mtdear", XSPR(31,467,981), XSPR_MASK, PPC403, { RS } },
4203{ "mtesr", XSPR(31,467,62), XSPR_MASK, BOOKE, { RS } },
4204{ "mtesr", XSPR(31,467,980), XSPR_MASK, PPC403, { RS } },
4205{ "mtivpr", XSPR(31,467,63), XSPR_MASK, BOOKE, { RS } },
4206{ "mtcmpa", XSPR(31,467,144), XSPR_MASK, PPC860, { RS } },
4207{ "mtcmpb", XSPR(31,467,145), XSPR_MASK, PPC860, { RS } },
4208{ "mtcmpc", XSPR(31,467,146), XSPR_MASK, PPC860, { RS } },
4209{ "mtcmpd", XSPR(31,467,147), XSPR_MASK, PPC860, { RS } },
4210{ "mticr", XSPR(31,467,148), XSPR_MASK, PPC860, { RS } },
4211{ "mtder", XSPR(31,467,149), XSPR_MASK, PPC860, { RS } },
4212{ "mtcounta", XSPR(31,467,150), XSPR_MASK, PPC860, { RS } },
4213{ "mtcountb", XSPR(31,467,151), XSPR_MASK, PPC860, { RS } },
4214{ "mtcmpe", XSPR(31,467,152), XSPR_MASK, PPC860, { RS } },
4215{ "mtcmpf", XSPR(31,467,153), XSPR_MASK, PPC860, { RS } },
4216{ "mtcmpg", XSPR(31,467,154), XSPR_MASK, PPC860, { RS } },
4217{ "mtcmph", XSPR(31,467,155), XSPR_MASK, PPC860, { RS } },
4218{ "mtlctrl1", XSPR(31,467,156), XSPR_MASK, PPC860, { RS } },
4219{ "mtlctrl2", XSPR(31,467,157), XSPR_MASK, PPC860, { RS } },
4220{ "mtictrl", XSPR(31,467,158), XSPR_MASK, PPC860, { RS } },
4221{ "mtbar", XSPR(31,467,159), XSPR_MASK, PPC860, { RS } },
4222{ "mtvrsave", XSPR(31,467,256), XSPR_MASK, PPCVEC, { RS } },
4223{ "mtusprg0", XSPR(31,467,256), XSPR_MASK, BOOKE, { RS } },
4224{ "mtsprg", XSPR(31,467,256), XSPRG_MASK,PPC, { SPRG, RS } },
4225{ "mtsprg0", XSPR(31,467,272), XSPR_MASK, PPC, { RS } },
4226{ "mtsprg1", XSPR(31,467,273), XSPR_MASK, PPC, { RS } },
4227{ "mtsprg2", XSPR(31,467,274), XSPR_MASK, PPC, { RS } },
4228{ "mtsprg3", XSPR(31,467,275), XSPR_MASK, PPC, { RS } },
4229{ "mtsprg4", XSPR(31,467,276), XSPR_MASK, PPC405 | BOOKE, { RS } },
4230{ "mtsprg5", XSPR(31,467,277), XSPR_MASK, PPC405 | BOOKE, { RS } },
4231{ "mtsprg6", XSPR(31,467,278), XSPR_MASK, PPC405 | BOOKE, { RS } },
4232{ "mtsprg7", XSPR(31,467,279), XSPR_MASK, PPC405 | BOOKE, { RS } },
4233{ "mtasr", XSPR(31,467,280), XSPR_MASK, PPC64, { RS } },
4234{ "mtear", XSPR(31,467,282), XSPR_MASK, PPC, { RS } },
4235{ "mttbl", XSPR(31,467,284), XSPR_MASK, PPC, { RS } },
4236{ "mttbu", XSPR(31,467,285), XSPR_MASK, PPC, { RS } },
4237{ "mtdbsr", XSPR(31,467,304), XSPR_MASK, BOOKE, { RS } },
4238{ "mtdbsr", XSPR(31,467,1008), XSPR_MASK, PPC403, { RS } },
4239{ "mtdbcr0", XSPR(31,467,308), XSPR_MASK, BOOKE, { RS } },
4240{ "mtdbcr0", XSPR(31,467,1010), XSPR_MASK, PPC405, { RS } },
4241{ "mtdbcr1", XSPR(31,467,309), XSPR_MASK, BOOKE, { RS } },
4242{ "mtdbcr1", XSPR(31,467,957), XSPR_MASK, PPC405, { RS } },
4243{ "mtdbcr2", XSPR(31,467,310), XSPR_MASK, BOOKE, { RS } },
4244{ "mtiac1", XSPR(31,467,312), XSPR_MASK, BOOKE, { RS } },
4245{ "mtiac1", XSPR(31,467,1012), XSPR_MASK, PPC403, { RS } },
4246{ "mtiac2", XSPR(31,467,313), XSPR_MASK, BOOKE, { RS } },
4247{ "mtiac2", XSPR(31,467,1013), XSPR_MASK, PPC403, { RS } },
4248{ "mtiac3", XSPR(31,467,314), XSPR_MASK, BOOKE, { RS } },
4249{ "mtiac3", XSPR(31,467,948), XSPR_MASK, PPC405, { RS } },
4250{ "mtiac4", XSPR(31,467,315), XSPR_MASK, BOOKE, { RS } },
4251{ "mtiac4", XSPR(31,467,949), XSPR_MASK, PPC405, { RS } },
4252{ "mtdac1", XSPR(31,467,316), XSPR_MASK, BOOKE, { RS } },
4253{ "mtdac1", XSPR(31,467,1014), XSPR_MASK, PPC403, { RS } },
4254{ "mtdac2", XSPR(31,467,317), XSPR_MASK, BOOKE, { RS } },
4255{ "mtdac2", XSPR(31,467,1015), XSPR_MASK, PPC403, { RS } },
4256{ "mtdvc1", XSPR(31,467,318), XSPR_MASK, BOOKE, { RS } },
4257{ "mtdvc1", XSPR(31,467,950), XSPR_MASK, PPC405, { RS } },
4258{ "mtdvc2", XSPR(31,467,319), XSPR_MASK, BOOKE, { RS } },
4259{ "mtdvc2", XSPR(31,467,951), XSPR_MASK, PPC405, { RS } },
4260{ "mttsr", XSPR(31,467,336), XSPR_MASK, BOOKE, { RS } },
4261{ "mttsr", XSPR(31,467,984), XSPR_MASK, PPC403, { RS } },
4262{ "mttcr", XSPR(31,467,340), XSPR_MASK, BOOKE, { RS } },
4263{ "mttcr", XSPR(31,467,986), XSPR_MASK, PPC403, { RS } },
4264{ "mtivor0", XSPR(31,467,400), XSPR_MASK, BOOKE, { RS } },
4265{ "mtivor1", XSPR(31,467,401), XSPR_MASK, BOOKE, { RS } },
4266{ "mtivor2", XSPR(31,467,402), XSPR_MASK, BOOKE, { RS } },
4267{ "mtivor3", XSPR(31,467,403), XSPR_MASK, BOOKE, { RS } },
4268{ "mtivor4", XSPR(31,467,404), XSPR_MASK, BOOKE, { RS } },
4269{ "mtivor5", XSPR(31,467,405), XSPR_MASK, BOOKE, { RS } },
4270{ "mtivor6", XSPR(31,467,406), XSPR_MASK, BOOKE, { RS } },
4271{ "mtivor7", XSPR(31,467,407), XSPR_MASK, BOOKE, { RS } },
4272{ "mtivor8", XSPR(31,467,408), XSPR_MASK, BOOKE, { RS } },
4273{ "mtivor9", XSPR(31,467,409), XSPR_MASK, BOOKE, { RS } },
4274{ "mtivor10", XSPR(31,467,410), XSPR_MASK, BOOKE, { RS } },
4275{ "mtivor11", XSPR(31,467,411), XSPR_MASK, BOOKE, { RS } },
4276{ "mtivor12", XSPR(31,467,412), XSPR_MASK, BOOKE, { RS } },
4277{ "mtivor13", XSPR(31,467,413), XSPR_MASK, BOOKE, { RS } },
4278{ "mtivor14", XSPR(31,467,414), XSPR_MASK, BOOKE, { RS } },
4279{ "mtivor15", XSPR(31,467,415), XSPR_MASK, BOOKE, { RS } },
4280{ "mtspefscr", XSPR(31,467,512), XSPR_MASK, PPCSPE, { RS } },
4281{ "mtbbear", XSPR(31,467,513), XSPR_MASK, PPCBRLK, { RS } },
4282{ "mtbbtar", XSPR(31,467,514), XSPR_MASK, PPCBRLK, { RS } },
4283{ "mtivor32", XSPR(31,467,528), XSPR_MASK, PPCSPE, { RS } },
4284{ "mtivor33", XSPR(31,467,529), XSPR_MASK, PPCSPE, { RS } },
4285{ "mtivor34", XSPR(31,467,530), XSPR_MASK, PPCSPE, { RS } },
4286{ "mtivor35", XSPR(31,467,531), XSPR_MASK, PPCPMR, { RS } },
4287{ "mtibatu", XSPR(31,467,528), XSPRBAT_MASK, PPC, { SPRBAT, RS } },
4288{ "mtibatl", XSPR(31,467,529), XSPRBAT_MASK, PPC, { SPRBAT, RS } },
4289{ "mtdbatu", XSPR(31,467,536), XSPRBAT_MASK, PPC, { SPRBAT, RS } },
4290{ "mtdbatl", XSPR(31,467,537), XSPRBAT_MASK, PPC, { SPRBAT, RS } },
4291{ "mtmcsrr0", XSPR(31,467,570), XSPR_MASK, PPCRFMCI, { RS } },
4292{ "mtmcsrr1", XSPR(31,467,571), XSPR_MASK, PPCRFMCI, { RS } },
4293{ "mtmcsr", XSPR(31,467,572), XSPR_MASK, PPCRFMCI, { RS } },
4294{ "mtummcr0", XSPR(31,467,936), XSPR_MASK, PPC750, { RS } },
4295{ "mtupmc1", XSPR(31,467,937), XSPR_MASK, PPC750, { RS } },
4296{ "mtupmc2", XSPR(31,467,938), XSPR_MASK, PPC750, { RS } },
4297{ "mtusia", XSPR(31,467,939), XSPR_MASK, PPC750, { RS } },
4298{ "mtummcr1", XSPR(31,467,940), XSPR_MASK, PPC750, { RS } },
4299{ "mtupmc3", XSPR(31,467,941), XSPR_MASK, PPC750, { RS } },
4300{ "mtupmc4", XSPR(31,467,942), XSPR_MASK, PPC750, { RS } },
4301{ "mtzpr", XSPR(31,467,944), XSPR_MASK, PPC403, { RS } },
4302{ "mtccr0", XSPR(31,467,947), XSPR_MASK, PPC405, { RS } },
4303{ "mtmmcr0", XSPR(31,467,952), XSPR_MASK, PPC750, { RS } },
4304{ "mtsgr", XSPR(31,467,953), XSPR_MASK, PPC403, { RS } },
4305{ "mtpmc1", XSPR(31,467,953), XSPR_MASK, PPC750, { RS } },
4306{ "mtdcwr", XSPR(31,467,954), XSPR_MASK, PPC403, { RS } },
4307{ "mtpmc2", XSPR(31,467,954), XSPR_MASK, PPC750, { RS } },
4308{ "mtsler", XSPR(31,467,955), XSPR_MASK, PPC405, { RS } },
4309{ "mtsia", XSPR(31,467,955), XSPR_MASK, PPC750, { RS } },
4310{ "mtsu0r", XSPR(31,467,956), XSPR_MASK, PPC405, { RS } },
4311{ "mtmmcr1", XSPR(31,467,956), XSPR_MASK, PPC750, { RS } },
4312{ "mtpmc3", XSPR(31,467,957), XSPR_MASK, PPC750, { RS } },
4313{ "mtpmc4", XSPR(31,467,958), XSPR_MASK, PPC750, { RS } },
4314{ "mticdbdr", XSPR(31,467,979), XSPR_MASK, PPC403, { RS } },
4315{ "mtevpr", XSPR(31,467,982), XSPR_MASK, PPC403, { RS } },
4316{ "mtcdbcr", XSPR(31,467,983), XSPR_MASK, PPC403, { RS } },
4317{ "mtpit", XSPR(31,467,987), XSPR_MASK, PPC403, { RS } },
4318{ "mttbhi", XSPR(31,467,988), XSPR_MASK, PPC403, { RS } },
4319{ "mttblo", XSPR(31,467,989), XSPR_MASK, PPC403, { RS } },
4320{ "mtsrr2", XSPR(31,467,990), XSPR_MASK, PPC403, { RS } },
4321{ "mtsrr3", XSPR(31,467,991), XSPR_MASK, PPC403, { RS } },
4322{ "mtl2cr", XSPR(31,467,1017), XSPR_MASK, PPC750, { RS } },
4323{ "mtdccr", XSPR(31,467,1018), XSPR_MASK, PPC403, { RS } },
4324{ "mticcr", XSPR(31,467,1019), XSPR_MASK, PPC403, { RS } },
4325{ "mtictc", XSPR(31,467,1019), XSPR_MASK, PPC750, { RS } },
4326{ "mtpbl1", XSPR(31,467,1020), XSPR_MASK, PPC403, { RS } },
4327{ "mtthrm1", XSPR(31,467,1020), XSPR_MASK, PPC750, { RS } },
4328{ "mtpbu1", XSPR(31,467,1021), XSPR_MASK, PPC403, { RS } },
4329{ "mtthrm2", XSPR(31,467,1021), XSPR_MASK, PPC750, { RS } },
4330{ "mtpbl2", XSPR(31,467,1022), XSPR_MASK, PPC403, { RS } },
4331{ "mtthrm3", XSPR(31,467,1022), XSPR_MASK, PPC750, { RS } },
4332{ "mtpbu2", XSPR(31,467,1023), XSPR_MASK, PPC403, { RS } },
4333{ "mtspr", X(31,467), X_MASK, COM, { SPR, RS } },
4334
4335{ "dcbi", X(31,470), XRT_MASK, PPC, { RA, RB } },
4336
4337{ "nand", XRC(31,476,0), X_MASK, COM, { RA, RS, RB } },
4338{ "nand.", XRC(31,476,1), X_MASK, COM, { RA, RS, RB } },
4339
4340{ "dcbie", X(31,478), XRT_MASK, BOOKE64, { RA, RB } },
4341
4342{ "dcread", X(31,486), X_MASK, PPC403|PPC440, { RT, RA, RB }},
4343
4344{ "mtpmr", X(31,462), X_MASK, PPCPMR, { PMR, RS }},
4345
4346{ "icbtls", X(31,486), X_MASK, PPCCHLK, { CT, RA, RB }},
4347
4348{ "nabs", XO(31,488,0,0), XORB_MASK, M601, { RT, RA } },
4349{ "subfme64",XO(31,488,0,0), XORB_MASK, BOOKE64, { RT, RA } },
4350{ "nabs.", XO(31,488,0,1), XORB_MASK, M601, { RT, RA } },
4351{ "nabso", XO(31,488,1,0), XORB_MASK, M601, { RT, RA } },
4352{ "subfme64o",XO(31,488,1,0), XORB_MASK, BOOKE64, { RT, RA } },
4353{ "nabso.", XO(31,488,1,1), XORB_MASK, M601, { RT, RA } },
4354
4355{ "divd", XO(31,489,0,0), XO_MASK, PPC64, { RT, RA, RB } },
4356{ "divd.", XO(31,489,0,1), XO_MASK, PPC64, { RT, RA, RB } },
4357{ "divdo", XO(31,489,1,0), XO_MASK, PPC64, { RT, RA, RB } },
4358{ "divdo.", XO(31,489,1,1), XO_MASK, PPC64, { RT, RA, RB } },
4359
4360{ "addme64", XO(31,490,0,0), XORB_MASK, BOOKE64, { RT, RA } },
4361{ "addme64o",XO(31,490,1,0), XORB_MASK, BOOKE64, { RT, RA } },
4362
4363{ "divw", XO(31,491,0,0), XO_MASK, PPC, { RT, RA, RB } },
4364{ "divw.", XO(31,491,0,1), XO_MASK, PPC, { RT, RA, RB } },
4365{ "divwo", XO(31,491,1,0), XO_MASK, PPC, { RT, RA, RB } },
4366{ "divwo.", XO(31,491,1,1), XO_MASK, PPC, { RT, RA, RB } },
4367
4368{ "icbtlse", X(31,494), X_MASK, PPCCHLK64, { CT, RA, RB }},
4369
4370{ "slbia", X(31,498), 0xffffffff, PPC64, { 0 } },
4371
4372{ "cli", X(31,502), XRB_MASK, POWER, { RT, RA } },
4373
4374{ "stdcxe.", XRC(31,511,1), X_MASK, BOOKE64, { RS, RA, RB } },
4375
4376{ "mcrxr", X(31,512), XRARB_MASK|(3<<21), COM, { BF } },
4377
4378{ "bblels", X(31,518), X_MASK, PPCBRLK, { 0 }},
4379{ "mcrxr64", X(31,544), XRARB_MASK|(3<<21), BOOKE64, { BF } },
4380
4381{ "clcs", X(31,531), XRB_MASK, M601, { RT, RA } },
4382
4383{ "ldbrx", X(31,532), X_MASK, CELL, { RT, RA0, RB } },
4384
4385{ "lswx", X(31,533), X_MASK, PPCCOM, { RT, RA0, RB } },
4386{ "lsx", X(31,533), X_MASK, PWRCOM, { RT, RA, RB } },
4387
4388{ "lwbrx", X(31,534), X_MASK, PPCCOM, { RT, RA0, RB } },
4389{ "lbrx", X(31,534), X_MASK, PWRCOM, { RT, RA, RB } },
4390
4391{ "lfsx", X(31,535), X_MASK, COM, { FRT, RA0, RB } },
4392
4393{ "srw", XRC(31,536,0), X_MASK, PPCCOM, { RA, RS, RB } },
4394{ "sr", XRC(31,536,0), X_MASK, PWRCOM, { RA, RS, RB } },
4395{ "srw.", XRC(31,536,1), X_MASK, PPCCOM, { RA, RS, RB } },
4396{ "sr.", XRC(31,536,1), X_MASK, PWRCOM, { RA, RS, RB } },
4397
4398{ "rrib", XRC(31,537,0), X_MASK, M601, { RA, RS, RB } },
4399{ "rrib.", XRC(31,537,1), X_MASK, M601, { RA, RS, RB } },
4400
4401{ "srd", XRC(31,539,0), X_MASK, PPC64, { RA, RS, RB } },
4402{ "srd.", XRC(31,539,1), X_MASK, PPC64, { RA, RS, RB } },
4403
4404{ "maskir", XRC(31,541,0), X_MASK, M601, { RA, RS, RB } },
4405{ "maskir.", XRC(31,541,1), X_MASK, M601, { RA, RS, RB } },
4406
4407{ "lwbrxe", X(31,542), X_MASK, BOOKE64, { RT, RA0, RB } },
4408
4409{ "lfsxe", X(31,543), X_MASK, BOOKE64, { FRT, RA0, RB } },
4410
4411{ "bbelr", X(31,550), X_MASK, PPCBRLK, { 0 }},
4412
4413{ "tlbsync", X(31,566), 0xffffffff, PPC, { 0 } },
4414
4415{ "lfsux", X(31,567), X_MASK, COM, { FRT, RAS, RB } },
4416
4417{ "lfsuxe", X(31,575), X_MASK, BOOKE64, { FRT, RAS, RB } },
4418
4419{ "mfsr", X(31,595), XRB_MASK|(1<<20), COM32, { RT, SR } },
4420
4421{ "lswi", X(31,597), X_MASK, PPCCOM, { RT, RA0, NB } },
4422{ "lsi", X(31,597), X_MASK, PWRCOM, { RT, RA0, NB } },
4423
4424{ "lwsync", XSYNC(31,598,1), 0xffffffff, PPC, { 0 } },
4425{ "ptesync", XSYNC(31,598,2), 0xffffffff, PPC64, { 0 } },
4426{ "msync", X(31,598), 0xffffffff, BOOKE, { 0 } },
4427{ "sync", X(31,598), XSYNC_MASK, PPCCOM, { LS } },
4428{ "dcs", X(31,598), 0xffffffff, PWRCOM, { 0 } },
4429
4430{ "lfdx", X(31,599), X_MASK, COM, { FRT, RA0, RB } },
4431
4432{ "lfdxe", X(31,607), X_MASK, BOOKE64, { FRT, RA0, RB } },
4433
4434{ "mffgpr", XRC(31,607,0), XRA_MASK, POWER6, { FRT, RB } },
4435
4436{ "mfsri", X(31,627), X_MASK, PWRCOM, { RT, RA, RB } },
4437
4438{ "dclst", X(31,630), XRB_MASK, PWRCOM, { RS, RA } },
4439
4440{ "lfdux", X(31,631), X_MASK, COM, { FRT, RAS, RB } },
4441
4442{ "lfduxe", X(31,639), X_MASK, BOOKE64, { FRT, RAS, RB } },
4443
4444{ "mfsrin", X(31,659), XRA_MASK, PPC32, { RT, RB } },
4445
4446{ "stdbrx", X(31,660), X_MASK, CELL, { RS, RA0, RB } },
4447
4448{ "stswx", X(31,661), X_MASK, PPCCOM, { RS, RA0, RB } },
4449{ "stsx", X(31,661), X_MASK, PWRCOM, { RS, RA0, RB } },
4450
4451{ "stwbrx", X(31,662), X_MASK, PPCCOM, { RS, RA0, RB } },
4452{ "stbrx", X(31,662), X_MASK, PWRCOM, { RS, RA0, RB } },
4453
4454{ "stfsx", X(31,663), X_MASK, COM, { FRS, RA0, RB } },
4455
4456{ "srq", XRC(31,664,0), X_MASK, M601, { RA, RS, RB } },
4457{ "srq.", XRC(31,664,1), X_MASK, M601, { RA, RS, RB } },
4458
4459{ "sre", XRC(31,665,0), X_MASK, M601, { RA, RS, RB } },
4460{ "sre.", XRC(31,665,1), X_MASK, M601, { RA, RS, RB } },
4461
4462{ "stwbrxe", X(31,670), X_MASK, BOOKE64, { RS, RA0, RB } },
4463
4464{ "stfsxe", X(31,671), X_MASK, BOOKE64, { FRS, RA0, RB } },
4465
4466{ "stfsux", X(31,695), X_MASK, COM, { FRS, RAS, RB } },
4467
4468{ "sriq", XRC(31,696,0), X_MASK, M601, { RA, RS, SH } },
4469{ "sriq.", XRC(31,696,1), X_MASK, M601, { RA, RS, SH } },
4470
4471{ "stfsuxe", X(31,703), X_MASK, BOOKE64, { FRS, RAS, RB } },
4472
4473{ "stswi", X(31,725), X_MASK, PPCCOM, { RS, RA0, NB } },
4474{ "stsi", X(31,725), X_MASK, PWRCOM, { RS, RA0, NB } },
4475
4476{ "stfdx", X(31,727), X_MASK, COM, { FRS, RA0, RB } },
4477
4478{ "srlq", XRC(31,728,0), X_MASK, M601, { RA, RS, RB } },
4479{ "srlq.", XRC(31,728,1), X_MASK, M601, { RA, RS, RB } },
4480
4481{ "sreq", XRC(31,729,0), X_MASK, M601, { RA, RS, RB } },
4482{ "sreq.", XRC(31,729,1), X_MASK, M601, { RA, RS, RB } },
4483
4484{ "stfdxe", X(31,735), X_MASK, BOOKE64, { FRS, RA0, RB } },
4485
4486{ "mftgpr", XRC(31,735,0), XRA_MASK, POWER6, { RT, FRB } },
4487
4488{ "dcba", X(31,758), XRT_MASK, PPC405 | BOOKE, { RA, RB } },
4489
4490{ "stfdux", X(31,759), X_MASK, COM, { FRS, RAS, RB } },
4491
4492{ "srliq", XRC(31,760,0), X_MASK, M601, { RA, RS, SH } },
4493{ "srliq.", XRC(31,760,1), X_MASK, M601, { RA, RS, SH } },
4494
4495{ "dcbae", X(31,766), XRT_MASK, BOOKE64, { RA, RB } },
4496
4497{ "stfduxe", X(31,767), X_MASK, BOOKE64, { FRS, RAS, RB } },
4498
4499{ "tlbivax", X(31,786), XRT_MASK, BOOKE, { RA, RB } },
4500{ "tlbivaxe",X(31,787), XRT_MASK, BOOKE64, { RA, RB } },
4501
4502{ "lwzcix", X(31,789), X_MASK, POWER6, { RT, RA0, RB } },
4503
4504{ "lhbrx", X(31,790), X_MASK, COM, { RT, RA0, RB } },
4505
4506{ "sraw", XRC(31,792,0), X_MASK, PPCCOM, { RA, RS, RB } },
4507{ "sra", XRC(31,792,0), X_MASK, PWRCOM, { RA, RS, RB } },
4508{ "sraw.", XRC(31,792,1), X_MASK, PPCCOM, { RA, RS, RB } },
4509{ "sra.", XRC(31,792,1), X_MASK, PWRCOM, { RA, RS, RB } },
4510
4511{ "srad", XRC(31,794,0), X_MASK, PPC64, { RA, RS, RB } },
4512{ "srad.", XRC(31,794,1), X_MASK, PPC64, { RA, RS, RB } },
4513
4514{ "lhbrxe", X(31,798), X_MASK, BOOKE64, { RT, RA0, RB } },
4515
4516{ "ldxe", X(31,799), X_MASK, BOOKE64, { RT, RA0, RB } },
4517{ "lduxe", X(31,831), X_MASK, BOOKE64, { RT, RA0, RB } },
4518
4519{ "rac", X(31,818), X_MASK, PWRCOM, { RT, RA, RB } },
4520
4521{ "lhzcix", X(31,821), X_MASK, POWER6, { RT, RA0, RB } },
4522
4523{ "dss", XDSS(31,822,0), XDSS_MASK, PPCVEC, { STRM } },
4524{ "dssall", XDSS(31,822,1), XDSS_MASK, PPCVEC, { 0 } },
4525
4526{ "srawi", XRC(31,824,0), X_MASK, PPCCOM, { RA, RS, SH } },
4527{ "srai", XRC(31,824,0), X_MASK, PWRCOM, { RA, RS, SH } },
4528{ "srawi.", XRC(31,824,1), X_MASK, PPCCOM, { RA, RS, SH } },
4529{ "srai.", XRC(31,824,1), X_MASK, PWRCOM, { RA, RS, SH } },
4530
4531{ "slbmfev", X(31,851), XRA_MASK, PPC64, { RT, RB } },
4532
4533{ "lbzcix", X(31,853), X_MASK, POWER6, { RT, RA0, RB } },
4534
4535{ "mbar", X(31,854), X_MASK, BOOKE, { MO } },
4536{ "eieio", X(31,854), 0xffffffff, PPC, { 0 } },
4537
4538{ "lfiwax", X(31,855), X_MASK, POWER6, { FRT, RA0, RB } },
4539
4540{ "ldcix", X(31,885), X_MASK, POWER6, { RT, RA0, RB } },
4541
4542{ "tlbsx", XRC(31,914,0), X_MASK, PPC403|BOOKE, { RTO, RA, RB } },
4543{ "tlbsx.", XRC(31,914,1), X_MASK, PPC403|BOOKE, { RTO, RA, RB } },
4544{ "tlbsxe", XRC(31,915,0), X_MASK, BOOKE64, { RTO, RA, RB } },
4545{ "tlbsxe.", XRC(31,915,1), X_MASK, BOOKE64, { RTO, RA, RB } },
4546
4547{ "slbmfee", X(31,915), XRA_MASK, PPC64, { RT, RB } },
4548
4549{ "stwcix", X(31,917), X_MASK, POWER6, { RS, RA0, RB } },
4550
4551{ "sthbrx", X(31,918), X_MASK, COM, { RS, RA0, RB } },
4552
4553{ "sraq", XRC(31,920,0), X_MASK, M601, { RA, RS, RB } },
4554{ "sraq.", XRC(31,920,1), X_MASK, M601, { RA, RS, RB } },
4555
4556{ "srea", XRC(31,921,0), X_MASK, M601, { RA, RS, RB } },
4557{ "srea.", XRC(31,921,1), X_MASK, M601, { RA, RS, RB } },
4558
4559{ "extsh", XRC(31,922,0), XRB_MASK, PPCCOM, { RA, RS } },
4560{ "exts", XRC(31,922,0), XRB_MASK, PWRCOM, { RA, RS } },
4561{ "extsh.", XRC(31,922,1), XRB_MASK, PPCCOM, { RA, RS } },
4562{ "exts.", XRC(31,922,1), XRB_MASK, PWRCOM, { RA, RS } },
4563
4564{ "sthbrxe", X(31,926), X_MASK, BOOKE64, { RS, RA0, RB } },
4565
4566{ "stdxe", X(31,927), X_MASK, BOOKE64, { RS, RA0, RB } },
4567
4568{ "tlbrehi", XTLB(31,946,0), XTLB_MASK, PPC403, { RT, RA } },
4569{ "tlbrelo", XTLB(31,946,1), XTLB_MASK, PPC403, { RT, RA } },
4570{ "tlbre", X(31,946), X_MASK, PPC403|BOOKE, { RSO, RAOPT, SHO } },
4571
4572{ "sthcix", X(31,949), X_MASK, POWER6, { RS, RA0, RB } },
4573
4574{ "sraiq", XRC(31,952,0), X_MASK, M601, { RA, RS, SH } },
4575{ "sraiq.", XRC(31,952,1), X_MASK, M601, { RA, RS, SH } },
4576
4577{ "extsb", XRC(31,954,0), XRB_MASK, PPC, { RA, RS} },
4578{ "extsb.", XRC(31,954,1), XRB_MASK, PPC, { RA, RS} },
4579
4580{ "stduxe", X(31,959), X_MASK, BOOKE64, { RS, RAS, RB } },
4581
4582{ "iccci", X(31,966), XRT_MASK, PPC403|PPC440, { RA, RB } },
4583
4584{ "tlbwehi", XTLB(31,978,0), XTLB_MASK, PPC403, { RT, RA } },
4585{ "tlbwelo", XTLB(31,978,1), XTLB_MASK, PPC403, { RT, RA } },
4586{ "tlbwe", X(31,978), X_MASK, PPC403|BOOKE, { RSO, RAOPT, SHO } },
4587{ "tlbld", X(31,978), XRTRA_MASK, PPC, { RB } },
4588
4589{ "stbcix", X(31,981), X_MASK, POWER6, { RS, RA0, RB } },
4590
4591{ "icbi", X(31,982), XRT_MASK, PPC, { RA, RB } },
4592
4593{ "stfiwx", X(31,983), X_MASK, PPC, { FRS, RA0, RB } },
4594
4595{ "extsw", XRC(31,986,0), XRB_MASK, PPC64 | BOOKE64,{ RA, RS } },
4596{ "extsw.", XRC(31,986,1), XRB_MASK, PPC64, { RA, RS } },
4597
4598{ "icread", X(31,998), XRT_MASK, PPC403|PPC440, { RA, RB } },
4599
4600{ "icbie", X(31,990), XRT_MASK, BOOKE64, { RA, RB } },
4601{ "stfiwxe", X(31,991), X_MASK, BOOKE64, { FRS, RA0, RB } },
4602
4603{ "tlbli", X(31,1010), XRTRA_MASK, PPC, { RB } },
4604
4605{ "stdcix", X(31,1013), X_MASK, POWER6, { RS, RA0, RB } },
4606
4607{ "dcbzl", XOPL(31,1014,1), XRT_MASK,POWER4, { RA, RB } },
4608{ "dcbz", X(31,1014), XRT_MASK, PPC, { RA, RB } },
4609{ "dclz", X(31,1014), XRT_MASK, PPC, { RA, RB } },
4610
4611{ "dcbze", X(31,1022), XRT_MASK, BOOKE64, { RA, RB } },
4612
4613{ "lvebx", X(31, 7), X_MASK, PPCVEC, { VD, RA, RB } },
4614{ "lvehx", X(31, 39), X_MASK, PPCVEC, { VD, RA, RB } },
4615{ "lvewx", X(31, 71), X_MASK, PPCVEC, { VD, RA, RB } },
4616{ "lvsl", X(31, 6), X_MASK, PPCVEC, { VD, RA, RB } },
4617{ "lvsr", X(31, 38), X_MASK, PPCVEC, { VD, RA, RB } },
4618{ "lvx", X(31, 103), X_MASK, PPCVEC, { VD, RA, RB } },
4619{ "lvxl", X(31, 359), X_MASK, PPCVEC, { VD, RA, RB } },
4620{ "stvebx", X(31, 135), X_MASK, PPCVEC, { VS, RA, RB } },
4621{ "stvehx", X(31, 167), X_MASK, PPCVEC, { VS, RA, RB } },
4622{ "stvewx", X(31, 199), X_MASK, PPCVEC, { VS, RA, RB } },
4623{ "stvx", X(31, 231), X_MASK, PPCVEC, { VS, RA, RB } },
4624{ "stvxl", X(31, 487), X_MASK, PPCVEC, { VS, RA, RB } },
4625
4626
4627{ "lvlx", X(31, 519), X_MASK, CELL, { VD, RA0, RB } },
4628{ "lvlxl", X(31, 775), X_MASK, CELL, { VD, RA0, RB } },
4629{ "lvrx", X(31, 551), X_MASK, CELL, { VD, RA0, RB } },
4630{ "lvrxl", X(31, 807), X_MASK, CELL, { VD, RA0, RB } },
4631{ "stvlx", X(31, 647), X_MASK, CELL, { VS, RA0, RB } },
4632{ "stvlxl", X(31, 903), X_MASK, CELL, { VS, RA0, RB } },
4633{ "stvrx", X(31, 679), X_MASK, CELL, { VS, RA0, RB } },
4634{ "stvrxl", X(31, 935), X_MASK, CELL, { VS, RA0, RB } },
4635
4636{ "lwz", OP(32), OP_MASK, PPCCOM, { RT, D, RA0 } },
4637{ "l", OP(32), OP_MASK, PWRCOM, { RT, D, RA0 } },
4638
4639{ "lwzu", OP(33), OP_MASK, PPCCOM, { RT, D, RAL } },
4640{ "lu", OP(33), OP_MASK, PWRCOM, { RT, D, RA0 } },
4641
4642{ "lbz", OP(34), OP_MASK, COM, { RT, D, RA0 } },
4643
4644{ "lbzu", OP(35), OP_MASK, COM, { RT, D, RAL } },
4645
4646{ "stw", OP(36), OP_MASK, PPCCOM, { RS, D, RA0 } },
4647{ "st", OP(36), OP_MASK, PWRCOM, { RS, D, RA0 } },
4648
4649{ "stwu", OP(37), OP_MASK, PPCCOM, { RS, D, RAS } },
4650{ "stu", OP(37), OP_MASK, PWRCOM, { RS, D, RA0 } },
4651
4652{ "stb", OP(38), OP_MASK, COM, { RS, D, RA0 } },
4653
4654{ "stbu", OP(39), OP_MASK, COM, { RS, D, RAS } },
4655
4656{ "lhz", OP(40), OP_MASK, COM, { RT, D, RA0 } },
4657
4658{ "lhzu", OP(41), OP_MASK, COM, { RT, D, RAL } },
4659
4660{ "lha", OP(42), OP_MASK, COM, { RT, D, RA0 } },
4661
4662{ "lhau", OP(43), OP_MASK, COM, { RT, D, RAL } },
4663
4664{ "sth", OP(44), OP_MASK, COM, { RS, D, RA0 } },
4665
4666{ "sthu", OP(45), OP_MASK, COM, { RS, D, RAS } },
4667
4668{ "lmw", OP(46), OP_MASK, PPCCOM, { RT, D, RAM } },
4669{ "lm", OP(46), OP_MASK, PWRCOM, { RT, D, RA0 } },
4670
4671{ "stmw", OP(47), OP_MASK, PPCCOM, { RS, D, RA0 } },
4672{ "stm", OP(47), OP_MASK, PWRCOM, { RS, D, RA0 } },
4673
4674{ "lfs", OP(48), OP_MASK, COM, { FRT, D, RA0 } },
4675
4676{ "lfsu", OP(49), OP_MASK, COM, { FRT, D, RAS } },
4677
4678{ "lfd", OP(50), OP_MASK, COM, { FRT, D, RA0 } },
4679
4680{ "lfdu", OP(51), OP_MASK, COM, { FRT, D, RAS } },
4681
4682{ "stfs", OP(52), OP_MASK, COM, { FRS, D, RA0 } },
4683
4684{ "stfsu", OP(53), OP_MASK, COM, { FRS, D, RAS } },
4685
4686{ "stfd", OP(54), OP_MASK, COM, { FRS, D, RA0 } },
4687
4688{ "stfdu", OP(55), OP_MASK, COM, { FRS, D, RAS } },
4689
4690{ "lq", OP(56), OP_MASK, POWER4, { RTQ, DQ, RAQ } },
4691
4692{ "lfq", OP(56), OP_MASK, POWER2, { FRT, D, RA0 } },
4693
4694{ "lfqu", OP(57), OP_MASK, POWER2, { FRT, D, RA0 } },
4695
4696{ "lfdp", OP(57), OP_MASK, POWER6, { FRT, D, RA0 } },
4697
4698{ "lbze", DEO(58,0), DE_MASK, BOOKE64, { RT, DE, RA0 } },
4699{ "lbzue", DEO(58,1), DE_MASK, BOOKE64, { RT, DE, RAL } },
4700{ "lhze", DEO(58,2), DE_MASK, BOOKE64, { RT, DE, RA0 } },
4701{ "lhzue", DEO(58,3), DE_MASK, BOOKE64, { RT, DE, RAL } },
4702{ "lhae", DEO(58,4), DE_MASK, BOOKE64, { RT, DE, RA0 } },
4703{ "lhaue", DEO(58,5), DE_MASK, BOOKE64, { RT, DE, RAL } },
4704{ "lwze", DEO(58,6), DE_MASK, BOOKE64, { RT, DE, RA0 } },
4705{ "lwzue", DEO(58,7), DE_MASK, BOOKE64, { RT, DE, RAL } },
4706{ "stbe", DEO(58,8), DE_MASK, BOOKE64, { RS, DE, RA0 } },
4707{ "stbue", DEO(58,9), DE_MASK, BOOKE64, { RS, DE, RAS } },
4708{ "sthe", DEO(58,10), DE_MASK, BOOKE64, { RS, DE, RA0 } },
4709{ "sthue", DEO(58,11), DE_MASK, BOOKE64, { RS, DE, RAS } },
4710{ "stwe", DEO(58,14), DE_MASK, BOOKE64, { RS, DE, RA0 } },
4711{ "stwue", DEO(58,15), DE_MASK, BOOKE64, { RS, DE, RAS } },
4712
4713{ "ld", DSO(58,0), DS_MASK, PPC64, { RT, DS, RA0 } },
4714
4715{ "ldu", DSO(58,1), DS_MASK, PPC64, { RT, DS, RAL } },
4716
4717{ "lwa", DSO(58,2), DS_MASK, PPC64, { RT, DS, RA0 } },
4718
4719{ "dadd", XRC(59,2,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4720{ "dadd.", XRC(59,2,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4721
4722{ "dqua", ZRC(59,3,0), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4723{ "dqua.", ZRC(59,3,1), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4724
4725{ "fdivs", A(59,18,0), AFRC_MASK, PPC, { FRT, FRA, FRB } },
4726{ "fdivs.", A(59,18,1), AFRC_MASK, PPC, { FRT, FRA, FRB } },
4727
4728{ "fsubs", A(59,20,0), AFRC_MASK, PPC, { FRT, FRA, FRB } },
4729{ "fsubs.", A(59,20,1), AFRC_MASK, PPC, { FRT, FRA, FRB } },
4730
4731{ "fadds", A(59,21,0), AFRC_MASK, PPC, { FRT, FRA, FRB } },
4732{ "fadds.", A(59,21,1), AFRC_MASK, PPC, { FRT, FRA, FRB } },
4733
4734{ "fsqrts", A(59,22,0), AFRAFRC_MASK, PPC, { FRT, FRB } },
4735{ "fsqrts.", A(59,22,1), AFRAFRC_MASK, PPC, { FRT, FRB } },
4736
4737{ "fres", A(59,24,0), AFRALFRC_MASK, PPC, { FRT, FRB, A_L } },
4738{ "fres.", A(59,24,1), AFRALFRC_MASK, PPC, { FRT, FRB, A_L } },
4739
4740{ "fmuls", A(59,25,0), AFRB_MASK, PPC, { FRT, FRA, FRC } },
4741{ "fmuls.", A(59,25,1), AFRB_MASK, PPC, { FRT, FRA, FRC } },
4742
4743{ "frsqrtes", A(59,26,0), AFRALFRC_MASK,POWER5, { FRT, FRB, A_L } },
4744{ "frsqrtes.",A(59,26,1), AFRALFRC_MASK,POWER5, { FRT, FRB, A_L } },
4745
4746{ "fmsubs", A(59,28,0), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4747{ "fmsubs.", A(59,28,1), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4748
4749{ "fmadds", A(59,29,0), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4750{ "fmadds.", A(59,29,1), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4751
4752{ "fnmsubs", A(59,30,0), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4753{ "fnmsubs.",A(59,30,1), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4754
4755{ "fnmadds", A(59,31,0), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4756{ "fnmadds.",A(59,31,1), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4757
4758{ "dmul", XRC(59,34,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4759{ "dmul.", XRC(59,34,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4760
4761{ "drrnd", ZRC(59,35,0), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4762{ "drrnd.", ZRC(59,35,1), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4763
4764{ "dscli", ZRC(59,66,0), Z_MASK, POWER6, { FRT, FRA, SH16 } },
4765{ "dscli.", ZRC(59,66,1), Z_MASK, POWER6, { FRT, FRA, SH16 } },
4766
4767{ "dquai", ZRC(59,67,0), Z2_MASK, POWER6, { TE, FRT, FRB, RMC } },
4768{ "dquai.", ZRC(59,67,1), Z2_MASK, POWER6, { TE, FRT, FRB, RMC } },
4769
4770{ "dscri", ZRC(59,98,0), Z_MASK, POWER6, { FRT, FRA, SH16 } },
4771{ "dscri.", ZRC(59,98,1), Z_MASK, POWER6, { FRT, FRA, SH16 } },
4772
4773{ "drintx", ZRC(59,99,0), Z2_MASK, POWER6, { R, FRT, FRB, RMC } },
4774{ "drintx.", ZRC(59,99,1), Z2_MASK, POWER6, { R, FRT, FRB, RMC } },
4775
4776{ "dcmpo", X(59,130), X_MASK, POWER6, { BF, FRA, FRB } },
4777
4778{ "dtstex", X(59,162), X_MASK, POWER6, { BF, FRA, FRB } },
4779{ "dtstdc", Z(59,194), Z_MASK, POWER6, { BF, FRA, DCM } },
4780{ "dtstdg", Z(59,226), Z_MASK, POWER6, { BF, FRA, DGM } },
4781
4782{ "drintn", ZRC(59,227,0), Z2_MASK, POWER6, { R, FRT, FRB, RMC } },
4783{ "drintn.", ZRC(59,227,1), Z2_MASK, POWER6, { R, FRT, FRB, RMC } },
4784
4785{ "dctdp", XRC(59,258,0), X_MASK, POWER6, { FRT, FRB } },
4786{ "dctdp.", XRC(59,258,1), X_MASK, POWER6, { FRT, FRB } },
4787
4788{ "dctfix", XRC(59,290,0), X_MASK, POWER6, { FRT, FRB } },
4789{ "dctfix.", XRC(59,290,1), X_MASK, POWER6, { FRT, FRB } },
4790
4791{ "ddedpd", XRC(59,322,0), X_MASK, POWER6, { SP, FRT, FRB } },
4792{ "ddedpd.", XRC(59,322,1), X_MASK, POWER6, { SP, FRT, FRB } },
4793
4794{ "dxex", XRC(59,354,0), X_MASK, POWER6, { FRT, FRB } },
4795{ "dxex.", XRC(59,354,1), X_MASK, POWER6, { FRT, FRB } },
4796
4797{ "dsub", XRC(59,514,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4798{ "dsub.", XRC(59,514,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4799
4800{ "ddiv", XRC(59,546,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4801{ "ddiv.", XRC(59,546,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4802
4803{ "dcmpu", X(59,642), X_MASK, POWER6, { BF, FRA, FRB } },
4804
4805{ "dtstsf", X(59,674), X_MASK, POWER6, { BF, FRA, FRB } },
4806
4807{ "drsp", XRC(59,770,0), X_MASK, POWER6, { FRT, FRB } },
4808{ "drsp.", XRC(59,770,1), X_MASK, POWER6, { FRT, FRB } },
4809
4810{ "dcffix", XRC(59,802,0), X_MASK, POWER6, { FRT, FRB } },
4811{ "dcffix.", XRC(59,802,1), X_MASK, POWER6, { FRT, FRB } },
4812
4813{ "denbcd", XRC(59,834,0), X_MASK, POWER6, { S, FRT, FRB } },
4814{ "denbcd.", XRC(59,834,1), X_MASK, POWER6, { S, FRT, FRB } },
4815
4816{ "diex", XRC(59,866,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4817{ "diex.", XRC(59,866,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4818
4819{ "stfq", OP(60), OP_MASK, POWER2, { FRS, D, RA } },
4820
4821{ "stfqu", OP(61), OP_MASK, POWER2, { FRS, D, RA } },
4822
4823{ "stfdp", OP(61), OP_MASK, POWER6, { FRT, D, RA0 } },
4824
4825{ "lde", DEO(62,0), DE_MASK, BOOKE64, { RT, DES, RA0 } },
4826{ "ldue", DEO(62,1), DE_MASK, BOOKE64, { RT, DES, RA0 } },
4827{ "lfse", DEO(62,4), DE_MASK, BOOKE64, { FRT, DES, RA0 } },
4828{ "lfsue", DEO(62,5), DE_MASK, BOOKE64, { FRT, DES, RAS } },
4829{ "lfde", DEO(62,6), DE_MASK, BOOKE64, { FRT, DES, RA0 } },
4830{ "lfdue", DEO(62,7), DE_MASK, BOOKE64, { FRT, DES, RAS } },
4831{ "stde", DEO(62,8), DE_MASK, BOOKE64, { RS, DES, RA0 } },
4832{ "stdue", DEO(62,9), DE_MASK, BOOKE64, { RS, DES, RAS } },
4833{ "stfse", DEO(62,12), DE_MASK, BOOKE64, { FRS, DES, RA0 } },
4834{ "stfsue", DEO(62,13), DE_MASK, BOOKE64, { FRS, DES, RAS } },
4835{ "stfde", DEO(62,14), DE_MASK, BOOKE64, { FRS, DES, RA0 } },
4836{ "stfdue", DEO(62,15), DE_MASK, BOOKE64, { FRS, DES, RAS } },
4837
4838{ "std", DSO(62,0), DS_MASK, PPC64, { RS, DS, RA0 } },
4839
4840{ "stdu", DSO(62,1), DS_MASK, PPC64, { RS, DS, RAS } },
4841
4842{ "stq", DSO(62,2), DS_MASK, POWER4, { RSQ, DS, RA0 } },
4843
4844{ "fcmpu", X(63,0), X_MASK|(3<<21), COM, { BF, FRA, FRB } },
4845
4846{ "daddq", XRC(63,2,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4847{ "daddq.", XRC(63,2,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4848
4849{ "dquaq", ZRC(63,3,0), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4850{ "dquaq.", ZRC(63,3,1), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4851
4852{ "fcpsgn", XRC(63,8,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4853{ "fcpsgn.", XRC(63,8,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4854
4855{ "frsp", XRC(63,12,0), XRA_MASK, COM, { FRT, FRB } },
4856{ "frsp.", XRC(63,12,1), XRA_MASK, COM, { FRT, FRB } },
4857
4858{ "fctiw", XRC(63,14,0), XRA_MASK, PPCCOM, { FRT, FRB } },
4859{ "fcir", XRC(63,14,0), XRA_MASK, POWER2, { FRT, FRB } },
4860{ "fctiw.", XRC(63,14,1), XRA_MASK, PPCCOM, { FRT, FRB } },
4861{ "fcir.", XRC(63,14,1), XRA_MASK, POWER2, { FRT, FRB } },
4862
4863{ "fctiwz", XRC(63,15,0), XRA_MASK, PPCCOM, { FRT, FRB } },
4864{ "fcirz", XRC(63,15,0), XRA_MASK, POWER2, { FRT, FRB } },
4865{ "fctiwz.", XRC(63,15,1), XRA_MASK, PPCCOM, { FRT, FRB } },
4866{ "fcirz.", XRC(63,15,1), XRA_MASK, POWER2, { FRT, FRB } },
4867
4868{ "fdiv", A(63,18,0), AFRC_MASK, PPCCOM, { FRT, FRA, FRB } },
4869{ "fd", A(63,18,0), AFRC_MASK, PWRCOM, { FRT, FRA, FRB } },
4870{ "fdiv.", A(63,18,1), AFRC_MASK, PPCCOM, { FRT, FRA, FRB } },
4871{ "fd.", A(63,18,1), AFRC_MASK, PWRCOM, { FRT, FRA, FRB } },
4872
4873{ "fsub", A(63,20,0), AFRC_MASK, PPCCOM, { FRT, FRA, FRB } },
4874{ "fs", A(63,20,0), AFRC_MASK, PWRCOM, { FRT, FRA, FRB } },
4875{ "fsub.", A(63,20,1), AFRC_MASK, PPCCOM, { FRT, FRA, FRB } },
4876{ "fs.", A(63,20,1), AFRC_MASK, PWRCOM, { FRT, FRA, FRB } },
4877
4878{ "fadd", A(63,21,0), AFRC_MASK, PPCCOM, { FRT, FRA, FRB } },
4879{ "fa", A(63,21,0), AFRC_MASK, PWRCOM, { FRT, FRA, FRB } },
4880{ "fadd.", A(63,21,1), AFRC_MASK, PPCCOM, { FRT, FRA, FRB } },
4881{ "fa.", A(63,21,1), AFRC_MASK, PWRCOM, { FRT, FRA, FRB } },
4882
4883{ "fsqrt", A(63,22,0), AFRAFRC_MASK, PPCPWR2, { FRT, FRB } },
4884{ "fsqrt.", A(63,22,1), AFRAFRC_MASK, PPCPWR2, { FRT, FRB } },
4885
4886{ "fsel", A(63,23,0), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4887{ "fsel.", A(63,23,1), A_MASK, PPC, { FRT,FRA,FRC,FRB } },
4888
4889{ "fre", A(63,24,0), AFRALFRC_MASK, POWER5, { FRT, FRB, A_L } },
4890{ "fre.", A(63,24,1), AFRALFRC_MASK, POWER5, { FRT, FRB, A_L } },
4891
4892{ "fmul", A(63,25,0), AFRB_MASK, PPCCOM, { FRT, FRA, FRC } },
4893{ "fm", A(63,25,0), AFRB_MASK, PWRCOM, { FRT, FRA, FRC } },
4894{ "fmul.", A(63,25,1), AFRB_MASK, PPCCOM, { FRT, FRA, FRC } },
4895{ "fm.", A(63,25,1), AFRB_MASK, PWRCOM, { FRT, FRA, FRC } },
4896
4897{ "frsqrte", A(63,26,0), AFRALFRC_MASK, PPC, { FRT, FRB, A_L } },
4898{ "frsqrte.",A(63,26,1), AFRALFRC_MASK, PPC, { FRT, FRB, A_L } },
4899
4900{ "fmsub", A(63,28,0), A_MASK, PPCCOM, { FRT,FRA,FRC,FRB } },
4901{ "fms", A(63,28,0), A_MASK, PWRCOM, { FRT,FRA,FRC,FRB } },
4902{ "fmsub.", A(63,28,1), A_MASK, PPCCOM, { FRT,FRA,FRC,FRB } },
4903{ "fms.", A(63,28,1), A_MASK, PWRCOM, { FRT,FRA,FRC,FRB } },
4904
4905{ "fmadd", A(63,29,0), A_MASK, PPCCOM, { FRT,FRA,FRC,FRB } },
4906{ "fma", A(63,29,0), A_MASK, PWRCOM, { FRT,FRA,FRC,FRB } },
4907{ "fmadd.", A(63,29,1), A_MASK, PPCCOM, { FRT,FRA,FRC,FRB } },
4908{ "fma.", A(63,29,1), A_MASK, PWRCOM, { FRT,FRA,FRC,FRB } },
4909
4910{ "fnmsub", A(63,30,0), A_MASK, PPCCOM, { FRT,FRA,FRC,FRB } },
4911{ "fnms", A(63,30,0), A_MASK, PWRCOM, { FRT,FRA,FRC,FRB } },
4912{ "fnmsub.", A(63,30,1), A_MASK, PPCCOM, { FRT,FRA,FRC,FRB } },
4913{ "fnms.", A(63,30,1), A_MASK, PWRCOM, { FRT,FRA,FRC,FRB } },
4914
4915{ "fnmadd", A(63,31,0), A_MASK, PPCCOM, { FRT,FRA,FRC,FRB } },
4916{ "fnma", A(63,31,0), A_MASK, PWRCOM, { FRT,FRA,FRC,FRB } },
4917{ "fnmadd.", A(63,31,1), A_MASK, PPCCOM, { FRT,FRA,FRC,FRB } },
4918{ "fnma.", A(63,31,1), A_MASK, PWRCOM, { FRT,FRA,FRC,FRB } },
4919
4920{ "fcmpo", X(63,32), X_MASK|(3<<21), COM, { BF, FRA, FRB } },
4921
4922{ "dmulq", XRC(63,34,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4923{ "dmulq.", XRC(63,34,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4924
4925{ "drrndq", ZRC(63,35,0), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4926{ "drrndq.", ZRC(63,35,1), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4927
4928{ "mtfsb1", XRC(63,38,0), XRARB_MASK, COM, { BT } },
4929{ "mtfsb1.", XRC(63,38,1), XRARB_MASK, COM, { BT } },
4930
4931{ "fneg", XRC(63,40,0), XRA_MASK, COM, { FRT, FRB } },
4932{ "fneg.", XRC(63,40,1), XRA_MASK, COM, { FRT, FRB } },
4933
4934{ "mcrfs", X(63,64), XRB_MASK|(3<<21)|(3<<16), COM, { BF, BFA } },
4935
4936{ "dscliq", ZRC(63,66,0), Z_MASK, POWER6, { FRT, FRA, SH16 } },
4937{ "dscliq.", ZRC(63,66,1), Z_MASK, POWER6, { FRT, FRA, SH16 } },
4938
4939{ "dquaiq", ZRC(63,67,0), Z2_MASK, POWER6, { TE, FRT, FRB, RMC } },
4940{ "dquaiq.", ZRC(63,67,1), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } },
4941
4942{ "mtfsb0", XRC(63,70,0), XRARB_MASK, COM, { BT } },
4943{ "mtfsb0.", XRC(63,70,1), XRARB_MASK, COM, { BT } },
4944
4945{ "fmr", XRC(63,72,0), XRA_MASK, COM, { FRT, FRB } },
4946{ "fmr.", XRC(63,72,1), XRA_MASK, COM, { FRT, FRB } },
4947
4948{ "dscriq", ZRC(63,98,0), Z_MASK, POWER6, { FRT, FRA, SH16 } },
4949{ "dscriq.", ZRC(63,98,1), Z_MASK, POWER6, { FRT, FRA, SH16 } },
4950
4951{ "drintxq", ZRC(63,99,0), Z2_MASK, POWER6, { R, FRT, FRB, RMC } },
4952{ "drintxq.",ZRC(63,99,1), Z2_MASK, POWER6, { R, FRT, FRB, RMC } },
4953
4954{ "dcmpoq", X(63,130), X_MASK, POWER6, { BF, FRA, FRB } },
4955
4956{ "mtfsfi", XRC(63,134,0), XWRA_MASK|(3<<21)|(1<<11), COM, { BFF, U, W } },
4957{ "mtfsfi.", XRC(63,134,1), XWRA_MASK|(3<<21)|(1<<11), COM, { BFF, U, W } },
4958
4959{ "fnabs", XRC(63,136,0), XRA_MASK, COM, { FRT, FRB } },
4960{ "fnabs.", XRC(63,136,1), XRA_MASK, COM, { FRT, FRB } },
4961
4962{ "dtstexq", X(63,162), X_MASK, POWER6, { BF, FRA, FRB } },
4963{ "dtstdcq", Z(63,194), Z_MASK, POWER6, { BF, FRA, DCM } },
4964{ "dtstdgq", Z(63,226), Z_MASK, POWER6, { BF, FRA, DGM } },
4965
4966{ "drintnq", ZRC(63,227,0), Z2_MASK, POWER6, { R, FRT, FRB, RMC } },
4967{ "drintnq.",ZRC(63,227,1), Z2_MASK, POWER6, { R, FRT, FRB, RMC } },
4968
4969{ "dctqpq", XRC(63,258,0), X_MASK, POWER6, { FRT, FRB } },
4970{ "dctqpq.", XRC(63,258,1), X_MASK, POWER6, { FRT, FRB } },
4971
4972{ "fabs", XRC(63,264,0), XRA_MASK, COM, { FRT, FRB } },
4973{ "fabs.", XRC(63,264,1), XRA_MASK, COM, { FRT, FRB } },
4974
4975{ "dctfixq", XRC(63,290,0), X_MASK, POWER6, { FRT, FRB } },
4976{ "dctfixq.",XRC(63,290,1), X_MASK, POWER6, { FRT, FRB } },
4977
4978{ "ddedpdq", XRC(63,322,0), X_MASK, POWER6, { SP, FRT, FRB } },
4979{ "ddedpdq.",XRC(63,322,1), X_MASK, POWER6, { SP, FRT, FRB } },
4980
4981{ "dxexq", XRC(63,354,0), X_MASK, POWER6, { FRT, FRB } },
4982{ "dxexq.", XRC(63,354,1), X_MASK, POWER6, { FRT, FRB } },
4983
4984{ "frin", XRC(63,392,0), XRA_MASK, POWER5, { FRT, FRB } },
4985{ "frin.", XRC(63,392,1), XRA_MASK, POWER5, { FRT, FRB } },
4986{ "friz", XRC(63,424,0), XRA_MASK, POWER5, { FRT, FRB } },
4987{ "friz.", XRC(63,424,1), XRA_MASK, POWER5, { FRT, FRB } },
4988{ "frip", XRC(63,456,0), XRA_MASK, POWER5, { FRT, FRB } },
4989{ "frip.", XRC(63,456,1), XRA_MASK, POWER5, { FRT, FRB } },
4990{ "frim", XRC(63,488,0), XRA_MASK, POWER5, { FRT, FRB } },
4991{ "frim.", XRC(63,488,1), XRA_MASK, POWER5, { FRT, FRB } },
4992
4993{ "dsubq", XRC(63,514,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4994{ "dsubq.", XRC(63,514,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4995
4996{ "ddivq", XRC(63,546,0), X_MASK, POWER6, { FRT, FRA, FRB } },
4997{ "ddivq.", XRC(63,546,1), X_MASK, POWER6, { FRT, FRA, FRB } },
4998
4999{ "mffs", XRC(63,583,0), XRARB_MASK, COM, { FRT } },
5000{ "mffs.", XRC(63,583,1), XRARB_MASK, COM, { FRT } },
5001
5002{ "dcmpuq", X(63,642), X_MASK, POWER6, { BF, FRA, FRB } },
5003
5004{ "dtstsfq", X(63,674), X_MASK, POWER6, { BF, FRA, FRB } },
5005
5006{ "mtfsf", XFL(63,711,0), XFL_MASK, COM, { FLM, FRB, XFL_L, W } },
5007{ "mtfsf.", XFL(63,711,1), XFL_MASK, COM, { FLM, FRB, XFL_L, W } },
5008
5009{ "drdpq", XRC(63,770,0), X_MASK, POWER6, { FRT, FRB } },
5010{ "drdpq.", XRC(63,770,1), X_MASK, POWER6, { FRT, FRB } },
5011
5012{ "dcffixq", XRC(63,802,0), X_MASK, POWER6, { FRT, FRB } },
5013{ "dcffixq.",XRC(63,802,1), X_MASK, POWER6, { FRT, FRB } },
5014
5015{ "fctid", XRC(63,814,0), XRA_MASK, PPC64, { FRT, FRB } },
5016{ "fctid.", XRC(63,814,1), XRA_MASK, PPC64, { FRT, FRB } },
5017
5018{ "fctidz", XRC(63,815,0), XRA_MASK, PPC64, { FRT, FRB } },
5019{ "fctidz.", XRC(63,815,1), XRA_MASK, PPC64, { FRT, FRB } },
5020
5021{ "denbcdq", XRC(63,834,0), X_MASK, POWER6, { S, FRT, FRB } },
5022{ "denbcdq.",XRC(63,834,1), X_MASK, POWER6, { S, FRT, FRB } },
5023
5024{ "fcfid", XRC(63,846,0), XRA_MASK, PPC64, { FRT, FRB } },
5025{ "fcfid.", XRC(63,846,1), XRA_MASK, PPC64, { FRT, FRB } },
5026
5027{ "diexq", XRC(63,866,0), X_MASK, POWER6, { FRT, FRA, FRB } },
5028{ "diexq.", XRC(63,866,1), X_MASK, POWER6, { FRT, FRA, FRB } },
5029
5030};
5031
5032const int powerpc_num_opcodes =
5033 sizeof (powerpc_opcodes) / sizeof (powerpc_opcodes[0]);
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047const struct powerpc_macro powerpc_macros[] = {
5048{ "extldi", 4, PPC64, "rldicr %0,%1,%3,(%2)-1" },
5049{ "extldi.", 4, PPC64, "rldicr. %0,%1,%3,(%2)-1" },
5050{ "extrdi", 4, PPC64, "rldicl %0,%1,(%2)+(%3),64-(%2)" },
5051{ "extrdi.", 4, PPC64, "rldicl. %0,%1,(%2)+(%3),64-(%2)" },
5052{ "insrdi", 4, PPC64, "rldimi %0,%1,64-((%2)+(%3)),%3" },
5053{ "insrdi.", 4, PPC64, "rldimi. %0,%1,64-((%2)+(%3)),%3" },
5054{ "rotrdi", 3, PPC64, "rldicl %0,%1,(-(%2)!63)&((%2)|63),0" },
5055{ "rotrdi.", 3, PPC64, "rldicl. %0,%1,(-(%2)!63)&((%2)|63),0" },
5056{ "sldi", 3, PPC64, "rldicr %0,%1,%2,63-(%2)" },
5057{ "sldi.", 3, PPC64, "rldicr. %0,%1,%2,63-(%2)" },
5058{ "srdi", 3, PPC64, "rldicl %0,%1,(-(%2)!63)&((%2)|63),%2" },
5059{ "srdi.", 3, PPC64, "rldicl. %0,%1,(-(%2)!63)&((%2)|63),%2" },
5060{ "clrrdi", 3, PPC64, "rldicr %0,%1,0,63-(%2)" },
5061{ "clrrdi.", 3, PPC64, "rldicr. %0,%1,0,63-(%2)" },
5062{ "clrlsldi",4, PPC64, "rldic %0,%1,%3,(%2)-(%3)" },
5063{ "clrlsldi.",4, PPC64, "rldic. %0,%1,%3,(%2)-(%3)" },
5064
5065{ "extlwi", 4, PPCCOM, "rlwinm %0,%1,%3,0,(%2)-1" },
5066{ "extlwi.", 4, PPCCOM, "rlwinm. %0,%1,%3,0,(%2)-1" },
5067{ "extrwi", 4, PPCCOM, "rlwinm %0,%1,((%2)+(%3))&((%2)+(%3)<>32),32-(%2),31" },
5068{ "extrwi.", 4, PPCCOM, "rlwinm. %0,%1,((%2)+(%3))&((%2)+(%3)<>32),32-(%2),31" },
5069{ "inslwi", 4, PPCCOM, "rlwimi %0,%1,(-(%3)!31)&((%3)|31),%3,(%2)+(%3)-1" },
5070{ "inslwi.", 4, PPCCOM, "rlwimi. %0,%1,(-(%3)!31)&((%3)|31),%3,(%2)+(%3)-1"},
5071{ "insrwi", 4, PPCCOM, "rlwimi %0,%1,32-((%2)+(%3)),%3,(%2)+(%3)-1" },
5072{ "insrwi.", 4, PPCCOM, "rlwimi. %0,%1,32-((%2)+(%3)),%3,(%2)+(%3)-1"},
5073{ "rotrwi", 3, PPCCOM, "rlwinm %0,%1,(-(%2)!31)&((%2)|31),0,31" },
5074{ "rotrwi.", 3, PPCCOM, "rlwinm. %0,%1,(-(%2)!31)&((%2)|31),0,31" },
5075{ "slwi", 3, PPCCOM, "rlwinm %0,%1,%2,0,31-(%2)" },
5076{ "sli", 3, PWRCOM, "rlinm %0,%1,%2,0,31-(%2)" },
5077{ "slwi.", 3, PPCCOM, "rlwinm. %0,%1,%2,0,31-(%2)" },
5078{ "sli.", 3, PWRCOM, "rlinm. %0,%1,%2,0,31-(%2)" },
5079{ "srwi", 3, PPCCOM, "rlwinm %0,%1,(-(%2)!31)&((%2)|31),%2,31" },
5080{ "sri", 3, PWRCOM, "rlinm %0,%1,(-(%2)!31)&((%2)|31),%2,31" },
5081{ "srwi.", 3, PPCCOM, "rlwinm. %0,%1,(-(%2)!31)&((%2)|31),%2,31" },
5082{ "sri.", 3, PWRCOM, "rlinm. %0,%1,(-(%2)!31)&((%2)|31),%2,31" },
5083{ "clrrwi", 3, PPCCOM, "rlwinm %0,%1,0,0,31-(%2)" },
5084{ "clrrwi.", 3, PPCCOM, "rlwinm. %0,%1,0,0,31-(%2)" },
5085{ "clrlslwi",4, PPCCOM, "rlwinm %0,%1,%3,(%2)-(%3),31-(%3)" },
5086{ "clrlslwi.",4, PPCCOM, "rlwinm. %0,%1,%3,(%2)-(%3),31-(%3)" },
5087};
5088
5089const int powerpc_num_macros =
5090 sizeof (powerpc_macros) / sizeof (powerpc_macros[0]);
5091
5092
5093
5094
5095
5096
5097
5098
5099static int print_insn_powerpc (bfd_vma, struct disassemble_info *, int, int);
5100
5101
5102
5103
5104
5105static int
5106powerpc_dialect (struct disassemble_info *info)
5107{
5108 int dialect = PPC_OPCODE_PPC;
5109
5110 if (BFD_DEFAULT_TARGET_SIZE == 64)
5111 dialect |= PPC_OPCODE_64;
5112
5113 if (info->disassembler_options
5114 && strstr (info->disassembler_options, "booke") != NULL)
5115 dialect |= PPC_OPCODE_BOOKE | PPC_OPCODE_BOOKE64;
5116 else if ((info->mach == bfd_mach_ppc_e500)
5117 || (info->disassembler_options
5118 && strstr (info->disassembler_options, "e500") != NULL))
5119 dialect |= (PPC_OPCODE_BOOKE
5120 | PPC_OPCODE_SPE | PPC_OPCODE_ISEL
5121 | PPC_OPCODE_EFS | PPC_OPCODE_BRLOCK
5122 | PPC_OPCODE_PMR | PPC_OPCODE_CACHELCK
5123 | PPC_OPCODE_RFMCI);
5124 else if (info->disassembler_options
5125 && strstr (info->disassembler_options, "efs") != NULL)
5126 dialect |= PPC_OPCODE_EFS;
5127 else if (info->disassembler_options
5128 && strstr (info->disassembler_options, "e300") != NULL)
5129 dialect |= PPC_OPCODE_E300 | PPC_OPCODE_CLASSIC | PPC_OPCODE_COMMON;
5130 else if (info->disassembler_options
5131 && strstr (info->disassembler_options, "440") != NULL)
5132 dialect |= PPC_OPCODE_BOOKE | PPC_OPCODE_32
5133 | PPC_OPCODE_440 | PPC_OPCODE_ISEL | PPC_OPCODE_RFMCI;
5134 else
5135 dialect |= (PPC_OPCODE_403 | PPC_OPCODE_601 | PPC_OPCODE_CLASSIC
5136 | PPC_OPCODE_COMMON | PPC_OPCODE_ALTIVEC);
5137
5138 if (info->disassembler_options
5139 && strstr (info->disassembler_options, "power4") != NULL)
5140 dialect |= PPC_OPCODE_POWER4;
5141
5142 if (info->disassembler_options
5143 && strstr (info->disassembler_options, "power5") != NULL)
5144 dialect |= PPC_OPCODE_POWER4 | PPC_OPCODE_POWER5;
5145
5146 if (info->disassembler_options
5147 && strstr (info->disassembler_options, "cell") != NULL)
5148 dialect |= PPC_OPCODE_POWER4 | PPC_OPCODE_CELL | PPC_OPCODE_ALTIVEC;
5149
5150 if (info->disassembler_options
5151 && strstr (info->disassembler_options, "power6") != NULL)
5152 dialect |= PPC_OPCODE_POWER4 | PPC_OPCODE_POWER5 | PPC_OPCODE_POWER6 | PPC_OPCODE_ALTIVEC;
5153
5154 if (info->disassembler_options
5155 && strstr (info->disassembler_options, "any") != NULL)
5156 dialect |= PPC_OPCODE_ANY;
5157
5158 if (info->disassembler_options)
5159 {
5160 if (strstr (info->disassembler_options, "32") != NULL)
5161 dialect &= ~PPC_OPCODE_64;
5162 else if (strstr (info->disassembler_options, "64") != NULL)
5163 dialect |= PPC_OPCODE_64;
5164 }
5165
5166 info->private_data = (char *) 0 + dialect;
5167 return dialect;
5168}
5169
5170
5171int
5172print_insn_ppc (bfd_vma memaddr, struct disassemble_info *info)
5173{
5174 int dialect = (char *) info->private_data - (char *) 0;
5175 return print_insn_powerpc (memaddr, info, info->endian == BFD_ENDIAN_BIG,
5176 dialect);
5177}
5178
5179
5180
5181int
5182print_insn_big_powerpc (bfd_vma memaddr, struct disassemble_info *info)
5183{
5184 int dialect = (char *) info->private_data - (char *) 0;
5185 return print_insn_powerpc (memaddr, info, 1, dialect);
5186}
5187
5188
5189
5190int
5191print_insn_little_powerpc (bfd_vma memaddr, struct disassemble_info *info)
5192{
5193 int dialect = (char *) info->private_data - (char *) 0;
5194 return print_insn_powerpc (memaddr, info, 0, dialect);
5195}
5196
5197
5198
5199int
5200print_insn_rs6000 (bfd_vma memaddr, struct disassemble_info *info)
5201{
5202 return print_insn_powerpc (memaddr, info, 1, PPC_OPCODE_POWER);
5203}
5204
5205
5206
5207static long
5208operand_value_powerpc (const struct powerpc_operand *operand,
5209 unsigned long insn, int dialect)
5210{
5211 long value;
5212 int invalid;
5213
5214 if (operand->extract)
5215 value = (*operand->extract) (insn, dialect, &invalid);
5216 else
5217 {
5218 value = (insn >> operand->shift) & operand->bitm;
5219 if ((operand->flags & PPC_OPERAND_SIGNED) != 0)
5220 {
5221
5222
5223 unsigned long top = operand->bitm;
5224
5225
5226 top |= (top & -top) - 1;
5227 top &= ~(top >> 1);
5228 value = (value ^ top) - top;
5229 }
5230 }
5231
5232 return value;
5233}
5234
5235
5236
5237static int
5238skip_optional_operands (const unsigned char *opindex,
5239 unsigned long insn, int dialect)
5240{
5241 const struct powerpc_operand *operand;
5242
5243 for (; *opindex != 0; opindex++)
5244 {
5245 operand = &powerpc_operands[*opindex];
5246 if ((operand->flags & PPC_OPERAND_NEXT) != 0
5247 || ((operand->flags & PPC_OPERAND_OPTIONAL) != 0
5248 && operand_value_powerpc (operand, insn, dialect) != 0))
5249 return 0;
5250 }
5251
5252 return 1;
5253}
5254
5255
5256
5257static int
5258print_insn_powerpc (bfd_vma memaddr,
5259 struct disassemble_info *info,
5260 int bigendian,
5261 int dialect)
5262{
5263 bfd_byte buffer[4];
5264 int status;
5265 unsigned long insn;
5266 const struct powerpc_opcode *opcode;
5267 const struct powerpc_opcode *opcode_end;
5268 unsigned long op;
5269
5270 if (dialect == 0)
5271 dialect = powerpc_dialect (info);
5272
5273 status = (*info->read_memory_func) (memaddr, buffer, 4, info);
5274 if (status != 0)
5275 {
5276 (*info->memory_error_func) (status, memaddr, info);
5277 return -1;
5278 }
5279
5280 if (bigendian)
5281 insn = bfd_getb32 (buffer);
5282 else
5283 insn = bfd_getl32 (buffer);
5284
5285
5286 op = PPC_OP (insn);
5287
5288
5289
5290 opcode_end = powerpc_opcodes + powerpc_num_opcodes;
5291 again:
5292 for (opcode = powerpc_opcodes; opcode < opcode_end; opcode++)
5293 {
5294 unsigned long table_op;
5295 const unsigned char *opindex;
5296 const struct powerpc_operand *operand;
5297 int invalid;
5298 int need_comma;
5299 int need_paren;
5300 int skip_optional;
5301
5302 table_op = PPC_OP (opcode->opcode);
5303 if (op < table_op)
5304 break;
5305 if (op > table_op)
5306 continue;
5307
5308 if ((insn & opcode->mask) != opcode->opcode
5309 || (opcode->flags & dialect) == 0)
5310 continue;
5311
5312
5313
5314
5315 invalid = 0;
5316 for (opindex = opcode->operands; *opindex != 0; opindex++)
5317 {
5318 operand = powerpc_operands + *opindex;
5319 if (operand->extract)
5320 (*operand->extract) (insn, dialect, &invalid);
5321 }
5322 if (invalid)
5323 continue;
5324
5325
5326 if (opcode->operands[0] != 0)
5327 (*info->fprintf_func) (info->stream, "%-7s ", opcode->name);
5328 else
5329 (*info->fprintf_func) (info->stream, "%s", opcode->name);
5330
5331
5332 need_comma = 0;
5333 need_paren = 0;
5334 skip_optional = -1;
5335 for (opindex = opcode->operands; *opindex != 0; opindex++)
5336 {
5337 long value;
5338
5339 operand = powerpc_operands + *opindex;
5340
5341
5342
5343
5344 if ((operand->flags & PPC_OPERAND_FAKE) != 0)
5345 continue;
5346
5347
5348
5349 if ((operand->flags & PPC_OPERAND_OPTIONAL) != 0)
5350 {
5351 if (skip_optional < 0)
5352 skip_optional = skip_optional_operands (opindex, insn,
5353 dialect);
5354 if (skip_optional)
5355 continue;
5356 }
5357
5358 value = operand_value_powerpc (operand, insn, dialect);
5359
5360 if (need_comma)
5361 {
5362 (*info->fprintf_func) (info->stream, ",");
5363 need_comma = 0;
5364 }
5365
5366
5367 if ((operand->flags & PPC_OPERAND_GPR) != 0
5368 || ((operand->flags & PPC_OPERAND_GPR_0) != 0 && value != 0))
5369 (*info->fprintf_func) (info->stream, "r%ld", value);
5370 else if ((operand->flags & PPC_OPERAND_FPR) != 0)
5371 (*info->fprintf_func) (info->stream, "f%ld", value);
5372 else if ((operand->flags & PPC_OPERAND_VR) != 0)
5373 (*info->fprintf_func) (info->stream, "v%ld", value);
5374 else if ((operand->flags & PPC_OPERAND_RELATIVE) != 0)
5375 (*info->print_address_func) (memaddr + value, info);
5376 else if ((operand->flags & PPC_OPERAND_ABSOLUTE) != 0)
5377 (*info->print_address_func) ((bfd_vma) value & 0xffffffff, info);
5378 else if ((operand->flags & PPC_OPERAND_CR) == 0
5379 || (dialect & PPC_OPCODE_PPC) == 0)
5380 (*info->fprintf_func) (info->stream, "%ld", value);
5381 else
5382 {
5383 if (operand->bitm == 7)
5384 (*info->fprintf_func) (info->stream, "cr%ld", value);
5385 else
5386 {
5387 static const char *cbnames[4] = { "lt", "gt", "eq", "so" };
5388 int cr;
5389 int cc;
5390
5391 cr = value >> 2;
5392 if (cr != 0)
5393 (*info->fprintf_func) (info->stream, "4*cr%d+", cr);
5394 cc = value & 3;
5395 (*info->fprintf_func) (info->stream, "%s", cbnames[cc]);
5396 }
5397 }
5398
5399 if (need_paren)
5400 {
5401 (*info->fprintf_func) (info->stream, ")");
5402 need_paren = 0;
5403 }
5404
5405 if ((operand->flags & PPC_OPERAND_PARENS) == 0)
5406 need_comma = 1;
5407 else
5408 {
5409 (*info->fprintf_func) (info->stream, "(");
5410 need_paren = 1;
5411 }
5412 }
5413
5414
5415 return 4;
5416 }
5417
5418 if ((dialect & PPC_OPCODE_ANY) != 0)
5419 {
5420 dialect = ~PPC_OPCODE_ANY;
5421 goto again;
5422 }
5423
5424
5425 (*info->fprintf_func) (info->stream, ".long 0x%lx", insn);
5426
5427 return 4;
5428}
5429