1 # RUN: not llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -arch=mips 2>&1 | FileCheck %s
3 # CHECK: error: branch to misaligned address
5 # CHECK: error: branch to misaligned address
7 # CHECK: error: branch to misaligned address
9 # CHECK: error: branch target out of range
11 # CHECK: error: branch to misaligned address
13 # CHECK: error: branch to misaligned address
15 # CHECK: error: branch to misaligned address
17 # CHECK: error: branch target out of range
20 # CHECK: error: branch to misaligned address
21 # CHECK: beq $1, $1, -131069
22 # CHECK: error: branch to misaligned address
23 # CHECK: beq $1, $1, -131070
24 # CHECK: error: branch to misaligned address
25 # CHECK: beq $1, $1, -131071
26 # CHECK: error: branch target out of range
27 # CHECK: beq $1, $1, -131073
28 # CHECK: error: branch to misaligned address
29 # CHECK: beq $1, $1, 131069
30 # CHECK: error: branch to misaligned address
31 # CHECK: beq $1, $1, 131070
32 # CHECK: error: branch to misaligned address
33 # CHECK: beq $1, $1, 131071
34 # CHECK: error: branch target out of range
35 # CHECK: beq $1, $1, 131072
37 # CHECK: error: branch to misaligned address
38 # CHECK: bne $1, $1, -131069
39 # CHECK: error: branch to misaligned address
40 # CHECK: bne $1, $1, -131070
41 # CHECK: error: branch to misaligned address
42 # CHECK: bne $1, $1, -131071
43 # CHECK: error: branch target out of range
44 # CHECK: bne $1, $1, -131073
45 # CHECK: error: branch to misaligned address
46 # CHECK: bne $1, $1, 131069
47 # CHECK: error: branch to misaligned address
48 # CHECK: bne $1, $1, 131070
49 # CHECK: error: branch to misaligned address
50 # CHECK: bne $1, $1, 131071
51 # CHECK: error: branch target out of range
52 # CHECK: bne $1, $1, 131072
54 # CHECK: error: branch to misaligned address
56 # CHECK: error: branch to misaligned address
58 # CHECK: error: branch to misaligned address
60 # CHECK: error: branch target out of range
62 # CHECK: error: branch to misaligned address
64 # CHECK: error: branch to misaligned address
66 # CHECK: error: branch to misaligned address
68 # CHECK: error: branch target out of range
71 # CHECK: error: branch to misaligned address
72 # CHECK: bgez $1, -131069
73 # CHECK: error: branch to misaligned address
74 # CHECK: bgez $1, -131070
75 # CHECK: error: branch to misaligned address
76 # CHECK: bgez $1, -131071
77 # CHECK: error: branch target out of range
78 # CHECK: bgez $1, -131073
79 # CHECK: error: branch to misaligned address
80 # CHECK: bgez $1, 131069
81 # CHECK: error: branch to misaligned address
82 # CHECK: bgez $1, 131070
83 # CHECK: error: branch to misaligned address
84 # CHECK: bgez $1, 131071
85 # CHECK: error: branch target out of range
86 # CHECK: bgez $1, 131072
88 # CHECK: error: branch to misaligned address
89 # CHECK: bgtz $1, -131069
90 # CHECK: error: branch to misaligned address
91 # CHECK: bgtz $1, -131070
92 # CHECK: error: branch to misaligned address
93 # CHECK: bgtz $1, -131071
94 # CHECK: error: branch target out of range
95 # CHECK: bgtz $1, -131073
96 # CHECK: error: branch to misaligned address
97 # CHECK: bgtz $1, 131069
98 # CHECK: error: branch to misaligned address
99 # CHECK: bgtz $1, 131070
100 # CHECK: error: branch to misaligned address
101 # CHECK: bgtz $1, 131071
102 # CHECK: error: branch target out of range
103 # CHECK: bgtz $1, 131072
105 # CHECK: error: branch to misaligned address
106 # CHECK: blez $1, -131069
107 # CHECK: error: branch to misaligned address
108 # CHECK: blez $1, -131070
109 # CHECK: error: branch to misaligned address
110 # CHECK: blez $1, -131071
111 # CHECK: error: branch target out of range
112 # CHECK: blez $1, -131073
113 # CHECK: error: branch to misaligned address
114 # CHECK: blez $1, 131069
115 # CHECK: error: branch to misaligned address
116 # CHECK: blez $1, 131070
117 # CHECK: error: branch to misaligned address
118 # CHECK: blez $1, 131071
119 # CHECK: error: branch target out of range
120 # CHECK: blez $1, 131072
122 # CHECK: error: branch to misaligned address
123 # CHECK: bltz $1, -131069
124 # CHECK: error: branch to misaligned address
125 # CHECK: bltz $1, -131070
126 # CHECK: error: branch to misaligned address
127 # CHECK: bltz $1, -131071
128 # CHECK: error: branch target out of range
129 # CHECK: bltz $1, -131073
130 # CHECK: error: branch to misaligned address
131 # CHECK: bltz $1, 131069
132 # CHECK: error: branch to misaligned address
133 # CHECK: bltz $1, 131070
134 # CHECK: error: branch to misaligned address
135 # CHECK: bltz $1, 131071
136 # CHECK: error: branch target out of range
137 # CHECK: bltz $1, 131072
139 # CHECK: error: branch to misaligned address
140 # CHECK: bgezal $1, -131069
141 # CHECK: error: branch to misaligned address
142 # CHECK: bgezal $1, -131070
143 # CHECK: error: branch to misaligned address
144 # CHECK: bgezal $1, -131071
145 # CHECK: error: branch target out of range
146 # CHECK: bgezal $1, -131073
147 # CHECK: error: branch to misaligned address
148 # CHECK: bgezal $1, 131069
149 # CHECK: error: branch to misaligned address
150 # CHECK: bgezal $1, 131070
151 # CHECK: error: branch to misaligned address
152 # CHECK: bgezal $1, 131071
153 # CHECK: error: branch target out of range
154 # CHECK: bgezal $1, 131072
156 # CHECK: error: branch to misaligned address
157 # CHECK: bltzal $1, -131069
158 # CHECK: error: branch to misaligned address
159 # CHECK: bltzal $1, -131070
160 # CHECK: error: branch to misaligned address
161 # CHECK: bltzal $1, -131071
162 # CHECK: error: branch target out of range
163 # CHECK: bltzal $1, -131073
164 # CHECK: error: branch to misaligned address
165 # CHECK: bltzal $1, 131069
166 # CHECK: error: branch to misaligned address
167 # CHECK: bltzal $1, 131070
168 # CHECK: error: branch to misaligned address
169 # CHECK: bltzal $1, 131071
170 # CHECK: error: branch target out of range
171 # CHECK: bltzal $1, 131072
173 # CHECK: error: branch to misaligned address
174 # CHECK: bc1f -131069
175 # CHECK: error: branch to misaligned address
176 # CHECK: bc1f -131070
177 # CHECK: error: branch to misaligned address
178 # CHECK: bc1f -131071
179 # CHECK: error: branch target out of range
180 # CHECK: bc1f -131073
181 # CHECK: error: branch to misaligned address
183 # CHECK: error: branch to misaligned address
185 # CHECK: error: branch to misaligned address
187 # CHECK: error: branch target out of range
190 # CHECK: error: branch to misaligned address
191 # CHECK: bc1f $fcc0, -131069
192 # CHECK: error: branch to misaligned address
193 # CHECK: bc1f $fcc0, -131070
194 # CHECK: error: branch to misaligned address
195 # CHECK: bc1f $fcc0, -131071
196 # CHECK: error: branch target out of range
197 # CHECK: bc1f $fcc0, -131073
198 # CHECK: error: branch to misaligned address
199 # CHECK: bc1f $fcc0, 131069
200 # CHECK: error: branch to misaligned address
201 # CHECK: bc1f $fcc0, 131070
202 # CHECK: error: branch to misaligned address
203 # CHECK: bc1f $fcc0, 131071
204 # CHECK: error: branch target out of range
205 # CHECK: bc1f $fcc0, 131072
207 # CHECK: error: branch to misaligned address
208 # CHECK: bc1t -131069
209 # CHECK: error: branch to misaligned address
210 # CHECK: bc1t -131070
211 # CHECK: error: branch to misaligned address
212 # CHECK: bc1t -131071
213 # CHECK: error: branch target out of range
214 # CHECK: bc1t -131073
215 # CHECK: error: branch to misaligned address
217 # CHECK: error: branch to misaligned address
219 # CHECK: error: branch to misaligned address
221 # CHECK: error: branch target out of range
224 # CHECK: error: branch to misaligned address
225 # CHECK: bc1t $fcc0, -131069
226 # CHECK: error: branch to misaligned address
227 # CHECK: bc1t $fcc0, -131070
228 # CHECK: error: branch to misaligned address
229 # CHECK: bc1t $fcc0, -131071
230 # CHECK: error: branch target out of range
231 # CHECK: bc1t $fcc0, -131073
232 # CHECK: error: branch to misaligned address
233 # CHECK: bc1t $fcc0, 131069
234 # CHECK: error: branch to misaligned address
235 # CHECK: bc1t $fcc0, 131070
236 # CHECK: error: branch to misaligned address
237 # CHECK: bc1t $fcc0, 131071
238 # CHECK: error: branch target out of range
239 # CHECK: bc1t $fcc0, 131072