1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \
3 ; RUN: -mcpu=pwr8 -ppc-asm-full-reg-names -ppc-vsr-nums-as-vr < %s | \
4 ; RUN: FileCheck %s --check-prefix=CHECK-P8
5 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \
6 ; RUN: -mcpu=pwr9 -ppc-asm-full-reg-names -ppc-vsr-nums-as-vr < %s | \
7 ; RUN: FileCheck %s --check-prefix=CHECK-P9
8 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu \
9 ; RUN: -mcpu=pwr9 -ppc-asm-full-reg-names -ppc-vsr-nums-as-vr < %s | \
10 ; RUN: FileCheck %s --check-prefix=CHECK-BE
12 define <2 x double> @test2elt(<2 x i64> %a) local_unnamed_addr #0 {
13 ; CHECK-P8-LABEL: test2elt:
14 ; CHECK-P8: # %bb.0: # %entry
15 ; CHECK-P8-NEXT: xvcvuxddp v2, v2
18 ; CHECK-P9-LABEL: test2elt:
19 ; CHECK-P9: # %bb.0: # %entry
20 ; CHECK-P9-NEXT: xvcvuxddp v2, v2
23 ; CHECK-BE-LABEL: test2elt:
24 ; CHECK-BE: # %bb.0: # %entry
25 ; CHECK-BE-NEXT: xvcvuxddp v2, v2
28 %0 = uitofp <2 x i64> %a to <2 x double>
32 define void @test4elt(ptr noalias nocapture sret(<4 x double>) %agg.result, ptr nocapture readonly) local_unnamed_addr #1 {
33 ; CHECK-P8-LABEL: test4elt:
34 ; CHECK-P8: # %bb.0: # %entry
35 ; CHECK-P8-NEXT: li r5, 16
36 ; CHECK-P8-NEXT: lxvd2x vs1, 0, r4
37 ; CHECK-P8-NEXT: lxvd2x vs0, r4, r5
38 ; CHECK-P8-NEXT: xvcvuxddp vs1, vs1
39 ; CHECK-P8-NEXT: xvcvuxddp vs0, vs0
40 ; CHECK-P8-NEXT: stxvd2x vs0, r3, r5
41 ; CHECK-P8-NEXT: stxvd2x vs1, 0, r3
44 ; CHECK-P9-LABEL: test4elt:
45 ; CHECK-P9: # %bb.0: # %entry
46 ; CHECK-P9-NEXT: lxv v2, 16(r4)
47 ; CHECK-P9-NEXT: lxv v3, 0(r4)
48 ; CHECK-P9-NEXT: xvcvuxddp vs0, v3
49 ; CHECK-P9-NEXT: xvcvuxddp vs1, v2
50 ; CHECK-P9-NEXT: stxv vs1, 16(r3)
51 ; CHECK-P9-NEXT: stxv vs0, 0(r3)
54 ; CHECK-BE-LABEL: test4elt:
55 ; CHECK-BE: # %bb.0: # %entry
56 ; CHECK-BE-NEXT: lxv v2, 16(r4)
57 ; CHECK-BE-NEXT: lxv v3, 0(r4)
58 ; CHECK-BE-NEXT: xvcvuxddp vs0, v3
59 ; CHECK-BE-NEXT: xvcvuxddp vs1, v2
60 ; CHECK-BE-NEXT: stxv vs1, 16(r3)
61 ; CHECK-BE-NEXT: stxv vs0, 0(r3)
64 %a = load <4 x i64>, ptr %0, align 32
65 %1 = uitofp <4 x i64> %a to <4 x double>
66 store <4 x double> %1, ptr %agg.result, align 32
70 define void @test8elt(ptr noalias nocapture sret(<8 x double>) %agg.result, ptr nocapture readonly) local_unnamed_addr #1 {
71 ; CHECK-P8-LABEL: test8elt:
72 ; CHECK-P8: # %bb.0: # %entry
73 ; CHECK-P8-NEXT: li r5, 48
74 ; CHECK-P8-NEXT: li r6, 32
75 ; CHECK-P8-NEXT: li r7, 16
76 ; CHECK-P8-NEXT: lxvd2x vs3, 0, r4
77 ; CHECK-P8-NEXT: lxvd2x vs0, r4, r5
78 ; CHECK-P8-NEXT: lxvd2x vs1, r4, r6
79 ; CHECK-P8-NEXT: lxvd2x vs2, r4, r7
80 ; CHECK-P8-NEXT: xvcvuxddp vs0, vs0
81 ; CHECK-P8-NEXT: xvcvuxddp vs2, vs2
82 ; CHECK-P8-NEXT: xvcvuxddp vs1, vs1
83 ; CHECK-P8-NEXT: stxvd2x vs0, r3, r5
84 ; CHECK-P8-NEXT: xvcvuxddp vs0, vs3
85 ; CHECK-P8-NEXT: stxvd2x vs1, r3, r6
86 ; CHECK-P8-NEXT: stxvd2x vs2, r3, r7
87 ; CHECK-P8-NEXT: stxvd2x vs0, 0, r3
90 ; CHECK-P9-LABEL: test8elt:
91 ; CHECK-P9: # %bb.0: # %entry
92 ; CHECK-P9-NEXT: lxv v2, 48(r4)
93 ; CHECK-P9-NEXT: lxv v3, 32(r4)
94 ; CHECK-P9-NEXT: lxv v4, 16(r4)
95 ; CHECK-P9-NEXT: lxv v5, 0(r4)
96 ; CHECK-P9-NEXT: xvcvuxddp vs0, v5
97 ; CHECK-P9-NEXT: xvcvuxddp vs1, v4
98 ; CHECK-P9-NEXT: xvcvuxddp vs2, v3
99 ; CHECK-P9-NEXT: xvcvuxddp vs3, v2
100 ; CHECK-P9-NEXT: stxv vs3, 48(r3)
101 ; CHECK-P9-NEXT: stxv vs2, 32(r3)
102 ; CHECK-P9-NEXT: stxv vs1, 16(r3)
103 ; CHECK-P9-NEXT: stxv vs0, 0(r3)
106 ; CHECK-BE-LABEL: test8elt:
107 ; CHECK-BE: # %bb.0: # %entry
108 ; CHECK-BE-NEXT: lxv v2, 48(r4)
109 ; CHECK-BE-NEXT: lxv v3, 32(r4)
110 ; CHECK-BE-NEXT: lxv v4, 16(r4)
111 ; CHECK-BE-NEXT: lxv v5, 0(r4)
112 ; CHECK-BE-NEXT: xvcvuxddp vs0, v5
113 ; CHECK-BE-NEXT: xvcvuxddp vs1, v4
114 ; CHECK-BE-NEXT: xvcvuxddp vs2, v3
115 ; CHECK-BE-NEXT: xvcvuxddp vs3, v2
116 ; CHECK-BE-NEXT: stxv vs3, 48(r3)
117 ; CHECK-BE-NEXT: stxv vs2, 32(r3)
118 ; CHECK-BE-NEXT: stxv vs1, 16(r3)
119 ; CHECK-BE-NEXT: stxv vs0, 0(r3)
122 %a = load <8 x i64>, ptr %0, align 64
123 %1 = uitofp <8 x i64> %a to <8 x double>
124 store <8 x double> %1, ptr %agg.result, align 64
128 define void @test16elt(ptr noalias nocapture sret(<16 x double>) %agg.result, ptr nocapture readonly) local_unnamed_addr #1 {
129 ; CHECK-P8-LABEL: test16elt:
130 ; CHECK-P8: # %bb.0: # %entry
131 ; CHECK-P8-NEXT: li r5, 112
132 ; CHECK-P8-NEXT: li r6, 96
133 ; CHECK-P8-NEXT: li r7, 80
134 ; CHECK-P8-NEXT: li r8, 64
135 ; CHECK-P8-NEXT: li r9, 48
136 ; CHECK-P8-NEXT: li r10, 32
137 ; CHECK-P8-NEXT: li r11, 16
138 ; CHECK-P8-NEXT: lxvd2x vs7, 0, r4
139 ; CHECK-P8-NEXT: lxvd2x vs0, r4, r5
140 ; CHECK-P8-NEXT: lxvd2x vs1, r4, r6
141 ; CHECK-P8-NEXT: lxvd2x vs2, r4, r7
142 ; CHECK-P8-NEXT: lxvd2x vs3, r4, r8
143 ; CHECK-P8-NEXT: lxvd2x vs4, r4, r9
144 ; CHECK-P8-NEXT: lxvd2x vs5, r4, r10
145 ; CHECK-P8-NEXT: lxvd2x vs6, r4, r11
146 ; CHECK-P8-NEXT: xvcvuxddp vs0, vs0
147 ; CHECK-P8-NEXT: xvcvuxddp vs6, vs6
148 ; CHECK-P8-NEXT: xvcvuxddp vs5, vs5
149 ; CHECK-P8-NEXT: xvcvuxddp vs4, vs4
150 ; CHECK-P8-NEXT: xvcvuxddp vs3, vs3
151 ; CHECK-P8-NEXT: xvcvuxddp vs2, vs2
152 ; CHECK-P8-NEXT: xvcvuxddp vs1, vs1
153 ; CHECK-P8-NEXT: stxvd2x vs0, r3, r5
154 ; CHECK-P8-NEXT: xvcvuxddp vs0, vs7
155 ; CHECK-P8-NEXT: stxvd2x vs1, r3, r6
156 ; CHECK-P8-NEXT: stxvd2x vs2, r3, r7
157 ; CHECK-P8-NEXT: stxvd2x vs3, r3, r8
158 ; CHECK-P8-NEXT: stxvd2x vs4, r3, r9
159 ; CHECK-P8-NEXT: stxvd2x vs5, r3, r10
160 ; CHECK-P8-NEXT: stxvd2x vs6, r3, r11
161 ; CHECK-P8-NEXT: stxvd2x vs0, 0, r3
164 ; CHECK-P9-LABEL: test16elt:
165 ; CHECK-P9: # %bb.0: # %entry
166 ; CHECK-P9-NEXT: lxv v2, 112(r4)
167 ; CHECK-P9-NEXT: lxv v3, 96(r4)
168 ; CHECK-P9-NEXT: lxv v4, 80(r4)
169 ; CHECK-P9-NEXT: lxv v5, 64(r4)
170 ; CHECK-P9-NEXT: xvcvuxddp vs4, v5
171 ; CHECK-P9-NEXT: lxv v0, 48(r4)
172 ; CHECK-P9-NEXT: lxv v1, 32(r4)
173 ; CHECK-P9-NEXT: lxv v6, 16(r4)
174 ; CHECK-P9-NEXT: lxv v7, 0(r4)
175 ; CHECK-P9-NEXT: xvcvuxddp vs0, v7
176 ; CHECK-P9-NEXT: xvcvuxddp vs1, v6
177 ; CHECK-P9-NEXT: xvcvuxddp vs2, v1
178 ; CHECK-P9-NEXT: xvcvuxddp vs3, v0
179 ; CHECK-P9-NEXT: xvcvuxddp vs5, v4
180 ; CHECK-P9-NEXT: xvcvuxddp vs6, v3
181 ; CHECK-P9-NEXT: xvcvuxddp vs7, v2
182 ; CHECK-P9-NEXT: stxv vs7, 112(r3)
183 ; CHECK-P9-NEXT: stxv vs6, 96(r3)
184 ; CHECK-P9-NEXT: stxv vs5, 80(r3)
185 ; CHECK-P9-NEXT: stxv vs4, 64(r3)
186 ; CHECK-P9-NEXT: stxv vs3, 48(r3)
187 ; CHECK-P9-NEXT: stxv vs2, 32(r3)
188 ; CHECK-P9-NEXT: stxv vs1, 16(r3)
189 ; CHECK-P9-NEXT: stxv vs0, 0(r3)
192 ; CHECK-BE-LABEL: test16elt:
193 ; CHECK-BE: # %bb.0: # %entry
194 ; CHECK-BE-NEXT: lxv v2, 112(r4)
195 ; CHECK-BE-NEXT: lxv v3, 96(r4)
196 ; CHECK-BE-NEXT: lxv v4, 80(r4)
197 ; CHECK-BE-NEXT: lxv v5, 64(r4)
198 ; CHECK-BE-NEXT: xvcvuxddp vs4, v5
199 ; CHECK-BE-NEXT: lxv v0, 48(r4)
200 ; CHECK-BE-NEXT: lxv v1, 32(r4)
201 ; CHECK-BE-NEXT: lxv v6, 16(r4)
202 ; CHECK-BE-NEXT: lxv v7, 0(r4)
203 ; CHECK-BE-NEXT: xvcvuxddp vs0, v7
204 ; CHECK-BE-NEXT: xvcvuxddp vs1, v6
205 ; CHECK-BE-NEXT: xvcvuxddp vs2, v1
206 ; CHECK-BE-NEXT: xvcvuxddp vs3, v0
207 ; CHECK-BE-NEXT: xvcvuxddp vs5, v4
208 ; CHECK-BE-NEXT: xvcvuxddp vs6, v3
209 ; CHECK-BE-NEXT: xvcvuxddp vs7, v2
210 ; CHECK-BE-NEXT: stxv vs7, 112(r3)
211 ; CHECK-BE-NEXT: stxv vs6, 96(r3)
212 ; CHECK-BE-NEXT: stxv vs5, 80(r3)
213 ; CHECK-BE-NEXT: stxv vs4, 64(r3)
214 ; CHECK-BE-NEXT: stxv vs3, 48(r3)
215 ; CHECK-BE-NEXT: stxv vs2, 32(r3)
216 ; CHECK-BE-NEXT: stxv vs1, 16(r3)
217 ; CHECK-BE-NEXT: stxv vs0, 0(r3)
220 %a = load <16 x i64>, ptr %0, align 128
221 %1 = uitofp <16 x i64> %a to <16 x double>
222 store <16 x double> %1, ptr %agg.result, align 128
226 define <2 x double> @test2elt_signed(<2 x i64> %a) local_unnamed_addr #0 {
227 ; CHECK-P8-LABEL: test2elt_signed:
228 ; CHECK-P8: # %bb.0: # %entry
229 ; CHECK-P8-NEXT: xvcvsxddp v2, v2
232 ; CHECK-P9-LABEL: test2elt_signed:
233 ; CHECK-P9: # %bb.0: # %entry
234 ; CHECK-P9-NEXT: xvcvsxddp v2, v2
237 ; CHECK-BE-LABEL: test2elt_signed:
238 ; CHECK-BE: # %bb.0: # %entry
239 ; CHECK-BE-NEXT: xvcvsxddp v2, v2
242 %0 = sitofp <2 x i64> %a to <2 x double>
246 define void @test4elt_signed(ptr noalias nocapture sret(<4 x double>) %agg.result, ptr nocapture readonly) local_unnamed_addr #1 {
247 ; CHECK-P8-LABEL: test4elt_signed:
248 ; CHECK-P8: # %bb.0: # %entry
249 ; CHECK-P8-NEXT: li r5, 16
250 ; CHECK-P8-NEXT: lxvd2x vs1, 0, r4
251 ; CHECK-P8-NEXT: lxvd2x vs0, r4, r5
252 ; CHECK-P8-NEXT: xvcvsxddp vs1, vs1
253 ; CHECK-P8-NEXT: xvcvsxddp vs0, vs0
254 ; CHECK-P8-NEXT: stxvd2x vs0, r3, r5
255 ; CHECK-P8-NEXT: stxvd2x vs1, 0, r3
258 ; CHECK-P9-LABEL: test4elt_signed:
259 ; CHECK-P9: # %bb.0: # %entry
260 ; CHECK-P9-NEXT: lxv v2, 16(r4)
261 ; CHECK-P9-NEXT: lxv v3, 0(r4)
262 ; CHECK-P9-NEXT: xvcvsxddp vs0, v3
263 ; CHECK-P9-NEXT: xvcvsxddp vs1, v2
264 ; CHECK-P9-NEXT: stxv vs1, 16(r3)
265 ; CHECK-P9-NEXT: stxv vs0, 0(r3)
268 ; CHECK-BE-LABEL: test4elt_signed:
269 ; CHECK-BE: # %bb.0: # %entry
270 ; CHECK-BE-NEXT: lxv v2, 16(r4)
271 ; CHECK-BE-NEXT: lxv v3, 0(r4)
272 ; CHECK-BE-NEXT: xvcvsxddp vs0, v3
273 ; CHECK-BE-NEXT: xvcvsxddp vs1, v2
274 ; CHECK-BE-NEXT: stxv vs1, 16(r3)
275 ; CHECK-BE-NEXT: stxv vs0, 0(r3)
278 %a = load <4 x i64>, ptr %0, align 32
279 %1 = sitofp <4 x i64> %a to <4 x double>
280 store <4 x double> %1, ptr %agg.result, align 32
284 define void @test8elt_signed(ptr noalias nocapture sret(<8 x double>) %agg.result, ptr nocapture readonly) local_unnamed_addr #1 {
285 ; CHECK-P8-LABEL: test8elt_signed:
286 ; CHECK-P8: # %bb.0: # %entry
287 ; CHECK-P8-NEXT: li r5, 48
288 ; CHECK-P8-NEXT: li r6, 32
289 ; CHECK-P8-NEXT: li r7, 16
290 ; CHECK-P8-NEXT: lxvd2x vs3, 0, r4
291 ; CHECK-P8-NEXT: lxvd2x vs0, r4, r5
292 ; CHECK-P8-NEXT: lxvd2x vs1, r4, r6
293 ; CHECK-P8-NEXT: lxvd2x vs2, r4, r7
294 ; CHECK-P8-NEXT: xvcvsxddp vs0, vs0
295 ; CHECK-P8-NEXT: xvcvsxddp vs2, vs2
296 ; CHECK-P8-NEXT: xvcvsxddp vs1, vs1
297 ; CHECK-P8-NEXT: stxvd2x vs0, r3, r5
298 ; CHECK-P8-NEXT: xvcvsxddp vs0, vs3
299 ; CHECK-P8-NEXT: stxvd2x vs1, r3, r6
300 ; CHECK-P8-NEXT: stxvd2x vs2, r3, r7
301 ; CHECK-P8-NEXT: stxvd2x vs0, 0, r3
304 ; CHECK-P9-LABEL: test8elt_signed:
305 ; CHECK-P9: # %bb.0: # %entry
306 ; CHECK-P9-NEXT: lxv v2, 48(r4)
307 ; CHECK-P9-NEXT: lxv v3, 32(r4)
308 ; CHECK-P9-NEXT: lxv v4, 16(r4)
309 ; CHECK-P9-NEXT: lxv v5, 0(r4)
310 ; CHECK-P9-NEXT: xvcvsxddp vs0, v5
311 ; CHECK-P9-NEXT: xvcvsxddp vs1, v4
312 ; CHECK-P9-NEXT: xvcvsxddp vs2, v3
313 ; CHECK-P9-NEXT: xvcvsxddp vs3, v2
314 ; CHECK-P9-NEXT: stxv vs3, 48(r3)
315 ; CHECK-P9-NEXT: stxv vs2, 32(r3)
316 ; CHECK-P9-NEXT: stxv vs1, 16(r3)
317 ; CHECK-P9-NEXT: stxv vs0, 0(r3)
320 ; CHECK-BE-LABEL: test8elt_signed:
321 ; CHECK-BE: # %bb.0: # %entry
322 ; CHECK-BE-NEXT: lxv v2, 48(r4)
323 ; CHECK-BE-NEXT: lxv v3, 32(r4)
324 ; CHECK-BE-NEXT: lxv v4, 16(r4)
325 ; CHECK-BE-NEXT: lxv v5, 0(r4)
326 ; CHECK-BE-NEXT: xvcvsxddp vs0, v5
327 ; CHECK-BE-NEXT: xvcvsxddp vs1, v4
328 ; CHECK-BE-NEXT: xvcvsxddp vs2, v3
329 ; CHECK-BE-NEXT: xvcvsxddp vs3, v2
330 ; CHECK-BE-NEXT: stxv vs3, 48(r3)
331 ; CHECK-BE-NEXT: stxv vs2, 32(r3)
332 ; CHECK-BE-NEXT: stxv vs1, 16(r3)
333 ; CHECK-BE-NEXT: stxv vs0, 0(r3)
336 %a = load <8 x i64>, ptr %0, align 64
337 %1 = sitofp <8 x i64> %a to <8 x double>
338 store <8 x double> %1, ptr %agg.result, align 64
342 define void @test16elt_signed(ptr noalias nocapture sret(<16 x double>) %agg.result, ptr nocapture readonly) local_unnamed_addr #1 {
343 ; CHECK-P8-LABEL: test16elt_signed:
344 ; CHECK-P8: # %bb.0: # %entry
345 ; CHECK-P8-NEXT: li r5, 112
346 ; CHECK-P8-NEXT: li r6, 96
347 ; CHECK-P8-NEXT: li r7, 80
348 ; CHECK-P8-NEXT: li r8, 64
349 ; CHECK-P8-NEXT: li r9, 48
350 ; CHECK-P8-NEXT: li r10, 32
351 ; CHECK-P8-NEXT: li r11, 16
352 ; CHECK-P8-NEXT: lxvd2x vs7, 0, r4
353 ; CHECK-P8-NEXT: lxvd2x vs0, r4, r5
354 ; CHECK-P8-NEXT: lxvd2x vs1, r4, r6
355 ; CHECK-P8-NEXT: lxvd2x vs2, r4, r7
356 ; CHECK-P8-NEXT: lxvd2x vs3, r4, r8
357 ; CHECK-P8-NEXT: lxvd2x vs4, r4, r9
358 ; CHECK-P8-NEXT: lxvd2x vs5, r4, r10
359 ; CHECK-P8-NEXT: lxvd2x vs6, r4, r11
360 ; CHECK-P8-NEXT: xvcvsxddp vs0, vs0
361 ; CHECK-P8-NEXT: xvcvsxddp vs6, vs6
362 ; CHECK-P8-NEXT: xvcvsxddp vs5, vs5
363 ; CHECK-P8-NEXT: xvcvsxddp vs4, vs4
364 ; CHECK-P8-NEXT: xvcvsxddp vs3, vs3
365 ; CHECK-P8-NEXT: xvcvsxddp vs2, vs2
366 ; CHECK-P8-NEXT: xvcvsxddp vs1, vs1
367 ; CHECK-P8-NEXT: stxvd2x vs0, r3, r5
368 ; CHECK-P8-NEXT: xvcvsxddp vs0, vs7
369 ; CHECK-P8-NEXT: stxvd2x vs1, r3, r6
370 ; CHECK-P8-NEXT: stxvd2x vs2, r3, r7
371 ; CHECK-P8-NEXT: stxvd2x vs3, r3, r8
372 ; CHECK-P8-NEXT: stxvd2x vs4, r3, r9
373 ; CHECK-P8-NEXT: stxvd2x vs5, r3, r10
374 ; CHECK-P8-NEXT: stxvd2x vs6, r3, r11
375 ; CHECK-P8-NEXT: stxvd2x vs0, 0, r3
378 ; CHECK-P9-LABEL: test16elt_signed:
379 ; CHECK-P9: # %bb.0: # %entry
380 ; CHECK-P9-NEXT: lxv v2, 112(r4)
381 ; CHECK-P9-NEXT: lxv v3, 96(r4)
382 ; CHECK-P9-NEXT: lxv v4, 80(r4)
383 ; CHECK-P9-NEXT: lxv v5, 64(r4)
384 ; CHECK-P9-NEXT: xvcvsxddp vs4, v5
385 ; CHECK-P9-NEXT: lxv v0, 48(r4)
386 ; CHECK-P9-NEXT: lxv v1, 32(r4)
387 ; CHECK-P9-NEXT: lxv v6, 16(r4)
388 ; CHECK-P9-NEXT: lxv v7, 0(r4)
389 ; CHECK-P9-NEXT: xvcvsxddp vs0, v7
390 ; CHECK-P9-NEXT: xvcvsxddp vs1, v6
391 ; CHECK-P9-NEXT: xvcvsxddp vs2, v1
392 ; CHECK-P9-NEXT: xvcvsxddp vs3, v0
393 ; CHECK-P9-NEXT: xvcvsxddp vs5, v4
394 ; CHECK-P9-NEXT: xvcvsxddp vs6, v3
395 ; CHECK-P9-NEXT: xvcvsxddp vs7, v2
396 ; CHECK-P9-NEXT: stxv vs7, 112(r3)
397 ; CHECK-P9-NEXT: stxv vs6, 96(r3)
398 ; CHECK-P9-NEXT: stxv vs5, 80(r3)
399 ; CHECK-P9-NEXT: stxv vs4, 64(r3)
400 ; CHECK-P9-NEXT: stxv vs3, 48(r3)
401 ; CHECK-P9-NEXT: stxv vs2, 32(r3)
402 ; CHECK-P9-NEXT: stxv vs1, 16(r3)
403 ; CHECK-P9-NEXT: stxv vs0, 0(r3)
406 ; CHECK-BE-LABEL: test16elt_signed:
407 ; CHECK-BE: # %bb.0: # %entry
408 ; CHECK-BE-NEXT: lxv v2, 112(r4)
409 ; CHECK-BE-NEXT: lxv v3, 96(r4)
410 ; CHECK-BE-NEXT: lxv v4, 80(r4)
411 ; CHECK-BE-NEXT: lxv v5, 64(r4)
412 ; CHECK-BE-NEXT: xvcvsxddp vs4, v5
413 ; CHECK-BE-NEXT: lxv v0, 48(r4)
414 ; CHECK-BE-NEXT: lxv v1, 32(r4)
415 ; CHECK-BE-NEXT: lxv v6, 16(r4)
416 ; CHECK-BE-NEXT: lxv v7, 0(r4)
417 ; CHECK-BE-NEXT: xvcvsxddp vs0, v7
418 ; CHECK-BE-NEXT: xvcvsxddp vs1, v6
419 ; CHECK-BE-NEXT: xvcvsxddp vs2, v1
420 ; CHECK-BE-NEXT: xvcvsxddp vs3, v0
421 ; CHECK-BE-NEXT: xvcvsxddp vs5, v4
422 ; CHECK-BE-NEXT: xvcvsxddp vs6, v3
423 ; CHECK-BE-NEXT: xvcvsxddp vs7, v2
424 ; CHECK-BE-NEXT: stxv vs7, 112(r3)
425 ; CHECK-BE-NEXT: stxv vs6, 96(r3)
426 ; CHECK-BE-NEXT: stxv vs5, 80(r3)
427 ; CHECK-BE-NEXT: stxv vs4, 64(r3)
428 ; CHECK-BE-NEXT: stxv vs3, 48(r3)
429 ; CHECK-BE-NEXT: stxv vs2, 32(r3)
430 ; CHECK-BE-NEXT: stxv vs1, 16(r3)
431 ; CHECK-BE-NEXT: stxv vs0, 0(r3)
434 %a = load <16 x i64>, ptr %0, align 128
435 %1 = sitofp <16 x i64> %a to <16 x double>
436 store <16 x double> %1, ptr %agg.result, align 128