[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / Mips / module-directive-bad.s
blob97f054699c20306d74d72f4c37ee0c1180911c76
1 # RUN: not llvm-mc -triple mips-unknown-unknown %s 2>%t1
2 # RUN: FileCheck %s < %t1
4 .set mips0
5 .module fp=64
6 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
8 .llvm_internal_mips_reallow_module_directive
9 .module fp=32
10 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
12 .set mips1
13 .module fp=64
14 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
16 .llvm_internal_mips_reallow_module_directive
17 .module fp=32
18 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
20 .set mips2
21 .module fp=64
22 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
24 .llvm_internal_mips_reallow_module_directive
25 .module fp=32
26 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
28 .set mips3
29 .module fp=64
30 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
32 .llvm_internal_mips_reallow_module_directive
33 .module fp=32
34 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
36 .set mips4
37 .module fp=64
38 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
40 .llvm_internal_mips_reallow_module_directive
41 .module fp=32
42 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
44 .set mips5
45 .module fp=64
46 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
48 .llvm_internal_mips_reallow_module_directive
49 .module fp=32
50 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
52 .set mips32
53 .module fp=64
54 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
56 .llvm_internal_mips_reallow_module_directive
57 .module fp=32
58 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
60 .set mips32r2
61 .module fp=64
62 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
64 .llvm_internal_mips_reallow_module_directive
65 .module fp=32
66 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
68 .set mips32r6
69 .module fp=64
70 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
72 .llvm_internal_mips_reallow_module_directive
73 .module fp=32
74 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
76 .set mips64
77 .module fp=64
78 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
80 .llvm_internal_mips_reallow_module_directive
81 .module fp=32
82 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
84 .set mips64r2
85 .module fp=64
86 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
88 .llvm_internal_mips_reallow_module_directive
89 .module fp=32
90 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
92 .set mips64r6
93 .module fp=64
94 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
96 .llvm_internal_mips_reallow_module_directive
97 .module fp=32
98 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
100 .set arch=mips32
101 .module fp=64
102 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
104 .llvm_internal_mips_reallow_module_directive
105 .module fp=32
106 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
108 .set mips16
109 .module fp=64
110 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
112 .llvm_internal_mips_reallow_module_directive
113 .module fp=32
114 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
116 .set nomips16
117 .module fp=64
118 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
120 .llvm_internal_mips_reallow_module_directive
121 .module fp=32
122 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
124 .set micromips
125 .module fp=64
126 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
128 .llvm_internal_mips_reallow_module_directive
129 .module fp=32
130 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
132 .set nomicromips
133 .module fp=64
134 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
136 .llvm_internal_mips_reallow_module_directive
137 .module fp=32
138 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
140 .set msa
141 .module fp=64
142 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
144 .llvm_internal_mips_reallow_module_directive
145 .module fp=32
146 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
148 .set nomsa
149 .module fp=64
150 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
152 .llvm_internal_mips_reallow_module_directive
153 .module fp=32
154 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
156 .set dsp
157 .module fp=64
158 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
160 .set dspr2
161 .module fp=64
162 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
164 .llvm_internal_mips_reallow_module_directive
165 .module fp=32
166 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
168 .set nodsp
169 .module fp=64
170 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
172 .llvm_internal_mips_reallow_module_directive
173 .module fp=32
174 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
176 .set push
177 .module fp=64
178 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
180 .llvm_internal_mips_reallow_module_directive
181 .module fp=32
182 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
184 .set pop
185 .module fp=64
186 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
188 .llvm_internal_mips_reallow_module_directive
189 .module fp=32
190 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
192 .set reorder
193 .module fp=64
194 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
196 .llvm_internal_mips_reallow_module_directive
197 .module fp=32
198 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
200 .set noreorder
201 .module fp=64
202 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
204 .llvm_internal_mips_reallow_module_directive
205 .module fp=32
206 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
208 .set macro
209 .module fp=64
210 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
212 .llvm_internal_mips_reallow_module_directive
213 .module fp=32
214 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
216 .set nomacro
217 .module fp=64
218 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
220 .llvm_internal_mips_reallow_module_directive
221 .module fp=32
222 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
224 .set at
225 .module fp=64
226 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
228 .llvm_internal_mips_reallow_module_directive
229 .module fp=32
230 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
232 .set at=$3
233 .module fp=64
234 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
236 .llvm_internal_mips_reallow_module_directive
237 .module fp=32
238 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
240 .set noat
241 .module fp=64
242 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
244 .llvm_internal_mips_reallow_module_directive
245 .module fp=32
246 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
248 .set fp=32
249 .module fp=64
250 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
252 .llvm_internal_mips_reallow_module_directive
253 .module fp=32
254 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
256 .cpload $25
257 .module fp=64
258 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
260 .llvm_internal_mips_reallow_module_directive
261 .module fp=32
262 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
264 .cpsetup $25, 8, __cerror
265 .module fp=64
266 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code