]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/ppc/booke_xcoff64.s
opcodes/
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / ppc / booke_xcoff64.s
1 # Motorola PowerPC BookE tests
2 #as: -a64 -mppc64 -mbooke
3 .csect .text[PR]
4 .csect main[DS]
5 main:
6 .csect .text[PR]
7 .main:
8 tlbre 1, 2, 7
9 tlbwe 5, 30, 3
10 bce 1, 5, branch_target_1
11 bcel 2, 6, branch_target_2
12 bcea 3, 7, branch_target_3
13 bcela 4, 8, branch_target_4
14 bclre 5, 9
15 bclrel 5, 10
16 bcctre 8, 11
17 bcctrel 8, 12
18 be branch_target_5
19 bel branch_target_6
20 bea branch_target_7
21 bela branch_target_8
22
23 branch_target_1:
24 lbze 8, 8(9)
25 lbzue 12, 4(15)
26 lbzuxe 4, 6, 8
27 lbzxe 3, 5, 7
28
29 branch_target_2:
30 lde 5, 400(6)
31 ldue 6, 452(7)
32 ldxe 7, 8, 9
33 lduxe 10, 11, 12
34
35 branch_target_3:
36 lfde 12, 128(1)
37 lfdue 1, 16(5)
38 lfdxe 5, 1, 3
39 lfduxe 6, 2, 4
40 lfse 8, 48(9)
41 lfsue 9, 68(10)
42 lfsuxe 10, 4, 8
43 lfsxe 9, 3, 7
44
45 branch_target_4:
46 lhae 10, 50(5)
47 lhaue 1, 5(3)
48 lhauxe 5, 1, 3
49 lhaxe 29, 30, 31
50 lhbrxe 1, 2, 3
51 lhze 4, 18(3)
52 lhzue 6, 20(9)
53 lhzuxe 5, 7, 9
54 lhzxe 9, 7, 5
55
56 branch_target_5:
57 lwarxe 10, 15, 20
58 lwbrxe 5, 10, 18
59 lwze 28, 4(29)
60 lwzue 8, 40(10)
61 lwzuxe 3, 6, 9
62 lwzxe 30, 29, 28
63
64 branch_target_6:
65 dcbae 6, 7
66 dcbfe 8, 9
67 dcbie 10, 11
68 dcbste 8, 30
69 dcbte 6, 3, 1
70 dcbtste 5, 4, 2
71 dcbze 15, 14
72 icbie 3, 4
73 icbt 5, 8, 9
74 icbte 6, 10, 15
75 mfapidi 5, 6
76 tlbivax 7, 8
77 tlbivaxe 9, 10
78 tlbsx 11, 12
79 tlbsxe 13, 14
80
81 branch_target_7:
82 adde64 1, 2, 3
83 adde64o 4, 5, 6
84 addme64 7, 8
85 addme64o 9, 10
86 addze64 11, 12
87 addze64o 13, 14
88 mcrxr64 5
89 subfe64 15, 16, 17
90 subfe64o 18, 19, 20
91 subfme64 21, 22
92 subfme64o 23, 24
93 subfze64 25, 26
94 subfze64o 27, 28
95
96 branch_target_8:
97 stbe 1, 50(2)
98 stbue 3, 40(4)
99 stbuxe 5, 6, 7
100 stbxe 8, 9, 10
101 stdcxe. 11, 12, 13
102 stde 14, 28(15)
103 stdue 16, 20(17)
104 stdxe 18, 19, 20
105 stduxe 21, 22, 23
106 stfde 1, 12(24)
107 stfdue 2, 0(25)
108 stfdxe 3, 26, 27
109 stfduxe 4, 28, 29
110 stfiwxe 5, 30, 31
111 stfse 6, 24(30)
112 stfsue 7, 20(29)
113 stfsxe 8, 28, 27
114 stfsuxe 9, 26, 25
115 sthbrxe 24, 23, 22
116 sthe 21, 30(20)
117 sthue 19, 40(18)
118 sthuxe 17, 16, 15
119 sthxe 14, 13, 12
120 stwbrxe 11, 10, 9
121 stwcxe. 8, 7, 6
122 stwe 5, 50(4)
123 stwue 3, 40(2)
124 stwuxe 1, 2, 3
125 stwxe 4, 5, 6
126
127 rfci
128 wrtee 3
129 wrteei 1
130 mfdcrx 4, 5
131 mfdcr 5, 234
132 mtdcrx 6, 7
133 mtdcr 432, 8
134 msync
135 dcba 9, 10
136 mbar 0