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