1 @ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null 2>&1 %s \
2 @ RUN: | FileCheck %s -check-prefix CHECK-V7 -check-prefix CHECK
3 @ RUN: not llvm-mc -triple armv8-eabi -filetype asm -o /dev/null 2>&1 %s \
4 @ RUN: | FileCheck %s -check-prefix CHECK-V8 -check-prefix CHECK
5 @ RUN: not llvm-mc -triple thumbv7-eabi -filetype asm -o /dev/null 2>&1 %s \
6 @ RUN: | FileCheck %s -check-prefix CHECK-V7 -check-prefix CHECK
7 @ RUN: not llvm-mc -triple thumbv8-eabi -filetype asm -o /dev/null 2>&1 %s \
8 @ RUN: | FileCheck %s -check-prefix CHECK-V8 -check-prefix CHECK
13 @ CHECK-V7: error: architectural extension 'simd' is not allowed for the current base architecture
14 @ CHECK-V7-NEXT: .arch_extension simd
20 @ CHECK-V7: error: instruction requires: FPARMv8
22 @ CHECK-V7: error: instruction requires: FPARMv8
25 @ CHECK-V7: error: instruction requires: FPARMv8
27 @ CHECK-V7: error: instruction requires: FPARMv8
30 @ CHECK-V7: error: instruction requires: FPARMv8
32 @ CHECK-V7: error: instruction requires: FPARMv8
34 @ CHECK-V7: error: instruction requires: FPARMv8
36 @ CHECK-V7: error: instruction requires: FPARMv8
38 @ CHECK-V7: error: instruction requires: FPARMv8
40 @ CHECK-V7: error: instruction requires: FPARMv8
42 @ CHECK-V7: error: instruction requires: FPARMv8
44 @ CHECK-V7: error: instruction requires: FPARMv8
46 @ CHECK-V7: error: instruction requires: FPARMv8
48 @ CHECK-V7: error: instruction requires: FPARMv8
50 @ CHECK-V7: error: instruction requires: FPARMv8
52 @ CHECK-V7: error: instruction requires: FPARMv8
54 @ CHECK-V7: error: instruction requires: FPARMv8
56 @ CHECK-V7: error: instruction requires: FPARMv8
58 @ CHECK-V7: error: instruction requires: FPARMv8
60 @ CHECK-V7: error: instruction requires: FPARMv8
63 @ CHECK-V7: error: instruction requires: FPARMv8
65 @ CHECK-V7: error: instruction requires: FPARMv8
67 @ CHECK-V7: error: instruction requires: FPARMv8
69 @ CHECK-V7: error: instruction requires: FPARMv8
71 @ CHECK-V7: error: instruction requires: FPARMv8
73 @ CHECK-V7: error: instruction requires: FPARMv8
75 @ CHECK-V7: error: instruction requires: FPARMv8
77 @ CHECK-V7: error: instruction requires: FPARMv8
79 @ CHECK-V7: error: instruction requires: FPARMv8
81 @ CHECK-V7: error: instruction requires: FPARMv8
83 @ CHECK-V7: error: instruction requires: FPARMv8
85 @ CHECK-V7: error: instruction requires: FPARMv8
88 @ CHECK-V7: error: instruction requires: FPARMv8
90 @ CHECK-V7: error: instruction requires: FPARMv8
92 @ CHECK-V7: error: instruction requires: FPARMv8
94 @ CHECK-V7: error: instruction requires: FPARMv8
96 @ CHECK-V7: error: instruction requires: FPARMv8
98 @ CHECK-V7: error: instruction requires: FPARMv8
100 @ CHECK-V7: error: instruction requires: FPARMv8
101 vrintn.f64.f64 d0, d0
102 @ CHECK-V7: error: instruction requires: FPARMv8
104 @ CHECK-V7: error: instruction requires: FPARMv8
106 @ CHECK-V7: error: instruction requires: FPARMv8
107 vrintp.f32.f32 s0, s0
108 @ CHECK-V7: error: instruction requires: FPARMv8
109 vrintp.f64.f64 d0, d0
110 @ CHECK-V7: error: instruction requires: FPARMv8
112 @ CHECK-V7: error: instruction requires: FPARMv8
114 @ CHECK-V7: error: instruction requires: FPARMv8
115 vrintm.f32.f32 s0, s0
116 @ CHECK-V7: error: instruction requires: FPARMv8
117 vrintm.f64.f64 d0, d0
118 @ CHECK-V7: error: instruction requires: FPARMv8
120 .arch_extension nosimd
121 @ CHECK-V7: error: architectural extension 'simd' is not allowed for the current base architecture
122 @ CHECK-V7-NEXT: .arch_extension nosimd
125 .type nosimd,%function
127 vmaxnm.f32 s0, s0, s0
128 @ CHECK: error: instruction requires: FPARMv8
129 vminnm.f32 s0, s0, s0
130 @ CHECK: error: instruction requires: FPARMv8
132 vmaxnm.f64 d0, d0, d0
133 @ CHECK: error: instruction requires: FPARMv8
134 vminnm.f64 d0, d0, d0
135 @ CHECK: error: instruction requires: FPARMv8
138 @ CHECK: error: instruction requires: FPARMv8
140 @ CHECK: error: instruction requires: FPARMv8
142 @ CHECK: error: instruction requires: FPARMv8
144 @ CHECK: error: instruction requires: FPARMv8
146 @ CHECK: error: instruction requires: FPARMv8
148 @ CHECK: error: instruction requires: FPARMv8
150 @ CHECK: error: instruction requires: FPARMv8
152 @ CHECK: error: instruction requires: FPARMv8
154 @ CHECK: error: instruction requires: FPARMv8
156 @ CHECK: error: instruction requires: FPARMv8
158 @ CHECK: error: instruction requires: FPARMv8
160 @ CHECK: error: instruction requires: FPARMv8
162 @ CHECK: error: instruction requires: FPARMv8
164 @ CHECK: error: instruction requires: FPARMv8
166 @ CHECK: error: instruction requires: FPARMv8
168 @ CHECK: error: instruction requires: FPARMv8
171 @ CHECK: error: instruction requires: FPARMv8
173 @ CHECK: error: instruction requires: FPARMv8
174 vrintz.f32.f32 s0, s0
175 @ CHECK: error: instruction requires: FPARMv8
176 vrintz.f64.f64 d0, d0
177 @ CHECK: error: instruction requires: FPARMv8
179 @ CHECK: error: instruction requires: FPARMv8
181 @ CHECK: error: instruction requires: FPARMv8
182 vrintr.f32.f32 s0, s0
183 @ CHECK: error: instruction requires: FPARMv8
184 vrintr.f64.f64 d0, d0
185 @ CHECK: error: instruction requires: FPARMv8
187 @ CHECK: error: instruction requires: FPARMv8
189 @ CHECK: error: instruction requires: FPARMv8
190 vrintx.f32.f32 s0, s0
191 @ CHECK: error: instruction requires: FPARMv8
192 vrintx.f64.f64 d0, d0
193 @ CHECK: error: instruction requires: FPARMv8
196 @ CHECK: error: instruction requires: FPARMv8
198 @ CHECK: error: instruction requires: FPARMv8
199 vrinta.f32.f32 s0, s0
200 @ CHECK: error: instruction requires: FPARMv8
201 vrinta.f64.f64 d0, d0
202 @ CHECK: error: instruction requires: FPARMv8
204 @ CHECK: error: instruction requires: FPARMv8
206 @ CHECK: error: instruction requires: FPARMv8
207 vrintn.f32.f32 s0, s0
208 @ CHECK: error: instruction requires: FPARMv8
209 vrintn.f64.f64 d0, d0
210 @ CHECK: error: instruction requires: FPARMv8
212 @ CHECK: error: instruction requires: FPARMv8
214 @ CHECK: error: instruction requires: FPARMv8
215 vrintp.f32.f32 s0, s0
216 @ CHECK: error: instruction requires: FPARMv8
217 vrintp.f64.f64 d0, d0
218 @ CHECK: error: instruction requires: FPARMv8
220 @ CHECK: error: instruction requires: FPARMv8
222 @ CHECK: error: instruction requires: FPARMv8
223 vrintm.f32.f32 s0, s0
224 @ CHECK: error: instruction requires: FPARMv8
225 vrintm.f64.f64 d0, d0
226 @ CHECK: error: instruction requires: FPARMv8