1# RUN: llvm-mc --disassemble %s -triple powerpc64-unknown-unknown -mcpu=pwr7 | FileCheck %s
2
3# FIXME: test b target
4
5# FIXME: test ba target
6
7# FIXME: test bl target
8
9# FIXME: test bla target
10
11# FIXME: test bc 4, 10, target
12
13# FIXME: test bca 4, 10, target
14
15# FIXME: test bcl 4, 10, target
16
17# FIXME: test bcla 4, 10, target
18
19# CHECK: bclr 4, 10, 3
200x4c 0x8a 0x18 0x20
21
22# CHECK: bclr 4, 10
230x4c 0x8a 0x00 0x20
24
25# CHECK: bclrl 4, 10, 3
260x4c 0x8a 0x18 0x21
27
28# CHECK: bclrl 4, 10
290x4c 0x8a 0x00 0x21
30
31# CHECK: bcctr 4, 10, 3
320x4c 0x8a 0x1c 0x20
33
34# CHECK: bcctr 4, 10
350x4c 0x8a 0x04 0x20
36
37# CHECK: bcctrl 4, 10, 3
380x4c 0x8a 0x1c 0x21
39
40# CHECK: bcctrl 4, 10
410x4c 0x8a 0x04 0x21
42
43# CHECK: crand 2, 3, 4
440x4c 0x43 0x22 0x02
45
46# CHECK: crnand 2, 3, 4
470x4c 0x43 0x21 0xc2
48
49# CHECK: cror 2, 3, 4
500x4c 0x43 0x23 0x82
51
52# CHECK: crxor 2, 3, 4
530x4c 0x43 0x21 0x82
54
55# CHECK: crnor 2, 3, 4
560x4c 0x43 0x20 0x42
57
58# CHECK: creqv 2, 3, 4
590x4c 0x43 0x22 0x42
60
61# CHECK: crandc 2, 3, 4
620x4c 0x43 0x21 0x02
63
64# CHECK: crorc 2, 3, 4
650x4c 0x43 0x23 0x42
66
67# CHECK: mcrf 2, 3
680x4d 0x0c 0x00 0x00
69
70# CHECK: sc 1
710x44 0x00 0x00 0x22
72
73# CHECK: sc
740x44 0x00 0x00 0x02
75
76# CHECK: clrbhrb
770x7c 0x00 0x03 0x5c
78
79# CHECK: mfbhrbe 9, 983
800x7d 0x3e 0xba 0x5c
81
82# CHECK: rfebb
830x4c 0x00 0x09 0x24
84
85# CHECK: lbz 2, 128(4)
860x88 0x44 0x00 0x80
87
88# CHECK: lbzx 2, 3, 4
890x7c 0x43 0x20 0xae
90
91# CHECK: lbzu 2, 128(4)
920x8c 0x44 0x00 0x80
93
94# CHECK: lbzux 2, 3, 4
950x7c 0x43 0x20 0xee
96
97# CHECK: lhz 2, 128(4)
980xa0 0x44 0x00 0x80
99
100# CHECK: lhzx 2, 3, 4
1010x7c 0x43 0x22 0x2e
102
103# CHECK: lhzu 2, 128(4)
1040xa4 0x44 0x00 0x80
105
106# CHECK: lhzux 2, 3, 4
1070x7c 0x43 0x22 0x6e
108
109# CHECK: lha 2, 128(4)
1100xa8 0x44 0x00 0x80
111
112# CHECK: lhax 2, 3, 4
1130x7c 0x43 0x22 0xae
114
115# CHECK: lhau 2, 128(4)
1160xac 0x44 0x00 0x80
117
118# CHECK: lhaux 2, 3, 4
1190x7c 0x43 0x22 0xee
120
121# CHECK: lwz 2, 128(4)
1220x80 0x44 0x00 0x80
123
124# CHECK: lwzx 2, 3, 4
1250x7c 0x43 0x20 0x2e
126
127# CHECK: lwzu 2, 128(4)
1280x84 0x44 0x00 0x80
129
130# CHECK: lwzux 2, 3, 4
1310x7c 0x43 0x20 0x6e
132
133# CHECK: lwa 2, 128(4)
1340xe8 0x44 0x00 0x82
135
136# CHECK: lwax 2, 3, 4
1370x7c 0x43 0x22 0xaa
138
139# CHECK: lwaux 2, 3, 4
1400x7c 0x43 0x22 0xea
141
142# CHECK: ld 2, 128(4)
1430xe8 0x44 0x00 0x80
144
145# CHECK: ldx 2, 3, 4
1460x7c 0x43 0x20 0x2a
147
148# CHECK: ldu 2, 128(4)
1490xe8 0x44 0x00 0x81
150
151# CHECK: ldux 2, 3, 4
1520x7c 0x43 0x20 0x6a
153
154# CHECK: ldmx 2, 3, 4
1550x7c 0x43 0x22 0x6a
156
157# CHECK: stb 2, 128(4)
1580x98 0x44 0x00 0x80
159
160# CHECK: stbx 2, 3, 4
1610x7c 0x43 0x21 0xae
162
163# CHECK: stbu 2, 128(4)
1640x9c 0x44 0x00 0x80
165
166# CHECK: stbux 2, 3, 4
1670x7c 0x43 0x21 0xee
168
169# CHECK: sth 2, 128(4)
1700xb0 0x44 0x00 0x80
171
172# CHECK: sthx 2, 3, 4
1730x7c 0x43 0x23 0x2e
174
175# CHECK: sthu 2, 128(4)
1760xb4 0x44 0x00 0x80
177
178# CHECK: sthux 2, 3, 4
1790x7c 0x43 0x23 0x6e
180
181# CHECK: stw 2, 128(4)
1820x90 0x44 0x00 0x80
183
184# CHECK: stwx 2, 3, 4
1850x7c 0x43 0x21 0x2e
186
187# CHECK: stwu 2, 128(4)
1880x94 0x44 0x00 0x80
189
190# CHECK: stwux 2, 3, 4
1910x7c 0x43 0x21 0x6e
192
193# CHECK: std 2, 128(4)
1940xf8 0x44 0x00 0x80
195
196# CHECK: stdx 2, 3, 4
1970x7c 0x43 0x21 0x2a
198
199# CHECK: stdu 2, 128(4)
2000xf8 0x44 0x00 0x81
201
202# CHECK: stdux 2, 3, 4
2030x7c 0x43 0x21 0x6a
204
205# CHECK: lhbrx 2, 3, 4
2060x7c 0x43 0x26 0x2c
207
208# CHECK: sthbrx 2, 3, 4
2090x7c 0x43 0x27 0x2c
210
211# CHECK: lwbrx 2, 3, 4
2120x7c 0x43 0x24 0x2c
213
214# CHECK: stwbrx 2, 3, 4
2150x7c 0x43 0x25 0x2c
216
217# CHECK: ldbrx 2, 3, 4
2180x7c 0x43 0x24 0x28
219
220# CHECK: stdbrx 2, 3, 4
2210x7c 0x43 0x25 0x28
222
223# CHECK: lmw 2, 128(1)
2240xb8 0x41 0x00 0x80
225
226# CHECK: stmw 2, 128(1)
2270xbc 0x41 0x00 0x80
228
229# CHECK: addi 2, 3, 128
2300x38 0x43 0x00 0x80
231
232# CHECK: addis 2, 3, 128
2330x3c 0x43 0x00 0x80
234
235# CHECK: add 2, 3, 4
2360x7c 0x43 0x22 0x14
237
238# CHECK: add. 2, 3, 4
2390x7c 0x43 0x22 0x15
240
241# CHECK: addo 2, 3, 4
2420x7c 0x43 0x26 0x14
243
244# CHECK: addo. 2, 3, 4
2450x7c 0x43 0x26 0x15
246
247# CHECK: sub 2, 4, 3
2480x7c 0x43 0x20 0x50
249
250# CHECK: sub. 2, 4, 3
2510x7c 0x43 0x20 0x51
252
253# CHECK: subfo 2, 3, 4
2540x7c 0x43 0x24 0x50
255
256# CHECK: subfo. 2, 3, 4
2570x7c 0x43 0x24 0x51
258
259# CHECK: addic 2, 3, 128
2600x30 0x43 0x00 0x80
261
262# CHECK: addic. 2, 3, 128
2630x34 0x43 0x00 0x80
264
265# CHECK: subfic 2, 3, 4
2660x20 0x43 0x00 0x04
267
268# CHECK: addc 2, 3, 4
2690x7c 0x43 0x20 0x14
270
271# CHECK: addc. 2, 3, 4
2720x7c 0x43 0x20 0x15
273
274# CHECK: addco 2, 3, 4
2750x7c 0x43 0x24 0x14
276
277# CHECK: addco. 2, 3, 4
2780x7c 0x43 0x24 0x15
279
280# CHECK: subc 2, 4, 3
2810x7c 0x43 0x20 0x10
282
283# CHECK: subc. 2, 4, 3
2840x7c 0x43 0x20 0x11
285
286# CHECK: subfco 2, 3, 4
2870x7c 0x43 0x24 0x10
288
289# CHECK: subfco. 2, 3, 4
2900x7c 0x43 0x24 0x11
291
292# CHECK: adde 2, 3, 4
2930x7c 0x43 0x21 0x14
294
295# CHECK: adde. 2, 3, 4
2960x7c 0x43 0x21 0x15
297
298# CHECK: addeo 2, 3, 4
2990x7c 0x43 0x25 0x14
300
301# CHECK: addeo. 2, 3, 4
3020x7c 0x43 0x25 0x15
303
304# CHECK: subfe 2, 3, 4
3050x7c 0x43 0x21 0x10
306
307# CHECK: subfe. 2, 3, 4
3080x7c 0x43 0x21 0x11
309
310# CHECK: subfeo 2, 3, 4
3110x7c 0x43 0x25 0x10
312
313# CHECKE: subfeo. 2, 3, 4
3140x7c 0x43 0x25 0x11
315
316# CHECK: addme 2, 3
3170x7c 0x43 0x01 0xd4
318
319# CHECK: addme. 2, 3
3200x7c 0x43 0x01 0xd5
321
322# CHECK: addmeo 2, 3
3230x7c 0x43 0x05 0xd4
324
325# CHECK: addmeo. 2, 3
3260x7c 0x43 0x05 0xd5
327
328# CHECK: subfme 2, 3
3290x7c 0x43 0x01 0xd0
330
331# CHECK: subfme. 2, 3
3320x7c 0x43 0x01 0xd1
333
334# CHECK: subfmeo 2, 3
3350x7c 0x43 0x05 0xd0
336
337# CHECK: subfmeo. 2, 3
3380x7c 0x43 0x05 0xd1
339
340# CHECK: addze 2, 3
3410x7c 0x43 0x01 0x94
342
343# CHECK: addze. 2, 3
3440x7c 0x43 0x01 0x95
345
346# CHECK: addzeo 2, 3
3470x7c 0x43 0x05 0x94
348
349# CHECK: addzeo. 2, 3
3500x7c 0x43 0x05 0x95
351
352# CHECK: subfze 2, 3
3530x7c 0x43 0x01 0x90
354
355# CHECK: subfze. 2, 3
3560x7c 0x43 0x01 0x91
357
358# CHECK: subfzeo 2, 3
3590x7c 0x43 0x05 0x90
360
361# CHECK: subfzeo. 2, 3
3620x7c 0x43 0x05 0x91
363
364# CHECK: neg 2, 3
3650x7c 0x43 0x00 0xd0
366
367# CHECK: neg. 2, 3
3680x7c 0x43 0x00 0xd1
369
370# CHECK: nego 2, 3
3710x7c 0x43 0x04 0xd0
372
373# CHECK: nego. 2, 3
3740x7c 0x43 0x04 0xd1
375
376# CHECK: mulli 2, 3, 128
3770x1c 0x43 0x00 0x80
378
379# CHECK: mulhw 2, 3, 4
3800x7c 0x43 0x20 0x96
381
382# CHECK: mulhw. 2, 3, 4
3830x7c 0x43 0x20 0x97
384
385# CHECK: mullw 2, 3, 4
3860x7c 0x43 0x21 0xd6
387
388# CHECK: mullw. 2, 3, 4
3890x7c 0x43 0x21 0xd7
390
391# CHECK: mullwo 2, 3, 4
3920x7c 0x43 0x25 0xd6
393
394# CHECK: mullwo. 2, 3, 4
3950x7c 0x43 0x25 0xd7
396
397# CHECK: mulhwu 2, 3, 4
3980x7c 0x43 0x20 0x16
399
400# CHECK: mulhwu. 2, 3, 4
4010x7c 0x43 0x20 0x17
402
403# CHECK: maddhd 2, 3, 4, 5
4040x10 0x43 0x21 0x70
405
406# CHECK: maddhdu 2, 3, 4, 5
4070x10 0x43 0x21 0x71
408
409# CHECK: maddld 2, 3, 4, 5
4100x10 0x43 0x21 0x73
411
412# CHECK: setb 2, 3
4130x7c 0x4c 0x01 0x00
414
415# CHECK: darn 2, 3
4160x7c 0x43 0x05 0xe6
417
418# CHECK: addpcis 3, 22627
4190x4c,0x71,0x58,0x45
420
421# CHECK: lnia 3
4220x4c,0x60,0x00,0x04
423
424# CHECK: divw 2, 3, 4
4250x7c 0x43 0x23 0xd6
426
427# CHECK: divw. 2, 3, 4
4280x7c 0x43 0x23 0xd7
429
430# CHECK: divwo 2, 3, 4
4310x7c 0x43 0x27 0xd6
432
433# CHECK: divwo. 2, 3, 4
4340x7c 0x43 0x27 0xd7
435
436# CHECK: divwu 2, 3, 4
4370x7c 0x43 0x23 0x96
438
439# CHECK: divwu. 2, 3, 4
4400x7c 0x43 0x23 0x97
441
442# CHECK: divwuo 2, 3, 4
4430x7c 0x43 0x27 0x96
444
445# CHECK: divwuo. 2, 3, 4
4460x7c 0x43 0x27 0x97
447
448# CHECK: divwe 2, 3, 4
4490x7c 0x43 0x23 0x56
450
451# CHECK: divwe. 2, 3, 4
4520x7c 0x43 0x23 0x57
453
454# CHECK: divweo 2, 3, 4
4550x7c 0x43 0x27 0x56
456
457# CHECK: divweo. 2, 3, 4
4580x7c 0x43 0x27 0x57
459
460# CHECK: divweu 2, 3, 4
4610x7c 0x43 0x23 0x16
462
463# CHECK: divweu. 2, 3, 4
4640x7c 0x43 0x23 0x17
465
466# CHECK: divweuo 2, 3, 4
4670x7c 0x43 0x27 0x16
468
469# CHECK: divweuo. 2, 3, 4
4700x7c 0x43 0x27 0x17
471
472# CHECK: modsw 2, 3, 4
4730x7c 0x43 0x26 0x16
474
475# CHECK: moduw 2, 3, 4
4760x7c 0x43 0x22 0x16
477
478# CHECK: modsd 2, 3, 4
4790x7c 0x43 0x26 0x12
480
481# CHECK: modud 2, 3, 4
4820x7c 0x43 0x22 0x12
483
484# CHECK: mulld 2, 3, 4
4850x7c 0x43 0x21 0xd2
486
487# CHECK: mulld. 2, 3, 4
4880x7c 0x43 0x21 0xd3
489
490# CHECK: mulldo 2, 3, 4
4910x7c 0x43 0x25 0xd2
492
493# CHECK: mulldo. 2, 3, 4
4940x7c 0x43 0x25 0xd3
495
496# CHECK: mulhd 2, 3, 4
4970x7c 0x43 0x20 0x92
498
499# CHECK: mulhd. 2, 3, 4
5000x7c 0x43 0x20 0x93
501
502# CHECK: mulhdu 2, 3, 4
5030x7c 0x43 0x20 0x12
504
505# CHECK: mulhdu. 2, 3, 4
5060x7c 0x43 0x20 0x13
507
508# CHECK: divd 2, 3, 4
5090x7c 0x43 0x23 0xd2
510
511# CHECK: divd. 2, 3, 4
5120x7c 0x43 0x23 0xd3
513
514# CHECK: divdo 2, 3, 4
5150x7c 0x43 0x27 0xd2
516
517# CHECK: divdo. 2, 3, 4
5180x7c 0x43 0x27 0xd3
519
520# CHECK: divdu 2, 3, 4
5210x7c 0x43 0x23 0x92
522
523# CHECK: divdu. 2, 3, 4
5240x7c 0x43 0x23 0x93
525
526# CHECK: divduo 2, 3, 4
5270x7c 0x43 0x27 0x92
528
529# CHECK: divduo. 2, 3, 4
5300x7c 0x43 0x27 0x93
531
532# CHECK: divde 2, 3, 4
5330x7c 0x43 0x23 0x52
534
535# CHECK: divde. 2, 3, 4
5360x7c 0x43 0x23 0x53
537
538# CHECK: divdeo 2, 3, 4
5390x7c 0x43 0x27 0x52
540
541# CHECK: divdeo. 2, 3, 4
5420x7c 0x43 0x27 0x53
543
544# CHECK: divdeu 2, 3, 4
5450x7c 0x43 0x23 0x12
546
547# CHECK: divdeu. 2, 3, 4
5480x7c 0x43 0x23 0x13
549
550# CHECK: divdeuo 2, 3, 4
5510x7c 0x43 0x27 0x12
552
553# CHECK: divdeuo. 2, 3, 4
5540x7c 0x43 0x27 0x13
555
556# CHECK: cmpdi 2, 3, 128
5570x2d 0x23 0x00 0x80
558
559# CHECK: cmpd 2, 3, 4
5600x7d 0x23 0x20 0x00
561
562# CHECK: cmpldi 2, 3, 128
5630x29 0x23 0x00 0x80
564
565# CHECK: cmpld 2, 3, 4
5660x7d 0x23 0x20 0x40
567
568# CHECK: cmpwi 2, 3, 128
5690x2d 0x03 0x00 0x80
570
571# CHECK: cmpw 2, 3, 4
5720x7d 0x03 0x20 0x00
573
574# CHECK: cmplwi 2, 3, 128
5750x29 0x03 0x00 0x80
576
577# CHECK: cmplw 2, 3, 4
5780x7d 0x03 0x20 0x40
579
580# CHECK: cmprb 3, 1, 7, 17
5810x7d 0xa7 0x89 0x80
582
583# CHECK: cmpeqb 3, 7, 17
5840x7d 0x87 0x89 0xc0
585
586# CHECK: cnttzw 7, 17
5870x7e 0x27 0x04 0x34
588
589# CHECK: cnttzw. 7, 17
5900x7e 0x27 0x04 0x35
591
592# CHECK: cnttzd 7, 17
5930x7e 0x27 0x04 0x74
594
595# CHECK: cnttzd. 7, 17
5960x7e 0x27 0x04 0x75
597
598# CHECK: twllti 3, 4
5990x0c 0x43 0x00 0x04
600
601# CHECK: twllt 3, 4
6020x7c 0x43 0x20 0x08
603
604# CHECK: tdllti 3, 4
6050x08 0x43 0x00 0x04
606
607# CHECK: tdllt 3, 4
6080x7c 0x43 0x20 0x88
609
610# CHECK: isel 2, 3, 4, 5
6110x7c 0x43 0x21 0x5e
612
613# CHECK: andi. 2, 3, 128
6140x70 0x62 0x00 0x80
615
616# CHECK: andis. 2, 3, 128
6170x74 0x62 0x00 0x80
618
619# CHECK: ori 2, 3, 128
6200x60 0x62 0x00 0x80
621
622# CHECK: oris 2, 3, 128
6230x64 0x62 0x00 0x80
624
625# CHECK: xori 2, 3, 128
6260x68 0x62 0x00 0x80
627
628# CHECK: xoris 2, 3, 128
6290x6c 0x62 0x00 0x80
630
631# CHECK: and 2, 3, 4
6320x7c 0x62 0x20 0x38
633
634# CHECK: and. 2, 3, 4
6350x7c 0x62 0x20 0x39
636
637# CHECK: xor 2, 3, 4
6380x7c 0x62 0x22 0x78
639
640# CHECK: xor. 2, 3, 4
6410x7c 0x62 0x22 0x79
642
643# CHECK: nand 2, 3, 4
6440x7c 0x62 0x23 0xb8
645
646# CHECK: nand. 2, 3, 4
6470x7c 0x62 0x23 0xb9
648
649# CHECK: or 2, 3, 4
6500x7c 0x62 0x23 0x78
651
652# CHECK: or. 2, 3, 4
6530x7c 0x62 0x23 0x79
654
655# CHECK: nor 2, 3, 4
6560x7c 0x62 0x20 0xf8
657
658# CHECK: nor. 2, 3, 4
6590x7c 0x62 0x20 0xf9
660
661# CHECK: eqv 2, 3, 4
6620x7c 0x62 0x22 0x38
663
664# CHECK: eqv. 2, 3, 4
6650x7c 0x62 0x22 0x39
666
667# CHECK: andc 2, 3, 4
6680x7c 0x62 0x20 0x78
669
670# CHECK: andc. 2, 3, 4
6710x7c 0x62 0x20 0x79
672
673# CHECK: orc 2, 3, 4
6740x7c 0x62 0x23 0x38
675
676# CHECK: orc. 2, 3, 4
6770x7c 0x62 0x23 0x39
678
679# CHECK: extsb 2, 3
6800x7c 0x62 0x07 0x74
681
682# CHECK: extsb. 2, 3
6830x7c 0x62 0x07 0x75
684
685# CHECK: extsh 2, 3
6860x7c 0x62 0x07 0x34
687
688# CHECK: extsh. 2, 3
6890x7c 0x62 0x07 0x35
690
691# CHECK: cntlzw 2, 3
6920x7c 0x62 0x00 0x34
693
694# CHECK: cntlzw. 2, 3
6950x7c 0x62 0x00 0x35
696
697# CHECK: popcntw 2, 3
6980x7c 0x62 0x02 0xf4
699
700# CHECK: popcntb 2, 3
7010x7c 0x62 0x00 0xf4
702
703# CHECK: extsw 2, 3
7040x7c 0x62 0x07 0xb4
705
706# CHECK: extsw. 2, 3
7070x7c 0x62 0x07 0xb5
708
709# CHECK: cntlzd 2, 3
7100x7c 0x62 0x00 0x74
711
712# CHECK: cntlzd. 2, 3
7130x7c 0x62 0x00 0x75
714
715# CHECK: popcntd 2, 3
7160x7c 0x62 0x03 0xf4
717
718# CHECK: bpermd 2, 3, 4
7190x7c 0x62 0x21 0xf8
720
721# CHECK: cmpb 7, 21, 4
7220x7e 0xa7 0x23 0xf8
723
724# CHECK: rlwinm 2, 3, 4, 5, 6
7250x54 0x62 0x21 0x4c
726
727# CHECK: rlwinm. 2, 3, 4, 5, 6
7280x54 0x62 0x21 0x4d
729
730# CHECK: rlwnm 2, 3, 4, 5, 6
7310x5c 0x62 0x21 0x4c
732
733# CHECK: rlwnm. 2, 3, 4, 5, 6
7340x5c 0x62 0x21 0x4d
735
736# CHECK: rlwimi 2, 3, 4, 5, 6
7370x50 0x62 0x21 0x4c
738
739# CHECK: rlwimi. 2, 3, 4, 5, 6
7400x50 0x62 0x21 0x4d
741
742# CHECK: rldicl 2, 3, 4, 5
7430x78 0x62 0x21 0x40
744
745# CHECK: rldicl. 2, 3, 4, 5
7460x78 0x62 0x21 0x41
747
748# CHECK: rldicr 2, 3, 4, 5
7490x78 0x62 0x21 0x44
750
751# CHECK: rldicr. 2, 3, 4, 5
7520x78 0x62 0x21 0x45
753
754# CHECK: rldic 2, 3, 4, 5
7550x78 0x62 0x21 0x48
756
757# CHECK: rldic. 2, 3, 4, 5
7580x78 0x62 0x21 0x49
759
760# CHECK: rldcl 2, 3, 4, 5
7610x78 0x62 0x21 0x50
762
763# CHECK: rldcl. 2, 3, 4, 5
7640x78 0x62 0x21 0x51
765
766# CHECK: rldcr 2, 3, 4, 5
7670x78 0x62 0x21 0x52
768
769# CHECK: rldcr. 2, 3, 4, 5
7700x78 0x62 0x21 0x53
771
772# CHECK: rldimi 2, 3, 4, 5
7730x78 0x62 0x21 0x4c
774
775# CHECK: rldimi. 2, 3, 4, 5
7760x78 0x62 0x21 0x4d
777
778# CHECK: slw 2, 3, 4
7790x7c 0x62 0x20 0x30
780
781# CHECK: slw. 2, 3, 4
7820x7c 0x62 0x20 0x31
783
784# CHECK: srw 2, 3, 4
7850x7c 0x62 0x24 0x30
786
787# CHECK: srw. 2, 3, 4
7880x7c 0x62 0x24 0x31
789
790# CHECK: srawi 2, 3, 4
7910x7c 0x62 0x26 0x70
792
793# CHECK: srawi. 2, 3, 4
7940x7c 0x62 0x26 0x71
795
796# CHECK: sraw 2, 3, 4
7970x7c 0x62 0x26 0x30
798
799# CHECK: sraw. 2, 3, 4
8000x7c 0x62 0x26 0x31
801
802# CHECK: sld 2, 3, 4
8030x7c 0x62 0x20 0x36
804
805# CHECK: sld. 2, 3, 4
8060x7c 0x62 0x20 0x37
807
808# CHECK: srd 2, 3, 4
8090x7c 0x62 0x24 0x36
810
811# CHECK: srd. 2, 3, 4
8120x7c 0x62 0x24 0x37
813
814# CHECK: sradi 2, 3, 4
8150x7c 0x62 0x26 0x74
816
817# CHECK: sradi. 2, 3, 4
8180x7c 0x62 0x26 0x75
819
820# CHECK: srad 2, 3, 4
8210x7c 0x62 0x26 0x34
822
823# CHECK: srad. 2, 3, 4
8240x7c 0x62 0x26 0x35
825
826# CHECK: extswsli 2, 3, 4
8270x7c 0x62 0x26 0xf4
828
829# CHECK: extswsli. 2, 3, 4
8300x7c 0x62 0x26 0xf5
831
832# CHECK: mtspr 600, 2
8330x7c 0x58 0x93 0xa6
834
835# CHECK: mfspr 2, 600
8360x7c 0x58 0x92 0xa6
837
838# CHECK: mtcrf 123, 2
8390x7c 0x47 0xb1 0x20
840
841# CHECK: mfcr 2
8420x7c 0x40 0x00 0x26
843
844# CHECK: mtocrf 16, 2
8450x7c 0x51 0x01 0x20
846
847# CHECK: mfocrf 16, 8
8480x7e 0x10 0x80 0x26
849
850# CHECK: mcrxrx 7
8510x7f 0x80 0x04 0x80
852
853# CHECK: mtsrin 10, 12
8540x7d 0x40 0x61 0xe4
855
856# CHECK: mfsrin 10, 12
8570x7d 0x40 0x65 0x26
858
859# CHECK: copy 2, 19, 1
8600x7c 0x22 0x9e 0x0c
861
862# CHECK: paste 17, 1, 1
8630x7c 0x31 0x0f 0x0c
864
865# CHECK: cp_abort
8660x7c 0x00 0x06 0x8c
867
868# CHECK: msgsync
8690x7c 0x00 0x06 0xec
870
871# CHECK: slbieg 6, 21
8720x7c 0xc0 0xab 0xa4
873
874# CHECK: slbsync
8750x7c 0x00 0x02 0xa4
876
877# CHECK: stop
8780x4c 0x00 0x02 0xe4
879