1 ; RUN: llc < %s -mcpu=x86-64 -mattr=+avx -x86-experimental-vector-shuffle-lowering | FileCheck %s --check-prefix=ALL --check-prefix=AVX1
2 ; RUN: llc < %s -mcpu=x86-64 -mattr=+avx2 -x86-experimental-vector-shuffle-lowering | FileCheck %s --check-prefix=ALL --check-prefix=AVX2
4 target triple = "x86_64-unknown-unknown"
6 define <8 x float> @shuffle_v8f32_00000000(<8 x float> %a, <8 x float> %b) {
7 ; ALL-LABEL: @shuffle_v8f32_00000000
9 ; ALL-NEXT: vpermilps {{.*}} # xmm0 = xmm0[0,0,0,0]
10 ; ALL-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
12 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0>
13 ret <8 x float> %shuffle
16 define <8 x float> @shuffle_v8f32_00000010(<8 x float> %a, <8 x float> %b) {
17 ; ALL-LABEL: @shuffle_v8f32_00000010
19 ; ALL-NEXT: vpermilps {{.*}} # xmm1 = xmm0[0,0,0,0]
20 ; ALL-NEXT: vpermilps {{.*}} # xmm0 = xmm0[0,0,1,0]
21 ; ALL-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
23 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 1, i32 0>
24 ret <8 x float> %shuffle
27 define <8 x float> @shuffle_v8f32_00000200(<8 x float> %a, <8 x float> %b) {
28 ; ALL-LABEL: @shuffle_v8f32_00000200
30 ; ALL-NEXT: vpermilps {{.*}} # xmm1 = xmm0[0,0,0,0]
31 ; ALL-NEXT: vpermilps {{.*}} # xmm0 = xmm0[0,2,0,0]
32 ; ALL-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
34 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 0, i32 0, i32 0, i32 0, i32 2, i32 0, i32 0>
35 ret <8 x float> %shuffle
38 define <8 x float> @shuffle_v8f32_00003000(<8 x float> %a, <8 x float> %b) {
39 ; ALL-LABEL: @shuffle_v8f32_00003000
41 ; ALL-NEXT: vpermilps {{.*}} # xmm1 = xmm0[0,0,0,0]
42 ; ALL-NEXT: vpermilps {{.*}} # xmm0 = xmm0[3,0,0,0]
43 ; ALL-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
45 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 0, i32 0, i32 0, i32 3, i32 0, i32 0, i32 0>
46 ret <8 x float> %shuffle
49 define <8 x float> @shuffle_v8f32_00040000(<8 x float> %a, <8 x float> %b) {
50 ; ALL-LABEL: @shuffle_v8f32_00040000
52 ; ALL-NEXT: vextractf128 $1, %ymm0, %xmm1
53 ; ALL-NEXT: vshufps {{.*}} # xmm1 = xmm1[0,0],xmm0[0,0]
54 ; ALL-NEXT: vshufps {{.*}} # xmm1 = xmm0[0,0],xmm1[2,0]
55 ; ALL-NEXT: vpermilps {{.*}} # xmm0 = xmm0[0,0,0,0]
56 ; ALL-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
58 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 0, i32 0, i32 4, i32 0, i32 0, i32 0, i32 0>
59 ret <8 x float> %shuffle
62 define <8 x float> @shuffle_v8f32_00500000(<8 x float> %a, <8 x float> %b) {
63 ; ALL-LABEL: @shuffle_v8f32_00500000
65 ; ALL-NEXT: vextractf128 $1, %ymm0, %xmm1
66 ; ALL-NEXT: vshufps {{.*}} # xmm1 = xmm1[1,0],xmm0[0,0]
67 ; ALL-NEXT: vshufps {{.*}} # xmm1 = xmm0[0,0],xmm1[0,2]
68 ; ALL-NEXT: vpermilps {{.*}} # xmm0 = xmm0[0,0,0,0]
69 ; ALL-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
71 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 0, i32 5, i32 0, i32 0, i32 0, i32 0, i32 0>
72 ret <8 x float> %shuffle
75 define <8 x float> @shuffle_v8f32_06000000(<8 x float> %a, <8 x float> %b) {
76 ; ALL-LABEL: @shuffle_v8f32_06000000
78 ; ALL-NEXT: vextractf128 $1, %ymm0, %xmm1
79 ; ALL-NEXT: vshufps {{.*}} # xmm1 = xmm1[2,0],xmm0[0,0]
80 ; ALL-NEXT: vshufps {{.*}} # xmm1 = xmm1[2,0],xmm0[0,0]
81 ; ALL-NEXT: vpermilps {{.*}} # xmm0 = xmm0[0,0,0,0]
82 ; ALL-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
84 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 6, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0>
85 ret <8 x float> %shuffle
88 define <8 x float> @shuffle_v8f32_70000000(<8 x float> %a, <8 x float> %b) {
89 ; ALL-LABEL: @shuffle_v8f32_70000000
91 ; ALL-NEXT: vextractf128 $1, %ymm0, %xmm1
92 ; ALL-NEXT: vshufps {{.*}} # xmm1 = xmm1[3,0],xmm0[0,0]
93 ; ALL-NEXT: vshufps {{.*}} # xmm1 = xmm1[0,2],xmm0[0,0]
94 ; ALL-NEXT: vpermilps {{.*}} # xmm0 = xmm0[0,0,0,0]
95 ; ALL-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
97 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 7, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0>
98 ret <8 x float> %shuffle
101 define <8 x float> @shuffle_v8f32_01014545(<8 x float> %a, <8 x float> %b) {
102 ; ALL-LABEL: @shuffle_v8f32_01014545
104 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[0,1,0,1,4,5,4,5]
106 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 1, i32 0, i32 1, i32 4, i32 5, i32 4, i32 5>
107 ret <8 x float> %shuffle
110 define <8 x float> @shuffle_v8f32_00112233(<8 x float> %a, <8 x float> %b) {
111 ; ALL-LABEL: @shuffle_v8f32_00112233
113 ; ALL-NEXT: vunpcklps {{.*}} # xmm1 = xmm0[0,0,1,1]
114 ; ALL-NEXT: vunpckhps {{.*}} # xmm0 = xmm0[2,2,3,3]
115 ; ALL-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
117 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 0, i32 1, i32 1, i32 2, i32 2, i32 3, i32 3>
118 ret <8 x float> %shuffle
121 define <8 x float> @shuffle_v8f32_00001111(<8 x float> %a, <8 x float> %b) {
122 ; ALL-LABEL: @shuffle_v8f32_00001111
124 ; ALL-NEXT: vpermilps {{.*}} # xmm1 = xmm0[0,0,0,0]
125 ; ALL-NEXT: vpermilps {{.*}} # xmm0 = xmm0[1,1,1,1]
126 ; ALL-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
128 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 0, i32 0, i32 0, i32 1, i32 1, i32 1, i32 1>
129 ret <8 x float> %shuffle
132 define <8 x float> @shuffle_v8f32_81a3c5e7(<8 x float> %a, <8 x float> %b) {
133 ; ALL-LABEL: @shuffle_v8f32_81a3c5e7
135 ; ALL-NEXT: vblendps {{.*}} # ymm0 = ymm1[0],ymm0[1],ymm1[2],ymm0[3],ymm1[4],ymm0[5],ymm1[6],ymm0[7]
137 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 8, i32 1, i32 10, i32 3, i32 12, i32 5, i32 14, i32 7>
138 ret <8 x float> %shuffle
141 define <8 x float> @shuffle_v8f32_08080808(<8 x float> %a, <8 x float> %b) {
142 ; ALL-LABEL: @shuffle_v8f32_08080808
144 ; ALL-NEXT: vpermilps {{.*}} # xmm1 = xmm1[0,0,2,0]
145 ; ALL-NEXT: vpermilps {{.*}} # xmm0 = xmm0[0,1,0,3]
146 ; ALL-NEXT: vblendps {{.*}} # xmm0 = xmm0[0],xmm1[1],xmm0[2],xmm1[3]
147 ; ALL-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
149 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 8, i32 0, i32 8, i32 0, i32 8, i32 0, i32 8>
150 ret <8 x float> %shuffle
153 define <8 x float> @shuffle_v8f32_08084c4c(<8 x float> %a, <8 x float> %b) {
154 ; ALL-LABEL: @shuffle_v8f32_08084c4c
156 ; ALL-NEXT: vpermilps {{.*}} # ymm1 = ymm1[0,0,2,0,4,4,6,4]
157 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[0,1,0,3,4,5,4,7]
158 ; ALL-NEXT: vblendps {{.*}} # ymm0 = ymm0[0],ymm1[1],ymm0[2],ymm1[3],ymm0[4],ymm1[5],ymm0[6],ymm1[7]
160 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 8, i32 0, i32 8, i32 4, i32 12, i32 4, i32 12>
161 ret <8 x float> %shuffle
164 define <8 x float> @shuffle_v8f32_8823cc67(<8 x float> %a, <8 x float> %b) {
165 ; ALL-LABEL: @shuffle_v8f32_8823cc67
167 ; ALL-NEXT: vpermilps {{.*}} # ymm1 = ymm1[0,0,2,3,4,4,6,7]
168 ; ALL-NEXT: vblendps {{.*}} # ymm0 = ymm1[0,1],ymm0[2,3],ymm1[4,5],ymm0[6,7]
170 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 8, i32 8, i32 2, i32 3, i32 12, i32 12, i32 6, i32 7>
171 ret <8 x float> %shuffle
174 define <8 x float> @shuffle_v8f32_9832dc76(<8 x float> %a, <8 x float> %b) {
175 ; ALL-LABEL: @shuffle_v8f32_9832dc76
177 ; ALL-NEXT: vpermilps {{.*}} # ymm1 = ymm1[1,0,2,3,5,4,6,7]
178 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[0,1,3,2,4,5,7,6]
179 ; ALL-NEXT: vblendps {{.*}} # ymm0 = ymm1[0,1],ymm0[2,3],ymm1[4,5],ymm0[6,7]
181 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 9, i32 8, i32 3, i32 2, i32 13, i32 12, i32 7, i32 6>
182 ret <8 x float> %shuffle
185 define <8 x float> @shuffle_v8f32_9810dc54(<8 x float> %a, <8 x float> %b) {
186 ; ALL-LABEL: @shuffle_v8f32_9810dc54
188 ; ALL-NEXT: vpermilps {{.*}} # ymm1 = ymm1[1,0,2,3,5,4,6,7]
189 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[0,1,1,0,4,5,5,4]
190 ; ALL-NEXT: vblendps {{.*}} # ymm0 = ymm1[0,1],ymm0[2,3],ymm1[4,5],ymm0[6,7]
192 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 9, i32 8, i32 1, i32 0, i32 13, i32 12, i32 5, i32 4>
193 ret <8 x float> %shuffle
196 define <8 x float> @shuffle_v8f32_08192a3b(<8 x float> %a, <8 x float> %b) {
197 ; ALL-LABEL: @shuffle_v8f32_08192a3b
199 ; ALL-NEXT: vpermilps {{.*}} # xmm2 = xmm1[0,2,2,3]
200 ; ALL-NEXT: vpermilps {{.*}} # xmm3 = xmm0[2,1,3,3]
201 ; ALL-NEXT: vblendps {{.*}} # xmm2 = xmm3[0],xmm2[1],xmm3[2],xmm2[3]
202 ; ALL-NEXT: vpermilps {{.*}} # xmm1 = xmm1[0,0,2,1]
203 ; ALL-NEXT: vpermilps {{.*}} # xmm0 = xmm0[0,1,1,3]
204 ; ALL-NEXT: vblendps {{.*}} # xmm0 = xmm0[0],xmm1[1],xmm0[2],xmm1[3]
205 ; ALL-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm0
207 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 8, i32 1, i32 9, i32 2, i32 10, i32 3, i32 11>
208 ret <8 x float> %shuffle
211 define <8 x float> @shuffle_v8f32_08991abb(<8 x float> %a, <8 x float> %b) {
212 ; ALL-LABEL: @shuffle_v8f32_08991abb
214 ; ALL-NEXT: vpermilps {{.*}} # xmm2 = xmm0[1,1,2,3]
215 ; ALL-NEXT: vpermilps {{.*}} # xmm3 = xmm1[0,2,3,3]
216 ; ALL-NEXT: vblendps {{.*}} # xmm2 = xmm2[0],xmm3[1,2,3]
217 ; ALL-NEXT: vunpcklps {{.*}} # xmm1 = xmm1[0,0,1,1]
218 ; ALL-NEXT: vblendps {{.*}} # xmm0 = xmm0[0],xmm1[1,2,3]
219 ; ALL-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm0
221 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 8, i32 9, i32 9, i32 1, i32 10, i32 11, i32 11>
222 ret <8 x float> %shuffle
225 define <8 x float> @shuffle_v8f32_091b2d3f(<8 x float> %a, <8 x float> %b) {
226 ; ALL-LABEL: @shuffle_v8f32_091b2d3f
228 ; ALL-NEXT: vextractf128 $1, %ymm1, %xmm2
229 ; ALL-NEXT: vpermilps {{.*}} # xmm3 = xmm0[2,1,3,3]
230 ; ALL-NEXT: vblendps {{.*}} # xmm2 = xmm3[0],xmm2[1],xmm3[2],xmm2[3]
231 ; ALL-NEXT: vpermilps {{.*}} # xmm0 = xmm0[0,1,1,3]
232 ; ALL-NEXT: vblendps {{.*}} # xmm0 = xmm0[0],xmm1[1],xmm0[2],xmm1[3]
233 ; ALL-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm0
235 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 9, i32 1, i32 11, i32 2, i32 13, i32 3, i32 15>
236 ret <8 x float> %shuffle
239 define <8 x float> @shuffle_v8f32_09ab1def(<8 x float> %a, <8 x float> %b) {
240 ; ALL-LABEL: @shuffle_v8f32_09ab1def
242 ; ALL-NEXT: vextractf128 $1, %ymm1, %xmm2
243 ; ALL-NEXT: vpermilps {{.*}} # xmm3 = xmm0[1,1,2,3]
244 ; ALL-NEXT: vblendps {{.*}} # xmm2 = xmm3[0],xmm2[1,2,3]
245 ; ALL-NEXT: vblendps {{.*}} # xmm0 = xmm0[0],xmm1[1,2,3]
246 ; ALL-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm0
248 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 9, i32 10, i32 11, i32 1, i32 13, i32 14, i32 15>
249 ret <8 x float> %shuffle
252 define <8 x float> @shuffle_v8f32_00014445(<8 x float> %a, <8 x float> %b) {
253 ; ALL-LABEL: @shuffle_v8f32_00014445
255 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[0,0,0,1,4,4,4,5]
257 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 0, i32 0, i32 1, i32 4, i32 4, i32 4, i32 5>
258 ret <8 x float> %shuffle
261 define <8 x float> @shuffle_v8f32_00204464(<8 x float> %a, <8 x float> %b) {
262 ; ALL-LABEL: @shuffle_v8f32_00204464
264 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[0,0,2,0,4,4,6,4]
266 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 0, i32 2, i32 0, i32 4, i32 4, i32 6, i32 4>
267 ret <8 x float> %shuffle
270 define <8 x float> @shuffle_v8f32_03004744(<8 x float> %a, <8 x float> %b) {
271 ; ALL-LABEL: @shuffle_v8f32_03004744
273 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[0,3,0,0,4,7,4,4]
275 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 3, i32 0, i32 0, i32 4, i32 7, i32 4, i32 4>
276 ret <8 x float> %shuffle
279 define <8 x float> @shuffle_v8f32_10005444(<8 x float> %a, <8 x float> %b) {
280 ; ALL-LABEL: @shuffle_v8f32_10005444
282 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[1,0,0,0,5,4,4,4]
284 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 1, i32 0, i32 0, i32 0, i32 5, i32 4, i32 4, i32 4>
285 ret <8 x float> %shuffle
288 define <8 x float> @shuffle_v8f32_22006644(<8 x float> %a, <8 x float> %b) {
289 ; ALL-LABEL: @shuffle_v8f32_22006644
291 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[2,2,0,0,6,6,4,4]
293 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 2, i32 2, i32 0, i32 0, i32 6, i32 6, i32 4, i32 4>
294 ret <8 x float> %shuffle
297 define <8 x float> @shuffle_v8f32_33307774(<8 x float> %a, <8 x float> %b) {
298 ; ALL-LABEL: @shuffle_v8f32_33307774
300 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[3,3,3,0,7,7,7,4]
302 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 3, i32 3, i32 3, i32 0, i32 7, i32 7, i32 7, i32 4>
303 ret <8 x float> %shuffle
306 define <8 x float> @shuffle_v8f32_32107654(<8 x float> %a, <8 x float> %b) {
307 ; ALL-LABEL: @shuffle_v8f32_32107654
309 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[3,2,1,0,7,6,5,4]
311 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 3, i32 2, i32 1, i32 0, i32 7, i32 6, i32 5, i32 4>
312 ret <8 x float> %shuffle
315 define <8 x float> @shuffle_v8f32_00234467(<8 x float> %a, <8 x float> %b) {
316 ; ALL-LABEL: @shuffle_v8f32_00234467
318 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[0,0,2,3,4,4,6,7]
320 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 0, i32 2, i32 3, i32 4, i32 4, i32 6, i32 7>
321 ret <8 x float> %shuffle
324 define <8 x float> @shuffle_v8f32_00224466(<8 x float> %a, <8 x float> %b) {
325 ; ALL-LABEL: @shuffle_v8f32_00224466
327 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[0,0,2,2,4,4,6,6]
329 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 0, i32 2, i32 2, i32 4, i32 4, i32 6, i32 6>
330 ret <8 x float> %shuffle
333 define <8 x float> @shuffle_v8f32_10325476(<8 x float> %a, <8 x float> %b) {
334 ; ALL-LABEL: @shuffle_v8f32_10325476
336 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[1,0,3,2,5,4,7,6]
338 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 1, i32 0, i32 3, i32 2, i32 5, i32 4, i32 7, i32 6>
339 ret <8 x float> %shuffle
342 define <8 x float> @shuffle_v8f32_11335577(<8 x float> %a, <8 x float> %b) {
343 ; ALL-LABEL: @shuffle_v8f32_11335577
345 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[1,1,3,3,5,5,7,7]
347 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 1, i32 1, i32 3, i32 3, i32 5, i32 5, i32 7, i32 7>
348 ret <8 x float> %shuffle
351 define <8 x float> @shuffle_v8f32_10235467(<8 x float> %a, <8 x float> %b) {
352 ; ALL-LABEL: @shuffle_v8f32_10235467
354 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[1,0,2,3,5,4,6,7]
356 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 1, i32 0, i32 2, i32 3, i32 5, i32 4, i32 6, i32 7>
357 ret <8 x float> %shuffle
360 define <8 x float> @shuffle_v8f32_10225466(<8 x float> %a, <8 x float> %b) {
361 ; ALL-LABEL: @shuffle_v8f32_10225466
363 ; ALL-NEXT: vpermilps {{.*}} # ymm0 = ymm0[1,0,2,2,5,4,6,6]
365 %shuffle = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 1, i32 0, i32 2, i32 2, i32 5, i32 4, i32 6, i32 6>
366 ret <8 x float> %shuffle