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=pwr10 -ppc-asm-full-reg-names \
4 ; RUN: -ppc-vsr-nums-as-vr < %s | FileCheck %s
5 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu \
6 ; RUN: -mcpu=pwr10 -ppc-asm-full-reg-names \
7 ; RUN: -ppc-vsr-nums-as-vr < %s | FileCheck %s --check-prefix=CHECK-BE
9 ; Function Attrs: nofree nounwind writeonly
10 define dso_local void @test50(ptr nocapture readnone %vqp, ptr nocapture readnone %vpp, <16 x i8> %vc, ptr nocapture %resp) {
11 ; CHECK-LABEL: test50:
12 ; CHECK: # %bb.0: # %entry
13 ; CHECK-NEXT: xvbf16ger2 acc0, v2, v2
14 ; CHECK-NEXT: xxmfacc acc0
15 ; CHECK-NEXT: stxv vs0, 48(r7)
16 ; CHECK-NEXT: stxv vs1, 32(r7)
17 ; CHECK-NEXT: stxv vs2, 16(r7)
18 ; CHECK-NEXT: stxv vs3, 0(r7)
21 ; CHECK-BE-LABEL: test50:
22 ; CHECK-BE: # %bb.0: # %entry
23 ; CHECK-BE-NEXT: xvbf16ger2 acc0, v2, v2
24 ; CHECK-BE-NEXT: xxmfacc acc0
25 ; CHECK-BE-NEXT: stxv vs1, 16(r7)
26 ; CHECK-BE-NEXT: stxv vs0, 0(r7)
27 ; CHECK-BE-NEXT: stxv vs3, 48(r7)
28 ; CHECK-BE-NEXT: stxv vs2, 32(r7)
31 %0 = tail call <512 x i1> @llvm.ppc.mma.xvbf16ger2(<16 x i8> %vc, <16 x i8> %vc)
32 store <512 x i1> %0, ptr %resp, align 64
36 ; Function Attrs: nounwind readnone
37 declare <512 x i1> @llvm.ppc.mma.xvbf16ger2(<16 x i8>, <16 x i8>)
39 ; Function Attrs: nofree nounwind writeonly
40 define dso_local void @test51(ptr nocapture readnone %vqp, ptr nocapture readnone %vpp, <16 x i8> %vc, ptr nocapture %resp) {
41 ; CHECK-LABEL: test51:
42 ; CHECK: # %bb.0: # %entry
43 ; CHECK-NEXT: pmxvbf16ger2 acc0, v2, v2, 0, 0, 0
44 ; CHECK-NEXT: xxmfacc acc0
45 ; CHECK-NEXT: stxv vs0, 48(r7)
46 ; CHECK-NEXT: stxv vs1, 32(r7)
47 ; CHECK-NEXT: stxv vs2, 16(r7)
48 ; CHECK-NEXT: stxv vs3, 0(r7)
51 ; CHECK-BE-LABEL: test51:
52 ; CHECK-BE: # %bb.0: # %entry
53 ; CHECK-BE-NEXT: pmxvbf16ger2 acc0, v2, v2, 0, 0, 0
54 ; CHECK-BE-NEXT: xxmfacc acc0
55 ; CHECK-BE-NEXT: stxv vs1, 16(r7)
56 ; CHECK-BE-NEXT: stxv vs0, 0(r7)
57 ; CHECK-BE-NEXT: stxv vs3, 48(r7)
58 ; CHECK-BE-NEXT: stxv vs2, 32(r7)
61 %0 = tail call <512 x i1> @llvm.ppc.mma.pmxvbf16ger2(<16 x i8> %vc, <16 x i8> %vc, i32 0, i32 0, i32 0)
62 store <512 x i1> %0, ptr %resp, align 64
66 ; Function Attrs: nounwind readnone
67 declare <512 x i1> @llvm.ppc.mma.pmxvbf16ger2(<16 x i8>, <16 x i8>, i32, i32, i32)
69 ; Function Attrs: nofree nounwind
70 define dso_local void @test52(ptr nocapture readonly %vqp, ptr nocapture readnone %vpp, <16 x i8> %vc, ptr nocapture %resp) {
71 ; CHECK-LABEL: test52:
72 ; CHECK: # %bb.0: # %entry
73 ; CHECK-NEXT: lxv vs1, 32(r3)
74 ; CHECK-NEXT: lxv vs0, 48(r3)
75 ; CHECK-NEXT: lxv vs3, 0(r3)
76 ; CHECK-NEXT: lxv vs2, 16(r3)
77 ; CHECK-NEXT: xxmtacc acc0
78 ; CHECK-NEXT: xvbf16ger2pp acc0, v2, v2
79 ; CHECK-NEXT: xxmfacc acc0
80 ; CHECK-NEXT: stxv vs0, 48(r7)
81 ; CHECK-NEXT: stxv vs1, 32(r7)
82 ; CHECK-NEXT: stxv vs2, 16(r7)
83 ; CHECK-NEXT: stxv vs3, 0(r7)
86 ; CHECK-BE-LABEL: test52:
87 ; CHECK-BE: # %bb.0: # %entry
88 ; CHECK-BE-NEXT: lxv vs1, 16(r3)
89 ; CHECK-BE-NEXT: lxv vs0, 0(r3)
90 ; CHECK-BE-NEXT: lxv vs3, 48(r3)
91 ; CHECK-BE-NEXT: lxv vs2, 32(r3)
92 ; CHECK-BE-NEXT: xxmtacc acc0
93 ; CHECK-BE-NEXT: xvbf16ger2pp acc0, v2, v2
94 ; CHECK-BE-NEXT: xxmfacc acc0
95 ; CHECK-BE-NEXT: stxv vs1, 16(r7)
96 ; CHECK-BE-NEXT: stxv vs0, 0(r7)
97 ; CHECK-BE-NEXT: stxv vs3, 48(r7)
98 ; CHECK-BE-NEXT: stxv vs2, 32(r7)
101 %0 = load <512 x i1>, ptr %vqp, align 64
102 %1 = tail call <512 x i1> @llvm.ppc.mma.xvbf16ger2pp(<512 x i1> %0, <16 x i8> %vc, <16 x i8> %vc)
103 store <512 x i1> %1, ptr %resp, align 64
107 ; Function Attrs: nounwind readnone
108 declare <512 x i1> @llvm.ppc.mma.xvbf16ger2pp(<512 x i1>, <16 x i8>, <16 x i8>)
110 ; Function Attrs: nofree nounwind
111 define dso_local void @test53(ptr nocapture readonly %vqp, ptr nocapture readnone %vpp, <16 x i8> %vc, ptr nocapture %resp) {
112 ; CHECK-LABEL: test53:
113 ; CHECK: # %bb.0: # %entry
114 ; CHECK-NEXT: lxv vs1, 32(r3)
115 ; CHECK-NEXT: lxv vs0, 48(r3)
116 ; CHECK-NEXT: lxv vs3, 0(r3)
117 ; CHECK-NEXT: lxv vs2, 16(r3)
118 ; CHECK-NEXT: xxmtacc acc0
119 ; CHECK-NEXT: xvbf16ger2pn acc0, v2, v2
120 ; CHECK-NEXT: xxmfacc acc0
121 ; CHECK-NEXT: stxv vs0, 48(r7)
122 ; CHECK-NEXT: stxv vs1, 32(r7)
123 ; CHECK-NEXT: stxv vs2, 16(r7)
124 ; CHECK-NEXT: stxv vs3, 0(r7)
127 ; CHECK-BE-LABEL: test53:
128 ; CHECK-BE: # %bb.0: # %entry
129 ; CHECK-BE-NEXT: lxv vs1, 16(r3)
130 ; CHECK-BE-NEXT: lxv vs0, 0(r3)
131 ; CHECK-BE-NEXT: lxv vs3, 48(r3)
132 ; CHECK-BE-NEXT: lxv vs2, 32(r3)
133 ; CHECK-BE-NEXT: xxmtacc acc0
134 ; CHECK-BE-NEXT: xvbf16ger2pn acc0, v2, v2
135 ; CHECK-BE-NEXT: xxmfacc acc0
136 ; CHECK-BE-NEXT: stxv vs1, 16(r7)
137 ; CHECK-BE-NEXT: stxv vs0, 0(r7)
138 ; CHECK-BE-NEXT: stxv vs3, 48(r7)
139 ; CHECK-BE-NEXT: stxv vs2, 32(r7)
142 %0 = load <512 x i1>, ptr %vqp, align 64
143 %1 = tail call <512 x i1> @llvm.ppc.mma.xvbf16ger2pn(<512 x i1> %0, <16 x i8> %vc, <16 x i8> %vc)
144 store <512 x i1> %1, ptr %resp, align 64
148 ; Function Attrs: nounwind readnone
149 declare <512 x i1> @llvm.ppc.mma.xvbf16ger2pn(<512 x i1>, <16 x i8>, <16 x i8>)
151 ; Function Attrs: nofree nounwind
152 define dso_local void @test54(ptr nocapture readonly %vqp, ptr nocapture readnone %vpp, <16 x i8> %vc, ptr nocapture %resp) {
153 ; CHECK-LABEL: test54:
154 ; CHECK: # %bb.0: # %entry
155 ; CHECK-NEXT: lxv vs1, 32(r3)
156 ; CHECK-NEXT: lxv vs0, 48(r3)
157 ; CHECK-NEXT: lxv vs3, 0(r3)
158 ; CHECK-NEXT: lxv vs2, 16(r3)
159 ; CHECK-NEXT: xxmtacc acc0
160 ; CHECK-NEXT: xvbf16ger2np acc0, v2, v2
161 ; CHECK-NEXT: xxmfacc acc0
162 ; CHECK-NEXT: stxv vs0, 48(r7)
163 ; CHECK-NEXT: stxv vs1, 32(r7)
164 ; CHECK-NEXT: stxv vs2, 16(r7)
165 ; CHECK-NEXT: stxv vs3, 0(r7)
168 ; CHECK-BE-LABEL: test54:
169 ; CHECK-BE: # %bb.0: # %entry
170 ; CHECK-BE-NEXT: lxv vs1, 16(r3)
171 ; CHECK-BE-NEXT: lxv vs0, 0(r3)
172 ; CHECK-BE-NEXT: lxv vs3, 48(r3)
173 ; CHECK-BE-NEXT: lxv vs2, 32(r3)
174 ; CHECK-BE-NEXT: xxmtacc acc0
175 ; CHECK-BE-NEXT: xvbf16ger2np acc0, v2, v2
176 ; CHECK-BE-NEXT: xxmfacc acc0
177 ; CHECK-BE-NEXT: stxv vs1, 16(r7)
178 ; CHECK-BE-NEXT: stxv vs0, 0(r7)
179 ; CHECK-BE-NEXT: stxv vs3, 48(r7)
180 ; CHECK-BE-NEXT: stxv vs2, 32(r7)
183 %0 = load <512 x i1>, ptr %vqp, align 64
184 %1 = tail call <512 x i1> @llvm.ppc.mma.xvbf16ger2np(<512 x i1> %0, <16 x i8> %vc, <16 x i8> %vc)
185 store <512 x i1> %1, ptr %resp, align 64
189 ; Function Attrs: nounwind readnone
190 declare <512 x i1> @llvm.ppc.mma.xvbf16ger2np(<512 x i1>, <16 x i8>, <16 x i8>)
192 ; Function Attrs: nofree nounwind
193 define dso_local void @test55(ptr nocapture readonly %vqp, ptr nocapture readnone %vpp, <16 x i8> %vc, ptr nocapture %resp) {
194 ; CHECK-LABEL: test55:
195 ; CHECK: # %bb.0: # %entry
196 ; CHECK-NEXT: lxv vs1, 32(r3)
197 ; CHECK-NEXT: lxv vs0, 48(r3)
198 ; CHECK-NEXT: lxv vs3, 0(r3)
199 ; CHECK-NEXT: lxv vs2, 16(r3)
200 ; CHECK-NEXT: xxmtacc acc0
201 ; CHECK-NEXT: xvbf16ger2nn acc0, v2, v2
202 ; CHECK-NEXT: xxmfacc acc0
203 ; CHECK-NEXT: stxv vs0, 48(r7)
204 ; CHECK-NEXT: stxv vs1, 32(r7)
205 ; CHECK-NEXT: stxv vs2, 16(r7)
206 ; CHECK-NEXT: stxv vs3, 0(r7)
209 ; CHECK-BE-LABEL: test55:
210 ; CHECK-BE: # %bb.0: # %entry
211 ; CHECK-BE-NEXT: lxv vs1, 16(r3)
212 ; CHECK-BE-NEXT: lxv vs0, 0(r3)
213 ; CHECK-BE-NEXT: lxv vs3, 48(r3)
214 ; CHECK-BE-NEXT: lxv vs2, 32(r3)
215 ; CHECK-BE-NEXT: xxmtacc acc0
216 ; CHECK-BE-NEXT: xvbf16ger2nn acc0, v2, v2
217 ; CHECK-BE-NEXT: xxmfacc acc0
218 ; CHECK-BE-NEXT: stxv vs1, 16(r7)
219 ; CHECK-BE-NEXT: stxv vs0, 0(r7)
220 ; CHECK-BE-NEXT: stxv vs3, 48(r7)
221 ; CHECK-BE-NEXT: stxv vs2, 32(r7)
224 %0 = load <512 x i1>, ptr %vqp, align 64
225 %1 = tail call <512 x i1> @llvm.ppc.mma.xvbf16ger2nn(<512 x i1> %0, <16 x i8> %vc, <16 x i8> %vc)
226 store <512 x i1> %1, ptr %resp, align 64
230 ; Function Attrs: nounwind readnone
231 declare <512 x i1> @llvm.ppc.mma.xvbf16ger2nn(<512 x i1>, <16 x i8>, <16 x i8>)
233 ; Function Attrs: nofree nounwind
234 define dso_local void @test56(ptr nocapture readonly %vqp, ptr nocapture readnone %vpp, <16 x i8> %vc, ptr nocapture %resp) {
235 ; CHECK-LABEL: test56:
236 ; CHECK: # %bb.0: # %entry
237 ; CHECK-NEXT: lxv vs1, 32(r3)
238 ; CHECK-NEXT: lxv vs0, 48(r3)
239 ; CHECK-NEXT: lxv vs3, 0(r3)
240 ; CHECK-NEXT: lxv vs2, 16(r3)
241 ; CHECK-NEXT: xxmtacc acc0
242 ; CHECK-NEXT: pmxvbf16ger2pp acc0, v2, v2, 0, 0, 0
243 ; CHECK-NEXT: xxmfacc acc0
244 ; CHECK-NEXT: stxv vs0, 48(r7)
245 ; CHECK-NEXT: stxv vs1, 32(r7)
246 ; CHECK-NEXT: stxv vs2, 16(r7)
247 ; CHECK-NEXT: stxv vs3, 0(r7)
250 ; CHECK-BE-LABEL: test56:
251 ; CHECK-BE: # %bb.0: # %entry
252 ; CHECK-BE-NEXT: lxv vs1, 16(r3)
253 ; CHECK-BE-NEXT: lxv vs0, 0(r3)
254 ; CHECK-BE-NEXT: lxv vs3, 48(r3)
255 ; CHECK-BE-NEXT: lxv vs2, 32(r3)
256 ; CHECK-BE-NEXT: xxmtacc acc0
257 ; CHECK-BE-NEXT: pmxvbf16ger2pp acc0, v2, v2, 0, 0, 0
258 ; CHECK-BE-NEXT: xxmfacc acc0
259 ; CHECK-BE-NEXT: stxv vs1, 16(r7)
260 ; CHECK-BE-NEXT: stxv vs0, 0(r7)
261 ; CHECK-BE-NEXT: stxv vs3, 48(r7)
262 ; CHECK-BE-NEXT: stxv vs2, 32(r7)
265 %0 = load <512 x i1>, ptr %vqp, align 64
266 %1 = tail call <512 x i1> @llvm.ppc.mma.pmxvbf16ger2pp(<512 x i1> %0, <16 x i8> %vc, <16 x i8> %vc, i32 0, i32 0, i32 0)
267 store <512 x i1> %1, ptr %resp, align 64
271 ; Function Attrs: nounwind readnone
272 declare <512 x i1> @llvm.ppc.mma.pmxvbf16ger2pp(<512 x i1>, <16 x i8>, <16 x i8>, i32, i32, i32)
274 ; Function Attrs: nofree nounwind
275 define dso_local void @test57(ptr nocapture readonly %vqp, ptr nocapture readnone %vpp, <16 x i8> %vc, ptr nocapture %resp) {
276 ; CHECK-LABEL: test57:
277 ; CHECK: # %bb.0: # %entry
278 ; CHECK-NEXT: lxv vs1, 32(r3)
279 ; CHECK-NEXT: lxv vs0, 48(r3)
280 ; CHECK-NEXT: lxv vs3, 0(r3)
281 ; CHECK-NEXT: lxv vs2, 16(r3)
282 ; CHECK-NEXT: xxmtacc acc0
283 ; CHECK-NEXT: pmxvbf16ger2pn acc0, v2, v2, 0, 0, 0
284 ; CHECK-NEXT: xxmfacc acc0
285 ; CHECK-NEXT: stxv vs0, 48(r7)
286 ; CHECK-NEXT: stxv vs1, 32(r7)
287 ; CHECK-NEXT: stxv vs2, 16(r7)
288 ; CHECK-NEXT: stxv vs3, 0(r7)
291 ; CHECK-BE-LABEL: test57:
292 ; CHECK-BE: # %bb.0: # %entry
293 ; CHECK-BE-NEXT: lxv vs1, 16(r3)
294 ; CHECK-BE-NEXT: lxv vs0, 0(r3)
295 ; CHECK-BE-NEXT: lxv vs3, 48(r3)
296 ; CHECK-BE-NEXT: lxv vs2, 32(r3)
297 ; CHECK-BE-NEXT: xxmtacc acc0
298 ; CHECK-BE-NEXT: pmxvbf16ger2pn acc0, v2, v2, 0, 0, 0
299 ; CHECK-BE-NEXT: xxmfacc acc0
300 ; CHECK-BE-NEXT: stxv vs1, 16(r7)
301 ; CHECK-BE-NEXT: stxv vs0, 0(r7)
302 ; CHECK-BE-NEXT: stxv vs3, 48(r7)
303 ; CHECK-BE-NEXT: stxv vs2, 32(r7)
306 %0 = load <512 x i1>, ptr %vqp, align 64
307 %1 = tail call <512 x i1> @llvm.ppc.mma.pmxvbf16ger2pn(<512 x i1> %0, <16 x i8> %vc, <16 x i8> %vc, i32 0, i32 0, i32 0)
308 store <512 x i1> %1, ptr %resp, align 64
312 ; Function Attrs: nounwind readnone
313 declare <512 x i1> @llvm.ppc.mma.pmxvbf16ger2pn(<512 x i1>, <16 x i8>, <16 x i8>, i32, i32, i32)
315 ; Function Attrs: nofree nounwind
316 define dso_local void @test58(ptr nocapture readonly %vqp, ptr nocapture readnone %vpp, <16 x i8> %vc, ptr nocapture %resp) {
317 ; CHECK-LABEL: test58:
318 ; CHECK: # %bb.0: # %entry
319 ; CHECK-NEXT: lxv vs1, 32(r3)
320 ; CHECK-NEXT: lxv vs0, 48(r3)
321 ; CHECK-NEXT: lxv vs3, 0(r3)
322 ; CHECK-NEXT: lxv vs2, 16(r3)
323 ; CHECK-NEXT: xxmtacc acc0
324 ; CHECK-NEXT: pmxvbf16ger2np acc0, v2, v2, 0, 0, 0
325 ; CHECK-NEXT: xxmfacc acc0
326 ; CHECK-NEXT: stxv vs0, 48(r7)
327 ; CHECK-NEXT: stxv vs1, 32(r7)
328 ; CHECK-NEXT: stxv vs2, 16(r7)
329 ; CHECK-NEXT: stxv vs3, 0(r7)
332 ; CHECK-BE-LABEL: test58:
333 ; CHECK-BE: # %bb.0: # %entry
334 ; CHECK-BE-NEXT: lxv vs1, 16(r3)
335 ; CHECK-BE-NEXT: lxv vs0, 0(r3)
336 ; CHECK-BE-NEXT: lxv vs3, 48(r3)
337 ; CHECK-BE-NEXT: lxv vs2, 32(r3)
338 ; CHECK-BE-NEXT: xxmtacc acc0
339 ; CHECK-BE-NEXT: pmxvbf16ger2np acc0, v2, v2, 0, 0, 0
340 ; CHECK-BE-NEXT: xxmfacc acc0
341 ; CHECK-BE-NEXT: stxv vs1, 16(r7)
342 ; CHECK-BE-NEXT: stxv vs0, 0(r7)
343 ; CHECK-BE-NEXT: stxv vs3, 48(r7)
344 ; CHECK-BE-NEXT: stxv vs2, 32(r7)
347 %0 = load <512 x i1>, ptr %vqp, align 64
348 %1 = tail call <512 x i1> @llvm.ppc.mma.pmxvbf16ger2np(<512 x i1> %0, <16 x i8> %vc, <16 x i8> %vc, i32 0, i32 0, i32 0)
349 store <512 x i1> %1, ptr %resp, align 64
353 ; Function Attrs: nounwind readnone
354 declare <512 x i1> @llvm.ppc.mma.pmxvbf16ger2np(<512 x i1>, <16 x i8>, <16 x i8>, i32, i32, i32)
356 ; Function Attrs: nofree nounwind
357 define dso_local void @test59(ptr nocapture readonly %vqp, ptr nocapture readnone %vpp, <16 x i8> %vc, ptr nocapture %resp) {
358 ; CHECK-LABEL: test59:
359 ; CHECK: # %bb.0: # %entry
360 ; CHECK-NEXT: lxv vs1, 32(r3)
361 ; CHECK-NEXT: lxv vs0, 48(r3)
362 ; CHECK-NEXT: lxv vs3, 0(r3)
363 ; CHECK-NEXT: lxv vs2, 16(r3)
364 ; CHECK-NEXT: xxmtacc acc0
365 ; CHECK-NEXT: pmxvbf16ger2nn acc0, v2, v2, 0, 0, 0
366 ; CHECK-NEXT: xxmfacc acc0
367 ; CHECK-NEXT: stxv vs0, 48(r7)
368 ; CHECK-NEXT: stxv vs1, 32(r7)
369 ; CHECK-NEXT: stxv vs2, 16(r7)
370 ; CHECK-NEXT: stxv vs3, 0(r7)
373 ; CHECK-BE-LABEL: test59:
374 ; CHECK-BE: # %bb.0: # %entry
375 ; CHECK-BE-NEXT: lxv vs1, 16(r3)
376 ; CHECK-BE-NEXT: lxv vs0, 0(r3)
377 ; CHECK-BE-NEXT: lxv vs3, 48(r3)
378 ; CHECK-BE-NEXT: lxv vs2, 32(r3)
379 ; CHECK-BE-NEXT: xxmtacc acc0
380 ; CHECK-BE-NEXT: pmxvbf16ger2nn acc0, v2, v2, 0, 0, 0
381 ; CHECK-BE-NEXT: xxmfacc acc0
382 ; CHECK-BE-NEXT: stxv vs1, 16(r7)
383 ; CHECK-BE-NEXT: stxv vs0, 0(r7)
384 ; CHECK-BE-NEXT: stxv vs3, 48(r7)
385 ; CHECK-BE-NEXT: stxv vs2, 32(r7)
388 %0 = load <512 x i1>, ptr %vqp, align 64
389 %1 = tail call <512 x i1> @llvm.ppc.mma.pmxvbf16ger2nn(<512 x i1> %0, <16 x i8> %vc, <16 x i8> %vc, i32 0, i32 0, i32 0)
390 store <512 x i1> %1, ptr %resp, align 64
394 ; Function Attrs: nounwind readnone
395 declare <512 x i1> @llvm.ppc.mma.pmxvbf16ger2nn(<512 x i1>, <16 x i8>, <16 x i8>, i32, i32, i32)
397 ; Function Attrs: nofree nounwind writeonly
398 define dso_local void @test60(ptr nocapture readnone %vqp, ptr nocapture readnone %vpp, <16 x i8> %vc, ptr nocapture %resp) {
399 ; CHECK-LABEL: test60:
400 ; CHECK: # %bb.0: # %entry
401 ; CHECK-NEXT: xvcvspbf16 vs0, v2
402 ; CHECK-NEXT: stxv vs0, 0(r7)
405 ; CHECK-BE-LABEL: test60:
406 ; CHECK-BE: # %bb.0: # %entry
407 ; CHECK-BE-NEXT: xvcvspbf16 vs0, v2
408 ; CHECK-BE-NEXT: stxv vs0, 0(r7)
411 %0 = tail call <16 x i8> @llvm.ppc.vsx.xvcvspbf16(<16 x i8> %vc)
412 store <16 x i8> %0, ptr %resp, align 16
416 ; Function Attrs: nounwind readnone
417 declare <16 x i8> @llvm.ppc.vsx.xvcvspbf16(<16 x i8>)
419 ; Function Attrs: nofree nounwind writeonly
420 define dso_local void @test61(ptr nocapture readnone %vqp, ptr nocapture readnone %vpp, <16 x i8> %vc, ptr nocapture %resp) {
421 ; CHECK-LABEL: test61:
422 ; CHECK: # %bb.0: # %entry
423 ; CHECK-NEXT: xvcvbf16spn vs0, v2
424 ; CHECK-NEXT: stxv vs0, 0(r7)
427 ; CHECK-BE-LABEL: test61:
428 ; CHECK-BE: # %bb.0: # %entry
429 ; CHECK-BE-NEXT: xvcvbf16spn vs0, v2
430 ; CHECK-BE-NEXT: stxv vs0, 0(r7)
433 %0 = tail call <16 x i8> @llvm.ppc.vsx.xvcvbf16spn(<16 x i8> %vc)
434 store <16 x i8> %0, ptr %resp, align 16
438 ; Function Attrs: nounwind readnone
439 declare <16 x i8> @llvm.ppc.vsx.xvcvbf16spn(<16 x i8>)