• Home
  • Raw
  • Download

Lines Matching refs:P9

6 ; RUN:   -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s --check-prefix=CHECK-P9
12 ; RUN: -mtriple=powerpc64-unknown-linux-gnu < %s | FileCheck %s --check-prefix=CHECK-P9-BE
20 ; CHECK-P9-LABEL: load_swap00:
21 ; CHECK-P9: # %bb.0:
22 ; CHECK-P9-NEXT: lxvd2x v2, 0, r3
23 ; CHECK-P9-NEXT: blr
31 ; CHECK-P9-BE-LABEL: load_swap00:
32 ; CHECK-P9-BE: # %bb.0:
33 ; CHECK-P9-BE-NEXT: lxv v2, 0(r3)
34 ; CHECK-P9-BE-NEXT: xxswapd v2, v2
35 ; CHECK-P9-BE-NEXT: blr
48 ; CHECK-P9-LABEL: load_swap01:
49 ; CHECK-P9: # %bb.0:
50 ; CHECK-P9-NEXT: lxvd2x v2, 0, r4
51 ; CHECK-P9-NEXT: blr
59 ; CHECK-P9-BE-LABEL: load_swap01:
60 ; CHECK-P9-BE: # %bb.0:
61 ; CHECK-P9-BE-NEXT: lxv v2, 0(r4)
62 ; CHECK-P9-BE-NEXT: xxswapd v2, v2
63 ; CHECK-P9-BE-NEXT: blr
80 ; CHECK-P9-LABEL: load_swap10:
81 ; CHECK-P9: # %bb.0:
82 ; CHECK-P9-NEXT: lxvw4x v2, 0, r3
83 ; CHECK-P9-NEXT: blr
94 ; CHECK-P9-BE-LABEL: load_swap10:
95 ; CHECK-P9-BE: # %bb.0:
96 ; CHECK-P9-BE-NEXT: lxv v2, 0(r3)
97 ; CHECK-P9-BE-NEXT: addis r3, r2, .LCPI2_0@toc@ha
98 ; CHECK-P9-BE-NEXT: addi r3, r3, .LCPI2_0@toc@l
99 ; CHECK-P9-BE-NEXT: lxvx v3, 0, r3
100 ; CHECK-P9-BE-NEXT: vperm v2, v2, v2, v3
101 ; CHECK-P9-BE-NEXT: blr
118 ; CHECK-P9-LABEL: load_swap11:
119 ; CHECK-P9: # %bb.0:
120 ; CHECK-P9-NEXT: lxvw4x v2, 0, r4
121 ; CHECK-P9-NEXT: blr
132 ; CHECK-P9-BE-LABEL: load_swap11:
133 ; CHECK-P9-BE: # %bb.0:
134 ; CHECK-P9-BE-NEXT: addis r3, r2, .LCPI3_0@toc@ha
135 ; CHECK-P9-BE-NEXT: lxv v2, 0(r4)
136 ; CHECK-P9-BE-NEXT: addi r3, r3, .LCPI3_0@toc@l
137 ; CHECK-P9-BE-NEXT: lxvx v3, 0, r3
138 ; CHECK-P9-BE-NEXT: vperm v2, v2, v2, v3
139 ; CHECK-P9-BE-NEXT: blr
156 ; CHECK-P9-LABEL: load_swap20:
157 ; CHECK-P9: # %bb.0:
158 ; CHECK-P9-NEXT: lxvh8x v2, 0, r3
159 ; CHECK-P9-NEXT: blr
170 ; CHECK-P9-BE-LABEL: load_swap20:
171 ; CHECK-P9-BE: # %bb.0:
172 ; CHECK-P9-BE-NEXT: lxv v2, 0(r3)
173 ; CHECK-P9-BE-NEXT: addis r3, r2, .LCPI4_0@toc@ha
174 ; CHECK-P9-BE-NEXT: addi r3, r3, .LCPI4_0@toc@l
175 ; CHECK-P9-BE-NEXT: lxvx v3, 0, r3
176 ; CHECK-P9-BE-NEXT: vperm v2, v2, v2, v3
177 ; CHECK-P9-BE-NEXT: blr
194 ; CHECK-P9-LABEL: load_swap21:
195 ; CHECK-P9: # %bb.0:
196 ; CHECK-P9-NEXT: lxvh8x v2, 0, r4
197 ; CHECK-P9-NEXT: blr
208 ; CHECK-P9-BE-LABEL: load_swap21:
209 ; CHECK-P9-BE: # %bb.0:
210 ; CHECK-P9-BE-NEXT: addis r3, r2, .LCPI5_0@toc@ha
211 ; CHECK-P9-BE-NEXT: lxv v2, 0(r4)
212 ; CHECK-P9-BE-NEXT: addi r3, r3, .LCPI5_0@toc@l
213 ; CHECK-P9-BE-NEXT: lxvx v3, 0, r3
214 ; CHECK-P9-BE-NEXT: vperm v2, v2, v2, v3
215 ; CHECK-P9-BE-NEXT: blr
232 ; CHECK-P9-LABEL: load_swap30:
233 ; CHECK-P9: # %bb.0:
234 ; CHECK-P9-NEXT: lxvb16x v2, 0, r3
235 ; CHECK-P9-NEXT: blr
246 ; CHECK-P9-BE-LABEL: load_swap30:
247 ; CHECK-P9-BE: # %bb.0:
248 ; CHECK-P9-BE-NEXT: lxv vs0, 0(r3)
249 ; CHECK-P9-BE-NEXT: xxbrq v2, vs0
250 ; CHECK-P9-BE-NEXT: blr
267 ; CHECK-P9-LABEL: load_swap31:
268 ; CHECK-P9: # %bb.0:
269 ; CHECK-P9-NEXT: lxvb16x v2, 0, r4
270 ; CHECK-P9-NEXT: blr
281 ; CHECK-P9-BE-LABEL: load_swap31:
282 ; CHECK-P9-BE: # %bb.0:
283 ; CHECK-P9-BE-NEXT: lxv vs0, 0(r4)
284 ; CHECK-P9-BE-NEXT: xxbrq v2, vs0
285 ; CHECK-P9-BE-NEXT: blr
298 ; CHECK-P9-LABEL: load_swap40:
299 ; CHECK-P9: # %bb.0:
300 ; CHECK-P9-NEXT: lxvd2x v2, 0, r4
301 ; CHECK-P9-NEXT: blr
309 ; CHECK-P9-BE-LABEL: load_swap40:
310 ; CHECK-P9-BE: # %bb.0:
311 ; CHECK-P9-BE-NEXT: lxv vs0, 0(r4)
312 ; CHECK-P9-BE-NEXT: xxswapd v2, vs0
313 ; CHECK-P9-BE-NEXT: blr
330 ; CHECK-P9-LABEL: load_swap50:
331 ; CHECK-P9: # %bb.0:
332 ; CHECK-P9-NEXT: lxvw4x v2, 0, r3
333 ; CHECK-P9-NEXT: blr
344 ; CHECK-P9-BE-LABEL: load_swap50:
345 ; CHECK-P9-BE: # %bb.0:
346 ; CHECK-P9-BE-NEXT: lxv v2, 0(r3)
347 ; CHECK-P9-BE-NEXT: addis r3, r2, .LCPI9_0@toc@ha
348 ; CHECK-P9-BE-NEXT: addi r3, r3, .LCPI9_0@toc@l
349 ; CHECK-P9-BE-NEXT: lxvx v3, 0, r3
350 ; CHECK-P9-BE-NEXT: vperm v2, v2, v2, v3
351 ; CHECK-P9-BE-NEXT: blr
368 ; CHECK-P9-LABEL: load_swap51:
369 ; CHECK-P9: # %bb.0:
370 ; CHECK-P9-NEXT: lxvw4x v2, 0, r4
371 ; CHECK-P9-NEXT: blr
382 ; CHECK-P9-BE-LABEL: load_swap51:
383 ; CHECK-P9-BE: # %bb.0:
384 ; CHECK-P9-BE-NEXT: addis r3, r2, .LCPI10_0@toc@ha
385 ; CHECK-P9-BE-NEXT: lxv v2, 0(r4)
386 ; CHECK-P9-BE-NEXT: addi r3, r3, .LCPI10_0@toc@l
387 ; CHECK-P9-BE-NEXT: lxvx v3, 0, r3
388 ; CHECK-P9-BE-NEXT: vperm v2, v2, v2, v3
389 ; CHECK-P9-BE-NEXT: blr
402 ; CHECK-P9-LABEL: swap_store00:
403 ; CHECK-P9: # %bb.0:
404 ; CHECK-P9-NEXT: stxvd2x v2, 0, r7
405 ; CHECK-P9-NEXT: blr
413 ; CHECK-P9-BE-LABEL: swap_store00:
414 ; CHECK-P9-BE: # %bb.0:
415 ; CHECK-P9-BE-NEXT: xxswapd vs0, v2
416 ; CHECK-P9-BE-NEXT: stxv vs0, 0(r7)
417 ; CHECK-P9-BE-NEXT: blr
429 ; CHECK-P9-LABEL: swap_store01:
430 ; CHECK-P9: # %bb.0:
431 ; CHECK-P9-NEXT: stxvd2x v3, 0, r7
432 ; CHECK-P9-NEXT: blr
440 ; CHECK-P9-BE-LABEL: swap_store01:
441 ; CHECK-P9-BE: # %bb.0:
442 ; CHECK-P9-BE-NEXT: xxswapd vs0, v3
443 ; CHECK-P9-BE-NEXT: stxv vs0, 0(r7)
444 ; CHECK-P9-BE-NEXT: blr
460 ; CHECK-P9-LABEL: swap_store10:
461 ; CHECK-P9: # %bb.0:
462 ; CHECK-P9-NEXT: stxvw4x v2, 0, r7
463 ; CHECK-P9-NEXT: blr
474 ; CHECK-P9-BE-LABEL: swap_store10:
475 ; CHECK-P9-BE: # %bb.0:
476 ; CHECK-P9-BE-NEXT: addis r3, r2, .LCPI13_0@toc@ha
477 ; CHECK-P9-BE-NEXT: addi r3, r3, .LCPI13_0@toc@l
478 ; CHECK-P9-BE-NEXT: lxvx v3, 0, r3
479 ; CHECK-P9-BE-NEXT: vperm v2, v2, v2, v3
480 ; CHECK-P9-BE-NEXT: stxv v2, 0(r7)
481 ; CHECK-P9-BE-NEXT: blr
497 ; CHECK-P9-LABEL: swap_store11:
498 ; CHECK-P9: # %bb.0:
499 ; CHECK-P9-NEXT: stxvw4x v3, 0, r7
500 ; CHECK-P9-NEXT: blr
511 ; CHECK-P9-BE-LABEL: swap_store11:
512 ; CHECK-P9-BE: # %bb.0:
513 ; CHECK-P9-BE-NEXT: addis r3, r2, .LCPI14_0@toc@ha
514 ; CHECK-P9-BE-NEXT: addi r3, r3, .LCPI14_0@toc@l
515 ; CHECK-P9-BE-NEXT: lxvx v2, 0, r3
516 ; CHECK-P9-BE-NEXT: vperm v2, v3, v3, v2
517 ; CHECK-P9-BE-NEXT: stxv v2, 0(r7)
518 ; CHECK-P9-BE-NEXT: blr
534 ; CHECK-P9-LABEL: swap_store20:
535 ; CHECK-P9: # %bb.0:
536 ; CHECK-P9-NEXT: stxvh8x v2, 0, r7
537 ; CHECK-P9-NEXT: blr
548 ; CHECK-P9-BE-LABEL: swap_store20:
549 ; CHECK-P9-BE: # %bb.0:
550 ; CHECK-P9-BE-NEXT: addis r3, r2, .LCPI15_0@toc@ha
551 ; CHECK-P9-BE-NEXT: addi r3, r3, .LCPI15_0@toc@l
552 ; CHECK-P9-BE-NEXT: lxvx v3, 0, r3
553 ; CHECK-P9-BE-NEXT: vperm v2, v2, v2, v3
554 ; CHECK-P9-BE-NEXT: stxv v2, 0(r7)
555 ; CHECK-P9-BE-NEXT: blr
571 ; CHECK-P9-LABEL: swap_store21:
572 ; CHECK-P9: # %bb.0:
573 ; CHECK-P9-NEXT: stxvh8x v3, 0, r7
574 ; CHECK-P9-NEXT: blr
585 ; CHECK-P9-BE-LABEL: swap_store21:
586 ; CHECK-P9-BE: # %bb.0:
587 ; CHECK-P9-BE-NEXT: addis r3, r2, .LCPI16_0@toc@ha
588 ; CHECK-P9-BE-NEXT: addi r3, r3, .LCPI16_0@toc@l
589 ; CHECK-P9-BE-NEXT: lxvx v2, 0, r3
590 ; CHECK-P9-BE-NEXT: vperm v2, v3, v3, v2
591 ; CHECK-P9-BE-NEXT: stxv v2, 0(r7)
592 ; CHECK-P9-BE-NEXT: blr
608 ; CHECK-P9-LABEL: swap_store30:
609 ; CHECK-P9: # %bb.0:
610 ; CHECK-P9-NEXT: stxvb16x v2, 0, r7
611 ; CHECK-P9-NEXT: blr
622 ; CHECK-P9-BE-LABEL: swap_store30:
623 ; CHECK-P9-BE: # %bb.0:
624 ; CHECK-P9-BE-NEXT: xxbrq vs0, v2
625 ; CHECK-P9-BE-NEXT: stxv vs0, 0(r7)
626 ; CHECK-P9-BE-NEXT: blr
642 ; CHECK-P9-LABEL: swap_store31:
643 ; CHECK-P9: # %bb.0:
644 ; CHECK-P9-NEXT: stxvb16x v3, 0, r7
645 ; CHECK-P9-NEXT: blr
656 ; CHECK-P9-BE-LABEL: swap_store31:
657 ; CHECK-P9-BE: # %bb.0:
658 ; CHECK-P9-BE-NEXT: xxbrq vs0, v3
659 ; CHECK-P9-BE-NEXT: stxv vs0, 0(r7)
660 ; CHECK-P9-BE-NEXT: blr
672 ; CHECK-P9-LABEL: swap_store40:
673 ; CHECK-P9: # %bb.0:
674 ; CHECK-P9-NEXT: stxvd2x v2, 0, r7
675 ; CHECK-P9-NEXT: blr
683 ; CHECK-P9-BE-LABEL: swap_store40:
684 ; CHECK-P9-BE: # %bb.0:
685 ; CHECK-P9-BE-NEXT: xxswapd vs0, v2
686 ; CHECK-P9-BE-NEXT: stxv vs0, 0(r7)
687 ; CHECK-P9-BE-NEXT: blr
699 ; CHECK-P9-LABEL: swap_store41:
700 ; CHECK-P9: # %bb.0:
701 ; CHECK-P9-NEXT: stxvd2x v3, 0, r7
702 ; CHECK-P9-NEXT: blr
710 ; CHECK-P9-BE-LABEL: swap_store41:
711 ; CHECK-P9-BE: # %bb.0:
712 ; CHECK-P9-BE-NEXT: xxswapd vs0, v3
713 ; CHECK-P9-BE-NEXT: stxv vs0, 0(r7)
714 ; CHECK-P9-BE-NEXT: blr
730 ; CHECK-P9-LABEL: swap_store50:
731 ; CHECK-P9: # %bb.0:
732 ; CHECK-P9-NEXT: stxvw4x v2, 0, r7
733 ; CHECK-P9-NEXT: blr
744 ; CHECK-P9-BE-LABEL: swap_store50:
745 ; CHECK-P9-BE: # %bb.0:
746 ; CHECK-P9-BE-NEXT: addis r3, r2, .LCPI21_0@toc@ha
747 ; CHECK-P9-BE-NEXT: addi r3, r3, .LCPI21_0@toc@l
748 ; CHECK-P9-BE-NEXT: lxvx v3, 0, r3
749 ; CHECK-P9-BE-NEXT: vperm v2, v2, v2, v3
750 ; CHECK-P9-BE-NEXT: stxv v2, 0(r7)
751 ; CHECK-P9-BE-NEXT: blr
767 ; CHECK-P9-LABEL: swap_store51:
768 ; CHECK-P9: # %bb.0:
769 ; CHECK-P9-NEXT: stxvw4x v3, 0, r7
770 ; CHECK-P9-NEXT: blr
781 ; CHECK-P9-BE-LABEL: swap_store51:
782 ; CHECK-P9-BE: # %bb.0:
783 ; CHECK-P9-BE-NEXT: addis r3, r2, .LCPI22_0@toc@ha
784 ; CHECK-P9-BE-NEXT: addi r3, r3, .LCPI22_0@toc@l
785 ; CHECK-P9-BE-NEXT: lxvx v2, 0, r3
786 ; CHECK-P9-BE-NEXT: vperm v2, v3, v3, v2
787 ; CHECK-P9-BE-NEXT: stxv v2, 0(r7)
788 ; CHECK-P9-BE-NEXT: blr