[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / ARM / neon-vld-encoding.s
blobb96784e4689ce18a143d7d1a73ec0cfd04fbac9d
1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple armv7-apple-darwin -show-encoding < %s | FileCheck %s
3 vld1.8 {d16}, [r0:64]
4 vld1.16 {d16}, [r0]
5 vld1.32 {d16}, [r0]
6 vld1.64 {d16}, [r0]
7 vld1.8 {d16, d17}, [r0:64]
8 vld1.16 {d16, d17}, [r0:128]
9 vld1.32 {d16, d17}, [r0]
10 vld1.64 {d16, d17}, [r0]
11 vld1.8 {d1, d2, d3}, [r3]
12 vld1.16 {d4, d5, d6}, [r3:64]
13 vld1.32 {d5, d6, d7}, [r3]
14 vld1.64 {d6, d7, d8}, [r3:64]
15 vld1.8 {d1, d2, d3, d4}, [r3]
16 vld1.16 {d4, d5, d6, d7}, [r3:64]
17 vld1.32 {d5, d6, d7, d8}, [r3]
18 vld1.64 {d6, d7, d8, d9}, [r3:64]
20 vld1.8 {d16}, [r0:64]!
21 vld1.16 {d16}, [r0]!
22 vld1.32 {d16}, [r0]!
23 vld1.64 {d16}, [r0]!
24 vld1.8 {d16, d17}, [r0:64]!
25 vld1.16 {d16, d17}, [r0:128]!
26 vld1.32 {d16, d17}, [r0]!
27 vld1.64 {d16, d17}, [r0]!
29 vld1.8 {d16}, [r0:64], r5
30 vld1.16 {d16}, [r0], r5
31 vld1.32 {d16}, [r0], r5
32 vld1.64 {d16}, [r0], r5
33 vld1.8 {d16, d17}, [r0:64], r5
34 vld1.16 {d16, d17}, [r0:128], r5
35 vld1.32 {d16, d17}, [r0], r5
36 vld1.64 {d16, d17}, [r0], r5
38 vld1.8 {d1, d2, d3}, [r3]!
39 vld1.16 {d4, d5, d6}, [r3:64]!
40 vld1.32 {d5, d6, d7}, [r3]!
41 vld1.64 {d6, d7, d8}, [r3:64]!
43 vld1.8 {d1, d2, d3}, [r3], r6
44 vld1.16 {d4, d5, d6}, [r3:64], r6
45 vld1.32 {d5, d6, d7}, [r3], r6
46 vld1.64 {d6, d7, d8}, [r3:64], r6
48 vld1.8 {d1, d2, d3, d4}, [r3]!
49 vld1.16 {d4, d5, d6, d7}, [r3:64]!
50 vld1.32 {d5, d6, d7, d8}, [r3]!
51 vld1.64 {d6, d7, d8, d9}, [r3:64]!
53 vld1.8 {d1, d2, d3, d4}, [r3], r8
54 vld1.16 {d4, d5, d6, d7}, [r3:64], r8
55 vld1.32 {d5, d6, d7, d8}, [r3], r8
56 vld1.64 {d6, d7, d8, d9}, [r3:64], r8
58 @ CHECK: vld1.8 {d16}, [r0:64] @ encoding: [0x1f,0x07,0x60,0xf4]
59 @ CHECK: vld1.16 {d16}, [r0] @ encoding: [0x4f,0x07,0x60,0xf4]
60 @ CHECK: vld1.32 {d16}, [r0] @ encoding: [0x8f,0x07,0x60,0xf4]
61 @ CHECK: vld1.64 {d16}, [r0] @ encoding: [0xcf,0x07,0x60,0xf4]
62 @ CHECK: vld1.8 {d16, d17}, [r0:64] @ encoding: [0x1f,0x0a,0x60,0xf4]
63 @ CHECK: vld1.16 {d16, d17}, [r0:128] @ encoding: [0x6f,0x0a,0x60,0xf4]
64 @ CHECK: vld1.32 {d16, d17}, [r0] @ encoding: [0x8f,0x0a,0x60,0xf4]
65 @ CHECK: vld1.64 {d16, d17}, [r0] @ encoding: [0xcf,0x0a,0x60,0xf4]
66 @ CHECK: vld1.8 {d1, d2, d3}, [r3] @ encoding: [0x0f,0x16,0x23,0xf4]
67 @ CHECK: vld1.16 {d4, d5, d6}, [r3:64] @ encoding: [0x5f,0x46,0x23,0xf4]
68 @ CHECK: vld1.32 {d5, d6, d7}, [r3] @ encoding: [0x8f,0x56,0x23,0xf4]
69 @ CHECK: vld1.64 {d6, d7, d8}, [r3:64] @ encoding: [0xdf,0x66,0x23,0xf4]
70 @ CHECK: vld1.8 {d1, d2, d3, d4}, [r3] @ encoding: [0x0f,0x12,0x23,0xf4]
71 @ CHECK: vld1.16 {d4, d5, d6, d7}, [r3:64] @ encoding: [0x5f,0x42,0x23,0xf4]
72 @ CHECK: vld1.32 {d5, d6, d7, d8}, [r3] @ encoding: [0x8f,0x52,0x23,0xf4]
73 @ CHECK: vld1.64 {d6, d7, d8, d9}, [r3:64] @ encoding: [0xdf,0x62,0x23,0xf4]
74 @ CHECK: vld1.8 {d16}, [r0:64]! @ encoding: [0x1d,0x07,0x60,0xf4]
76 @ CHECK: vld1.16 {d16}, [r0]! @ encoding: [0x4d,0x07,0x60,0xf4]
77 @ CHECK: vld1.32 {d16}, [r0]! @ encoding: [0x8d,0x07,0x60,0xf4]
78 @ CHECK: vld1.64 {d16}, [r0]! @ encoding: [0xcd,0x07,0x60,0xf4]
79 @ CHECK: vld1.8 {d16, d17}, [r0:64]! @ encoding: [0x1d,0x0a,0x60,0xf4]
80 @ CHECK: vld1.16 {d16, d17}, [r0:128]! @ encoding: [0x6d,0x0a,0x60,0xf4]
81 @ CHECK: vld1.32 {d16, d17}, [r0]! @ encoding: [0x8d,0x0a,0x60,0xf4]
82 @ CHECK: vld1.64 {d16, d17}, [r0]! @ encoding: [0xcd,0x0a,0x60,0xf4]
84 @ CHECK: vld1.8 {d16}, [r0:64], r5 @ encoding: [0x15,0x07,0x60,0xf4]
85 @ CHECK: vld1.16 {d16}, [r0], r5 @ encoding: [0x45,0x07,0x60,0xf4]
86 @ CHECK: vld1.32 {d16}, [r0], r5 @ encoding: [0x85,0x07,0x60,0xf4]
87 @ CHECK: vld1.64 {d16}, [r0], r5 @ encoding: [0xc5,0x07,0x60,0xf4]
88 @ CHECK: vld1.8 {d16, d17}, [r0:64], r5 @ encoding: [0x15,0x0a,0x60,0xf4]
89 @ CHECK: vld1.16 {d16, d17}, [r0:128], r5 @ encoding: [0x65,0x0a,0x60,0xf4]
90 @ CHECK: vld1.32 {d16, d17}, [r0], r5 @ encoding: [0x85,0x0a,0x60,0xf4]
91 @ CHECK: vld1.64 {d16, d17}, [r0], r5 @ encoding: [0xc5,0x0a,0x60,0xf4]
93 @ CHECK: vld1.8 {d1, d2, d3}, [r3]! @ encoding: [0x0d,0x16,0x23,0xf4]
94 @ CHECK: vld1.16 {d4, d5, d6}, [r3:64]! @ encoding: [0x5d,0x46,0x23,0xf4]
95 @ CHECK: vld1.32 {d5, d6, d7}, [r3]! @ encoding: [0x8d,0x56,0x23,0xf4]
96 @ CHECK: vld1.64 {d6, d7, d8}, [r3:64]! @ encoding: [0xdd,0x66,0x23,0xf4]
98 @ CHECK: vld1.8 {d1, d2, d3}, [r3], r6 @ encoding: [0x06,0x16,0x23,0xf4]
99 @ CHECK: vld1.16 {d4, d5, d6}, [r3:64], r6 @ encoding: [0x56,0x46,0x23,0xf4]
100 @ CHECK: vld1.32 {d5, d6, d7}, [r3], r6 @ encoding: [0x86,0x56,0x23,0xf4]
101 @ CHECK: vld1.64 {d6, d7, d8}, [r3:64], r6 @ encoding: [0xd6,0x66,0x23,0xf4]
103 @ CHECK: vld1.8 {d1, d2, d3, d4}, [r3]! @ encoding: [0x0d,0x12,0x23,0xf4]
104 @ CHECK: vld1.16 {d4, d5, d6, d7}, [r3:64]! @ encoding: [0x5d,0x42,0x23,0xf4]
105 @ CHECK: vld1.32 {d5, d6, d7, d8}, [r3]! @ encoding: [0x8d,0x52,0x23,0xf4]
106 @ CHECK: vld1.64 {d6, d7, d8, d9}, [r3:64]! @ encoding: [0xdd,0x62,0x23,0xf4]
108 @ CHECK: vld1.8 {d1, d2, d3, d4}, [r3], r8 @ encoding: [0x08,0x12,0x23,0xf4]
109 @ CHECK: vld1.16 {d4, d5, d6, d7}, [r3:64], r8 @ encoding: [0x58,0x42,0x23,0xf4]
110 @ CHECK: vld1.32 {d5, d6, d7, d8}, [r3], r8 @ encoding: [0x88,0x52,0x23,0xf4]
111 @ CHECK: vld1.64 {d6, d7, d8, d9}, [r3:64], r8 @ encoding: [0xd8,0x62,0x23,0xf4]
114 vld2.8 {d16, d17}, [r0:64]
115 vld2.16 {d16, d17}, [r0:128]
116 vld2.32 {d16, d17}, [r0]
117 vld2.8 {d16, d17, d18, d19}, [r0:64]
118 vld2.16 {d16, d17, d18, d19}, [r0:128]
119 vld2.32 {d16, d17, d18, d19}, [r0:256]
121 vld2.8 {d19, d20}, [r0:64]!
122 vld2.16 {d16, d17}, [r0:128]!
123 vld2.32 {q10}, [r0]!
124 vld2.8 {d4-d7}, [r0:64]!
125 vld2.16 {d1, d2, d3, d4}, [r0:128]!
126 vld2.32 {q7, q8}, [r0:256]!
128 vld2.8 {d19, d20}, [r0:64], r6
129 vld2.16 {d16, d17}, [r0:128], r6
130 vld2.32 {q10}, [r0], r6
131 vld2.8 {d4-d7}, [r0:64], r6
132 vld2.16 {d1, d2, d3, d4}, [r0:128], r6
133 vld2.32 {q7, q8}, [r0:256], r6
135 @ CHECK: vld2.8 {d16, d17}, [r0:64] @ encoding: [0x1f,0x08,0x60,0xf4]
136 @ CHECK: vld2.16 {d16, d17}, [r0:128] @ encoding: [0x6f,0x08,0x60,0xf4]
137 @ CHECK: vld2.32 {d16, d17}, [r0] @ encoding: [0x8f,0x08,0x60,0xf4]
138 @ CHECK: vld2.8 {d16, d17, d18, d19}, [r0:64] @ encoding: [0x1f,0x03,0x60,0xf4]
139 @ CHECK: vld2.16 {d16, d17, d18, d19}, [r0:128] @ encoding: [0x6f,0x03,0x60,0xf4]
140 @ CHECK: vld2.32 {d16, d17, d18, d19}, [r0:256] @ encoding: [0xbf,0x03,0x60,0xf4]
142 @ CHECK: vld2.8 {d19, d20}, [r0:64]! @ encoding: [0x1d,0x38,0x60,0xf4]
143 @ CHECK: vld2.16 {d16, d17}, [r0:128]! @ encoding: [0x6d,0x08,0x60,0xf4]
144 @ CHECK: vld2.32 {d20, d21}, [r0]! @ encoding: [0x8d,0x48,0x60,0xf4]
145 @ CHECK: vld2.8 {d4, d5, d6, d7}, [r0:64]! @ encoding: [0x1d,0x43,0x20,0xf4]
146 @ CHECK: vld2.16 {d1, d2, d3, d4}, [r0:128]! @ encoding: [0x6d,0x13,0x20,0xf4]
147 @ CHECK: vld2.32 {d14, d15, d16, d17}, [r0:256]! @ encoding: [0xbd,0xe3,0x20,0xf4]
149 @ CHECK: vld2.8 {d19, d20}, [r0:64], r6 @ encoding: [0x16,0x38,0x60,0xf4]
150 @ CHECK: vld2.16 {d16, d17}, [r0:128], r6 @ encoding: [0x66,0x08,0x60,0xf4]
151 @ CHECK: vld2.32 {d20, d21}, [r0], r6 @ encoding: [0x86,0x48,0x60,0xf4]
152 @ CHECK: vld2.8 {d4, d5, d6, d7}, [r0:64], r6 @ encoding: [0x16,0x43,0x20,0xf4]
153 @ CHECK: vld2.16 {d1, d2, d3, d4}, [r0:128], r6 @ encoding: [0x66,0x13,0x20,0xf4]
154 @ CHECK: vld2.32 {d14, d15, d16, d17}, [r0:256], r6 @ encoding: [0xb6,0xe3,0x20,0xf4]
157 vld3.8 {d16, d17, d18}, [r1]
158 vld3.16 {d6, d7, d8}, [r2]
159 vld3.32 {d1, d2, d3}, [r3]
160 vld3.8 {d16, d18, d20}, [r0:64]
161 vld3.u16 {d27, d29, d31}, [r4]
162 vld3.i32 {d6, d8, d10}, [r5]
164 vld3.i8 {d12, d13, d14}, [r6], r1
165 vld3.i16 {d11, d12, d13}, [r7], r2
166 vld3.u32 {d2, d3, d4}, [r8], r3
167 vld3.8 {d4, d6, d8}, [r9], r4
168 vld3.u16 {d14, d16, d18}, [r9], r4
169 vld3.i32 {d16, d18, d20}, [r10], r5
171 vld3.p8 {d6, d7, d8}, [r8]!
172 vld3.16 {d9, d10, d11}, [r7]!
173 vld3.f32 {d1, d2, d3}, [r6]!
174 vld3.8 {d16, d18, d20}, [r0:64]!
175 vld3.p16 {d20, d22, d24}, [r5]!
176 vld3.32 {d5, d7, d9}, [r4]!
179 @ CHECK: vld3.8 {d16, d17, d18}, [r1] @ encoding: [0x0f,0x04,0x61,0xf4]
180 @ CHECK: vld3.16 {d6, d7, d8}, [r2] @ encoding: [0x4f,0x64,0x22,0xf4]
181 @ CHECK: vld3.32 {d1, d2, d3}, [r3] @ encoding: [0x8f,0x14,0x23,0xf4]
182 @ CHECK: vld3.8 {d16, d18, d20}, [r0:64] @ encoding: [0x1f,0x05,0x60,0xf4]
183 @ CHECK: vld3.16 {d27, d29, d31}, [r4] @ encoding: [0x4f,0xb5,0x64,0xf4]
184 @ CHECK: vld3.32 {d6, d8, d10}, [r5] @ encoding: [0x8f,0x65,0x25,0xf4]
185 @ CHECK: vld3.8 {d12, d13, d14}, [r6], r1 @ encoding: [0x01,0xc4,0x26,0xf4]
186 @ CHECK: vld3.16 {d11, d12, d13}, [r7], r2 @ encoding: [0x42,0xb4,0x27,0xf4]
187 @ CHECK: vld3.32 {d2, d3, d4}, [r8], r3 @ encoding: [0x83,0x24,0x28,0xf4]
188 @ CHECK: vld3.8 {d4, d6, d8}, [r9], r4 @ encoding: [0x04,0x45,0x29,0xf4]
189 @ CHECK: vld3.16 {d14, d16, d18}, [r9], r4 @ encoding: [0x44,0xe5,0x29,0xf4]
190 @ CHECK: vld3.32 {d16, d18, d20}, [r10], r5 @ encoding: [0x85,0x05,0x6a,0xf4]
191 @ CHECK: vld3.8 {d6, d7, d8}, [r8]! @ encoding: [0x0d,0x64,0x28,0xf4]
192 @ CHECK: vld3.16 {d9, d10, d11}, [r7]! @ encoding: [0x4d,0x94,0x27,0xf4]
193 @ CHECK: vld3.32 {d1, d2, d3}, [r6]! @ encoding: [0x8d,0x14,0x26,0xf4]
194 @ CHECK: vld3.8 {d16, d18, d20}, [r0:64]! @ encoding: [0x1d,0x05,0x60,0xf4]
195 @ CHECK: vld3.16 {d20, d22, d24}, [r5]! @ encoding: [0x4d,0x45,0x65,0xf4]
196 @ CHECK: vld3.32 {d5, d7, d9}, [r4]! @ encoding: [0x8d,0x55,0x24,0xf4]
199 vld4.8 {d16, d17, d18, d19}, [r1:64]
200 vld4.16 {d16, d17, d18, d19}, [r2:128]
201 vld4.32 {d16, d17, d18, d19}, [r3:256]
202 vld4.8 {d17, d19, d21, d23}, [r5:256]
203 vld4.16 {d17, d19, d21, d23}, [r7]
204 vld4.32 {d16, d18, d20, d22}, [r8]
206 vld4.s8 {d16, d17, d18, d19}, [r1:64]!
207 vld4.s16 {d16, d17, d18, d19}, [r2:128]!
208 vld4.s32 {d16, d17, d18, d19}, [r3:256]!
209 vld4.u8 {d17, d19, d21, d23}, [r5:256]!
210 vld4.u16 {d17, d19, d21, d23}, [r7]!
211 vld4.u32 {d16, d18, d20, d22}, [r8]!
213 vld4.p8 {d16, d17, d18, d19}, [r1:64], r8
214 vld4.p16 {d16, d17, d18, d19}, [r2], r7
215 vld4.f32 {d16, d17, d18, d19}, [r3:64], r5
216 vld4.i8 {d16, d18, d20, d22}, [r4:256], r2
217 vld4.i16 {d16, d18, d20, d22}, [r6], r3
218 vld4.i32 {d17, d19, d21, d23}, [r9], r4
220 @ CHECK: vld4.8 {d16, d17, d18, d19}, [r1:64] @ encoding: [0x1f,0x00,0x61,0xf4]
221 @ CHECK: vld4.16 {d16, d17, d18, d19}, [r2:128] @ encoding: [0x6f,0x00,0x62,0xf4]
222 @ CHECK: vld4.32 {d16, d17, d18, d19}, [r3:256] @ encoding: [0xbf,0x00,0x63,0xf4]
223 @ CHECK: vld4.8 {d17, d19, d21, d23}, [r5:256] @ encoding: [0x3f,0x11,0x65,0xf4]
224 @ CHECK: vld4.16 {d17, d19, d21, d23}, [r7] @ encoding: [0x4f,0x11,0x67,0xf4]
225 @ CHECK: vld4.32 {d16, d18, d20, d22}, [r8] @ encoding: [0x8f,0x01,0x68,0xf4]
226 @ CHECK: vld4.8 {d16, d17, d18, d19}, [r1:64]! @ encoding: [0x1d,0x00,0x61,0xf4]
227 @ CHECK: vld4.16 {d16, d17, d18, d19}, [r2:128]! @ encoding: [0x6d,0x00,0x62,0xf4]
228 @ CHECK: vld4.32 {d16, d17, d18, d19}, [r3:256]! @ encoding: [0xbd,0x00,0x63,0xf4]
229 @ CHECK: vld4.8 {d17, d19, d21, d23}, [r5:256]! @ encoding: [0x3d,0x11,0x65,0xf4]
230 @ CHECK: vld4.16 {d17, d19, d21, d23}, [r7]! @ encoding: [0x4d,0x11,0x67,0xf4]
231 @ CHECK: vld4.32 {d16, d18, d20, d22}, [r8]! @ encoding: [0x8d,0x01,0x68,0xf4]
232 @ CHECK: vld4.8 {d16, d17, d18, d19}, [r1:64], r8 @ encoding: [0x18,0x00,0x61,0xf4]
233 @ CHECK: vld4.16 {d16, d17, d18, d19}, [r2], r7 @ encoding: [0x47,0x00,0x62,0xf4]
234 @ CHECK: vld4.32 {d16, d17, d18, d19}, [r3:64], r5 @ encoding: [0x95,0x00,0x63,0xf4]
235 @ CHECK: vld4.8 {d16, d18, d20, d22}, [r4:256], r2 @ encoding: [0x32,0x01,0x64,0xf4]
236 @ CHECK: vld4.16 {d16, d18, d20, d22}, [r6], r3 @ encoding: [0x43,0x01,0x66,0xf4]
237 @ CHECK: vld4.32 {d17, d19, d21, d23}, [r9], r4 @ encoding: [0x84,0x11,0x69,0xf4]
240 vld1.8 {d4[]}, [r1]
241 vld1.8 {d4[]}, [r1]!
242 vld1.8 {d4[]}, [r1], r3
243 vld1.8 {d4[], d5[]}, [r1]
244 vld1.8 {d4[], d5[]}, [r1]!
245 vld1.8 {d4[], d5[]}, [r1], r3
247 @ CHECK: vld1.8 {d4[]}, [r1] @ encoding: [0x0f,0x4c,0xa1,0xf4]
248 @ CHECK: vld1.8 {d4[]}, [r1]! @ encoding: [0x0d,0x4c,0xa1,0xf4]
249 @ CHECK: vld1.8 {d4[]}, [r1], r3 @ encoding: [0x03,0x4c,0xa1,0xf4]
250 @ CHECK: vld1.8 {d4[], d5[]}, [r1] @ encoding: [0x2f,0x4c,0xa1,0xf4]
251 @ CHECK: vld1.8 {d4[], d5[]}, [r1]! @ encoding: [0x2d,0x4c,0xa1,0xf4]
252 @ CHECK: vld1.8 {d4[], d5[]}, [r1], r3 @ encoding: [0x23,0x4c,0xa1,0xf4]
254 vld1.8 {d16[3]}, [r0]
255 vld1.16 {d16[2]}, [r0:16]
256 vld1.32 {d16[1]}, [r0:32]
257 vld1.p8 d12[6], [r2]!
258 vld1.i8 d12[6], [r2], r2
259 vld1.u16 d12[3], [r2]!
260 vld1.16 d12[2], [r2], r2
262 @ CHECK: vld1.8 {d16[3]}, [r0] @ encoding: [0x6f,0x00,0xe0,0xf4]
263 @ CHECK: vld1.16 {d16[2]}, [r0:16] @ encoding: [0x9f,0x04,0xe0,0xf4]
264 @ CHECK: vld1.32 {d16[1]}, [r0:32] @ encoding: [0xbf,0x08,0xe0,0xf4]
265 @ CHECK: vld1.8 {d12[6]}, [r2]! @ encoding: [0xcd,0xc0,0xa2,0xf4]
266 @ CHECK: vld1.8 {d12[6]}, [r2], r2 @ encoding: [0xc2,0xc0,0xa2,0xf4]
267 @ CHECK: vld1.16 {d12[3]}, [r2]! @ encoding: [0xcd,0xc4,0xa2,0xf4]
268 @ CHECK: vld1.16 {d12[2]}, [r2], r2 @ encoding: [0x82,0xc4,0xa2,0xf4]
271 vld2.8 {d16[1], d17[1]}, [r0:16]
272 vld2.16 {d16[1], d17[1]}, [r0:32]
273 vld2.32 {d16[1], d17[1]}, [r0]
274 vld2.16 {d17[1], d19[1]}, [r0]
275 vld2.32 {d17[0], d19[0]}, [r0:64]
276 vld2.32 {d17[0], d19[0]}, [r0:64]!
277 vld2.8 {d2[4], d3[4]}, [r2], r3
278 vld2.8 {d2[4], d3[4]}, [r2]!
279 vld2.8 {d2[4], d3[4]}, [r2]
280 vld2.32 {d22[], d23[]}, [r1]
281 vld2.32 {d22[], d24[]}, [r1]
282 vld2.32 {d10[ ],d11[ ]}, [r3]!
283 vld2.32 {d14[ ],d16[ ]}, [r4]!
284 vld2.32 {d22[ ],d23[ ]}, [r5], r4
285 vld2.32 {d22[ ],d24[ ]}, [r6], r4
287 @ CHECK: vld2.8 {d16[1], d17[1]}, [r0:16] @ encoding: [0x3f,0x01,0xe0,0xf4]
288 @ CHECK: vld2.16 {d16[1], d17[1]}, [r0:32] @ encoding: [0x5f,0x05,0xe0,0xf4]
289 @ CHECK: vld2.32 {d16[1], d17[1]}, [r0] @ encoding: [0x8f,0x09,0xe0,0xf4]
290 @ CHECK: vld2.16 {d17[1], d19[1]}, [r0] @ encoding: [0x6f,0x15,0xe0,0xf4]
291 @ CHECK: vld2.32 {d17[0], d19[0]}, [r0:64] @ encoding: [0x5f,0x19,0xe0,0xf4]
292 @ CHECK: vld2.32 {d17[0], d19[0]}, [r0:64]! @ encoding: [0x5d,0x19,0xe0,0xf4]
293 @ CHECK: vld2.8 {d2[4], d3[4]}, [r2], r3 @ encoding: [0x83,0x21,0xa2,0xf4]
294 @ CHECK: vld2.8 {d2[4], d3[4]}, [r2]! @ encoding: [0x8d,0x21,0xa2,0xf4]
295 @ CHECK: vld2.8 {d2[4], d3[4]}, [r2] @ encoding: [0x8f,0x21,0xa2,0xf4]
296 @ CHECK: vld2.32 {d22[], d23[]}, [r1] @ encoding: [0x8f,0x6d,0xe1,0xf4]
297 @ CHECK: vld2.32 {d22[], d24[]}, [r1] @ encoding: [0xaf,0x6d,0xe1,0xf4]
298 @ CHECK: vld2.32 {d10[], d11[]}, [r3]! @ encoding: [0x8d,0xad,0xa3,0xf4]
299 @ CHECK: vld2.32 {d14[], d16[]}, [r4]! @ encoding: [0xad,0xed,0xa4,0xf4]
300 @ CHECK: vld2.32 {d22[], d23[]}, [r5], r4 @ encoding: [0x84,0x6d,0xe5,0xf4]
301 @ CHECK: vld2.32 {d22[], d24[]}, [r6], r4 @ encoding: [0xa4,0x6d,0xe6,0xf4]
304 vld3.8 {d16[1], d17[1], d18[1]}, [r1]
305 vld3.16 {d6[1], d7[1], d8[1]}, [r2]
306 vld3.32 {d1[1], d2[1], d3[1]}, [r3]
307 vld3.u16 {d27[2], d29[2], d31[2]}, [r4]
308 vld3.i32 {d6[0], d8[0], d10[0]}, [r5]
310 vld3.i8 {d12[3], d13[3], d14[3]}, [r6], r1
311 vld3.i16 {d11[2], d12[2], d13[2]}, [r7], r2
312 vld3.u32 {d2[1], d3[1], d4[1]}, [r8], r3
313 vld3.u16 {d14[2], d16[2], d18[2]}, [r9], r4
314 vld3.i32 {d16[0], d18[0], d20[0]}, [r10], r5
316 vld3.p8 {d6[6], d7[6], d8[6]}, [r8]!
317 vld3.16 {d9[2], d10[2], d11[2]}, [r7]!
318 vld3.f32 {d1[1], d2[1], d3[1]}, [r6]!
319 vld3.p16 {d20[2], d22[2], d24[2]}, [r5]!
320 vld3.32 {d5[0], d7[0], d9[0]}, [r4]!
322 @ CHECK: vld3.8 {d16[1], d17[1], d18[1]}, [r1] @ encoding: [0x2f,0x02,0xe1,0xf4]
323 @ CHECK: vld3.16 {d6[1], d7[1], d8[1]}, [r2] @ encoding: [0x4f,0x66,0xa2,0xf4]
324 @ CHECK: vld3.32 {d1[1], d2[1], d3[1]}, [r3] @ encoding: [0x8f,0x1a,0xa3,0xf4]
325 @ CHECK: vld3.16 {d27[2], d29[2], d31[2]}, [r4] @ encoding: [0xaf,0xb6,0xe4,0xf4]
326 @ CHECK: vld3.32 {d6[0], d8[0], d10[0]}, [r5] @ encoding: [0x4f,0x6a,0xa5,0xf4]
327 @ CHECK: vld3.8 {d12[3], d13[3], d14[3]}, [r6], r1 @ encoding: [0x61,0xc2,0xa6,0xf4]
328 @ CHECK: vld3.16 {d11[2], d12[2], d13[2]}, [r7], r2 @ encoding: [0x82,0xb6,0xa7,0xf4]
329 @ CHECK: vld3.32 {d2[1], d3[1], d4[1]}, [r8], r3 @ encoding: [0x83,0x2a,0xa8,0xf4]
330 @ CHECK: vld3.16 {d14[2], d16[2], d18[2]}, [r9], r4 @ encoding: [0xa4,0xe6,0xa9,0xf4]
331 @ CHECK: vld3.32 {d16[0], d18[0], d20[0]}, [r10], r5 @ encoding: [0x45,0x0a,0xea,0xf4]
332 @ CHECK: vld3.8 {d6[6], d7[6], d8[6]}, [r8]! @ encoding: [0xcd,0x62,0xa8,0xf4]
333 @ CHECK: vld3.16 {d9[2], d10[2], d11[2]}, [r7]! @ encoding: [0x8d,0x96,0xa7,0xf4]
334 @ CHECK: vld3.32 {d1[1], d2[1], d3[1]}, [r6]! @ encoding: [0x8d,0x1a,0xa6,0xf4]
335 @ CHECK: vld3.16 {d20[2], d21[2], d22[2]}, [r5]! @ encoding: [0xad,0x46,0xe5,0xf4]
336 @ CHECK: vld3.32 {d5[0], d7[0], d9[0]}, [r4]! @ encoding: [0x4d,0x5a,0xa4,0xf4]
339 vld3.8 {d16[], d17[], d18[]}, [r1]
340 vld3.16 {d16[], d17[], d18[]}, [r2]
341 vld3.32 {d16[], d17[], d18[]}, [r3]
342 vld3.8 {d17[], d19[], d21[]}, [r7]
343 vld3.16 {d17[], d19[], d21[]}, [r7]
344 vld3.32 {d16[], d18[], d20[]}, [r8]
346 vld3.s8 {d16[], d17[], d18[]}, [r1]!
347 vld3.s16 {d16[], d17[], d18[]}, [r2]!
348 vld3.s32 {d16[], d17[], d18[]}, [r3]!
349 vld3.u8 {d17[], d19[], d21[]}, [r7]!
350 vld3.u16 {d17[], d19[], d21[]}, [r7]!
351 vld3.u32 {d16[], d18[], d20[]}, [r8]!
353 vld3.p8 {d16[], d17[], d18[]}, [r1], r8
354 vld3.p16 {d16[], d17[], d18[]}, [r2], r7
355 vld3.f32 {d16[], d17[], d18[]}, [r3], r5
356 vld3.i8 {d16[], d18[], d20[]}, [r6], r3
357 vld3.i16 {d16[], d18[], d20[]}, [r6], r3
358 vld3.i32 {d17[], d19[], d21[]}, [r9], r4
360 @ CHECK: vld3.8 {d16[], d17[], d18[]}, [r1] @ encoding: [0x0f,0x0e,0xe1,0xf4]
361 @ CHECK: vld3.16 {d16[], d17[], d18[]}, [r2] @ encoding: [0x4f,0x0e,0xe2,0xf4]
362 @ CHECK: vld3.32 {d16[], d17[], d18[]}, [r3] @ encoding: [0x8f,0x0e,0xe3,0xf4]
363 @ CHECK: vld3.8 {d17[], d19[], d21[]}, [r7] @ encoding: [0x2f,0x1e,0xe7,0xf4]
364 @ CHECK: vld3.16 {d17[], d19[], d21[]}, [r7] @ encoding: [0x6f,0x1e,0xe7,0xf4]
365 @ CHECK: vld3.32 {d16[], d18[], d20[]}, [r8] @ encoding: [0xaf,0x0e,0xe8,0xf4]
366 @ CHECK: vld3.8 {d16[], d17[], d18[]}, [r1]! @ encoding: [0x0d,0x0e,0xe1,0xf4]
367 @ CHECK: vld3.16 {d16[], d17[], d18[]}, [r2]! @ encoding: [0x4d,0x0e,0xe2,0xf4]
368 @ CHECK: vld3.32 {d16[], d17[], d18[]}, [r3]! @ encoding: [0x8d,0x0e,0xe3,0xf4]
369 @ CHECK: vld3.8 {d17[], d18[], d19[]}, [r7]! @ encoding: [0x2d,0x1e,0xe7,0xf4]
370 @ CHECK: vld3.16 {d17[], d19[], d21[]}, [r7]! @ encoding: [0x6d,0x1e,0xe7,0xf4]
371 @ CHECK: vld3.32 {d16[], d18[], d20[]}, [r8]! @ encoding: [0xad,0x0e,0xe8,0xf4]
372 @ CHECK: vld3.8 {d16[], d17[], d18[]}, [r1], r8 @ encoding: [0x08,0x0e,0xe1,0xf4]
373 @ CHECK: vld3.16 {d16[], d17[], d18[]}, [r2], r7 @ encoding: [0x47,0x0e,0xe2,0xf4]
374 @ CHECK: vld3.32 {d16[], d17[], d18[]}, [r3], r5 @ encoding: [0x85,0x0e,0xe3,0xf4]
375 @ CHECK: vld3.8 {d16[], d18[], d20[]}, [r6], r3 @ encoding: [0x23,0x0e,0xe6,0xf4]
376 @ CHECK: vld3.16 {d16[], d18[], d20[]}, [r6], r3 @ encoding: [0x63,0x0e,0xe6,0xf4]
377 @ CHECK: vld3.32 {d17[], d19[], d21[]}, [r9], r4 @ encoding: [0xa4,0x1e,0xe9,0xf4]
380 vld4.8 {d16[1], d17[1], d18[1], d19[1]}, [r1]
381 vld4.16 {d16[1], d17[1], d18[1], d19[1]}, [r2]
382 vld4.32 {d16[1], d17[1], d18[1], d19[1]}, [r3]
383 vld4.16 {d17[1], d19[1], d21[1], d23[1]}, [r7]
384 vld4.32 {d16[1], d18[1], d20[1], d22[1]}, [r8]
386 vld4.s8 {d16[1], d17[1], d18[1], d19[1]}, [r1:32]!
387 vld4.s16 {d16[1], d17[1], d18[1], d19[1]}, [r2:64]!
388 vld4.s32 {d16[1], d17[1], d18[1], d19[1]}, [r3:128]!
389 vld4.u16 {d17[1], d19[1], d21[1], d23[1]}, [r7]!
390 vld4.u32 {d16[1], d18[1], d20[1], d22[1]}, [r8]!
392 vld4.p8 {d16[1], d17[1], d18[1], d19[1]}, [r1:32], r8
393 vld4.p16 {d16[1], d17[1], d18[1], d19[1]}, [r2], r7
394 vld4.f32 {d16[1], d17[1], d18[1], d19[1]}, [r3:64], r5
395 vld4.i16 {d16[1], d18[1], d20[1], d22[1]}, [r6], r3
396 vld4.i32 {d17[1], d19[1], d21[1], d23[1]}, [r9], r4
398 @ CHECK: vld4.8 {d16[1], d17[1], d18[1], d19[1]}, [r1] @ encoding: [0x2f,0x03,0xe1,0xf4]
399 @ CHECK: vld4.16 {d16[1], d17[1], d18[1], d19[1]}, [r2] @ encoding: [0x4f,0x07,0xe2,0xf4]
400 @ CHECK: vld4.32 {d16[1], d17[1], d18[1], d19[1]}, [r3] @ encoding: [0x8f,0x0b,0xe3,0xf4]
401 @ CHECK: vld4.16 {d17[1], d19[1], d21[1], d23[1]}, [r7] @ encoding: [0x6f,0x17,0xe7,0xf4]
402 @ CHECK: vld4.32 {d16[1], d18[1], d20[1], d22[1]}, [r8] @ encoding: [0xcf,0x0b,0xe8,0xf4]
403 @ CHECK: vld4.8 {d16[1], d17[1], d18[1], d19[1]}, [r1:32]! @ encoding: [0x3d,0x03,0xe1,0xf4]
404 @ CHECK: vld4.16 {d16[1], d17[1], d18[1], d19[1]}, [r2:64]! @ encoding: [0x5d,0x07,0xe2,0xf4]
405 @ CHECK: vld4.32 {d16[1], d17[1], d18[1], d19[1]}, [r3:128]! @ encoding: [0xad,0x0b,0xe3,0xf4]
406 @ CHECK: vld4.16 {d17[1], d19[1], d21[1], d23[1]}, [r7]! @ encoding: [0x6d,0x17,0xe7,0xf4]
407 @ CHECK: vld4.32 {d16[1], d18[1], d20[1], d22[1]}, [r8]! @ encoding: [0xcd,0x0b,0xe8,0xf4]
408 @ CHECK: vld4.8 {d16[1], d17[1], d18[1], d19[1]}, [r1:32], r8 @ encoding: [0x38,0x03,0xe1,0xf4]
409 @ CHECK: vld4.16 {d16[1], d17[1], d18[1], d19[1]}, [r2], r7 @ encoding: [0x47,0x07,0xe2,0xf4]
410 @ CHECK: vld4.32 {d16[1], d17[1], d18[1], d19[1]}, [r3:64], r5 @ encoding: [0x95,0x0b,0xe3,0xf4]
411 @ CHECK: vld4.16 {d16[1], d18[1], d20[1], d22[1]}, [r6], r3 @ encoding: [0x63,0x07,0xe6,0xf4]
412 @ CHECK: vld4.32 {d17[1], d19[1], d21[1], d23[1]}, [r9], r4 @ encoding: [0xc4,0x1b,0xe9,0xf4]
415 vld4.8 {d16[], d17[], d18[], d19[]}, [r1]
416 vld4.16 {d16[], d17[], d18[], d19[]}, [r2]
417 vld4.32 {d16[], d17[], d18[], d19[]}, [r3]
418 vld4.8 {d17[], d19[], d21[], d23[]}, [r7]
419 vld4.16 {d17[], d19[], d21[], d23[]}, [r7]
420 vld4.32 {d16[], d18[], d20[], d22[]}, [r8]
422 vld4.s8 {d16[], d17[], d18[], d19[]}, [r1]!
423 vld4.s16 {d16[], d17[], d18[], d19[]}, [r2]!
424 vld4.s32 {d16[], d17[], d18[], d19[]}, [r3]!
425 vld4.u8 {d17[], d19[], d21[], d23[]}, [r7]!
426 vld4.u16 {d17[], d19[], d21[], d23[]}, [r7]!
427 vld4.u32 {d16[], d18[], d20[], d22[]}, [r8]!
429 vld4.p8 {d16[], d17[], d18[], d19[]}, [r1], r8
430 vld4.p16 {d16[], d17[], d18[], d19[]}, [r2], r7
431 vld4.f32 {d16[], d17[], d18[], d19[]}, [r3], r5
432 vld4.i8 {d16[], d18[], d20[], d22[]}, [r6], r3
433 vld4.i16 {d16[], d18[], d20[], d22[]}, [r6], r3
434 vld4.i32 {d17[], d19[], d21[], d23[]}, [r9], r4
436 @ CHECK: vld4.8 {d16[], d17[], d18[], d19[]}, [r1] @ encoding: [0x0f,0x0f,0xe1,0xf4]
437 @ CHECK: vld4.16 {d16[], d17[], d18[], d19[]}, [r2] @ encoding: [0x4f,0x0f,0xe2,0xf4]
438 @ CHECK: vld4.32 {d16[], d17[], d18[], d19[]}, [r3] @ encoding: [0x8f,0x0f,0xe3,0xf4]
439 @ CHECK: vld4.8 {d17[], d19[], d21[], d23[]}, [r7] @ encoding: [0x2f,0x1f,0xe7,0xf4]
440 @ CHECK: vld4.16 {d17[], d19[], d21[], d23[]}, [r7] @ encoding: [0x6f,0x1f,0xe7,0xf4]
441 @ CHECK: vld4.32 {d16[], d18[], d20[], d22[]}, [r8] @ encoding: [0xaf,0x0f,0xe8,0xf4]
442 @ CHECK: vld4.8 {d16[], d17[], d18[], d19[]}, [r1]! @ encoding: [0x0d,0x0f,0xe1,0xf4]
443 @ CHECK: vld4.16 {d16[], d17[], d18[], d19[]}, [r2]! @ encoding: [0x4d,0x0f,0xe2,0xf4]
444 @ CHECK: vld4.32 {d16[], d17[], d18[], d19[]}, [r3]! @ encoding: [0x8d,0x0f,0xe3,0xf4]
445 @ CHECK: vld4.8 {d17[], d18[], d19[], d20[]}, [r7]! @ encoding: [0x2d,0x1f,0xe7,0xf4]
446 @ CHECK: vld4.16 {d17[], d18[], d19[], d20[]}, [r7]! @ encoding: [0x6d,0x1f,0xe7,0xf4]
447 @ CHECK: vld4.32 {d16[], d18[], d20[], d22[]}, [r8]! @ encoding: [0xad,0x0f,0xe8,0xf4]
448 @ CHECK: vld4.8 {d16[], d17[], d18[], d19[]}, [r1], r8 @ encoding: [0x08,0x0f,0xe1,0xf4]
449 @ CHECK: vld4.16 {d16[], d17[], d18[], d19[]}, [r2], r7 @ encoding: [0x47,0x0f,0xe2,0xf4]
450 @ CHECK: vld4.32 {d16[], d17[], d18[], d19[]}, [r3], r5 @ encoding: [0x85,0x0f,0xe3,0xf4]
451 @ CHECK: vld4.8 {d16[], d18[], d20[], d22[]}, [r6], r3 @ encoding: [0x23,0x0f,0xe6,0xf4]
452 @ CHECK: vld4.16 {d16[], d18[], d20[], d22[]}, [r6], r3 @ encoding: [0x63,0x0f,0xe6,0xf4]
453 @ CHECK: vld4.32 {d17[], d19[], d21[], d23[]}, [r9], r4 @ encoding: [0xa4,0x1f,0xe9,0xf4]
455 @ Handle 'Q' registers in register lists as if the sub-reg D regs were
456 @ specified instead.
457 vld1.8 {q3}, [r9]
458 vld1.8 {q3, q4}, [r9]
460 @ CHECK: vld1.8 {d6, d7}, [r9] @ encoding: [0x0f,0x6a,0x29,0xf4]
461 @ CHECK: vld1.8 {d6, d7, d8, d9}, [r9] @ encoding: [0x0f,0x62,0x29,0xf4]
464 @ Spot-check additional size-suffix aliases.
465 vld1.8 {d2}, [r2]
466 vld1.p8 {d2}, [r2]
467 vld1.u8 {d2}, [r2]
469 vld1.8 {q2}, [r2]
470 vld1.p8 {q2}, [r2]
471 vld1.u8 {q2}, [r2]
472 vld1.f32 {q2}, [r2]
474 vld1.u8 {d2, d3, d4}, [r2]
475 vld1.i32 {d2, d3, d4}, [r2]
476 vld1.f64 {d2, d3, d4}, [r2]
478 @ CHECK: vld1.8 {d2}, [r2] @ encoding: [0x0f,0x27,0x22,0xf4]
479 @ CHECK: vld1.8 {d2}, [r2] @ encoding: [0x0f,0x27,0x22,0xf4]
480 @ CHECK: vld1.8 {d2}, [r2] @ encoding: [0x0f,0x27,0x22,0xf4]
482 @ CHECK: vld1.8 {d4, d5}, [r2] @ encoding: [0x0f,0x4a,0x22,0xf4]
483 @ CHECK: vld1.8 {d4, d5}, [r2] @ encoding: [0x0f,0x4a,0x22,0xf4]
484 @ CHECK: vld1.8 {d4, d5}, [r2] @ encoding: [0x0f,0x4a,0x22,0xf4]
485 @ CHECK: vld1.32 {d4, d5}, [r2] @ encoding: [0x8f,0x4a,0x22,0xf4]
487 @ CHECK: vld1.8 {d2, d3, d4}, [r2] @ encoding: [0x0f,0x26,0x22,0xf4]
488 @ CHECK: vld1.32 {d2, d3, d4}, [r2] @ encoding: [0x8f,0x26,0x22,0xf4]
489 @ CHECK: vld1.64 {d2, d3, d4}, [r2] @ encoding: [0xcf,0x26,0x22,0xf4]
492 @ Register lists can use the range syntax, just like VLDM
493 vld1.f64 {d2-d5}, [r2:128]!
494 vld1.f64 {d2,d3,d4,d5}, [r2:128]!
496 @ CHECK: vld1.64 {d2, d3, d4, d5}, [r2:128]! @ encoding: [0xed,0x22,0x22,0xf4]
497 @ CHECK: vld1.64 {d2, d3, d4, d5}, [r2:128]! @ encoding: [0xed,0x22,0x22,0xf4]
500 @ verify that the old incorrect alignment specifier syntax (", :")
501 @ still gets accepted.
502 vld2.8 {d16, d17}, [r0, :64]
503 vld2.16 {d16, d17}, [r0, :128]
505 @ CHECK: vld2.8 {d16, d17}, [r0:64] @ encoding: [0x1f,0x08,0x60,0xf4]
506 @ CHECK: vld2.16 {d16, d17}, [r0:128] @ encoding: [0x6f,0x08,0x60,0xf4]