• Home
  • Raw
  • Download

Lines Matching refs:AVX

3 ; RUN: llc -mcpu=x86-64 -mattr=+avx < %s | FileCheck --check-prefix=AVX %s
17 ; AVX-LABEL: test_add_ss:
18 ; AVX: # BB#0:
19 ; AVX-NEXT: vaddss %xmm1, %xmm0, %xmm0
20 ; AVX-NEXT: retq
34 ; AVX-LABEL: test_sub_ss:
35 ; AVX: # BB#0:
36 ; AVX-NEXT: vsubss %xmm1, %xmm0, %xmm0
37 ; AVX-NEXT: retq
51 ; AVX-LABEL: test_mul_ss:
52 ; AVX: # BB#0:
53 ; AVX-NEXT: vmulss %xmm1, %xmm0, %xmm0
54 ; AVX-NEXT: retq
68 ; AVX-LABEL: test_div_ss:
69 ; AVX: # BB#0:
70 ; AVX-NEXT: vdivss %xmm1, %xmm0, %xmm0
71 ; AVX-NEXT: retq
92 ; AVX-LABEL: test_sqrt_ss:
93 ; AVX: # BB#0:
94 ; AVX-NEXT: vsqrtss %xmm0, %xmm0, %xmm1
95 ; AVX-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
96 ; AVX-NEXT: retq
110 ; AVX-LABEL: test_add_sd:
111 ; AVX: # BB#0:
112 ; AVX-NEXT: vaddsd %xmm1, %xmm0, %xmm0
113 ; AVX-NEXT: retq
127 ; AVX-LABEL: test_sub_sd:
128 ; AVX: # BB#0:
129 ; AVX-NEXT: vsubsd %xmm1, %xmm0, %xmm0
130 ; AVX-NEXT: retq
144 ; AVX-LABEL: test_mul_sd:
145 ; AVX: # BB#0:
146 ; AVX-NEXT: vmulsd %xmm1, %xmm0, %xmm0
147 ; AVX-NEXT: retq
161 ; AVX-LABEL: test_div_sd:
162 ; AVX: # BB#0:
163 ; AVX-NEXT: vdivsd %xmm1, %xmm0, %xmm0
164 ; AVX-NEXT: retq
179 ; AVX-LABEL: test_sqrt_sd:
180 ; AVX: # BB#0:
181 ; AVX-NEXT: vsqrtsd %xmm0, %xmm0, %xmm1
182 ; AVX-NEXT: vmovsd %xmm1, %xmm0, %xmm0
183 ; AVX-NEXT: retq
198 ; AVX-LABEL: test2_add_ss:
199 ; AVX: # BB#0:
200 ; AVX-NEXT: vaddss %xmm0, %xmm1, %xmm0
201 ; AVX-NEXT: retq
216 ; AVX-LABEL: test2_sub_ss:
217 ; AVX: # BB#0:
218 ; AVX-NEXT: vsubss %xmm0, %xmm1, %xmm0
219 ; AVX-NEXT: retq
234 ; AVX-LABEL: test2_mul_ss:
235 ; AVX: # BB#0:
236 ; AVX-NEXT: vmulss %xmm0, %xmm1, %xmm0
237 ; AVX-NEXT: retq
252 ; AVX-LABEL: test2_div_ss:
253 ; AVX: # BB#0:
254 ; AVX-NEXT: vdivss %xmm0, %xmm1, %xmm0
255 ; AVX-NEXT: retq
270 ; AVX-LABEL: test2_add_sd:
271 ; AVX: # BB#0:
272 ; AVX-NEXT: vaddsd %xmm0, %xmm1, %xmm0
273 ; AVX-NEXT: retq
288 ; AVX-LABEL: test2_sub_sd:
289 ; AVX: # BB#0:
290 ; AVX-NEXT: vsubsd %xmm0, %xmm1, %xmm0
291 ; AVX-NEXT: retq
306 ; AVX-LABEL: test2_mul_sd:
307 ; AVX: # BB#0:
308 ; AVX-NEXT: vmulsd %xmm0, %xmm1, %xmm0
309 ; AVX-NEXT: retq
324 ; AVX-LABEL: test2_div_sd:
325 ; AVX: # BB#0:
326 ; AVX-NEXT: vdivsd %xmm0, %xmm1, %xmm0
327 ; AVX-NEXT: retq
342 ; AVX-LABEL: test_multiple_add_ss:
343 ; AVX: # BB#0:
344 ; AVX-NEXT: vaddss %xmm1, %xmm0, %xmm1
345 ; AVX-NEXT: vaddss %xmm1, %xmm0, %xmm0
346 ; AVX-NEXT: retq
363 ; AVX-LABEL: test_multiple_sub_ss:
364 ; AVX: # BB#0:
365 ; AVX-NEXT: vsubss %xmm1, %xmm0, %xmm1
366 ; AVX-NEXT: vsubss %xmm1, %xmm0, %xmm0
367 ; AVX-NEXT: retq
383 ; AVX-LABEL: test_multiple_mul_ss:
384 ; AVX: # BB#0:
385 ; AVX-NEXT: vmulss %xmm1, %xmm0, %xmm1
386 ; AVX-NEXT: vmulss %xmm1, %xmm0, %xmm0
387 ; AVX-NEXT: retq
404 ; AVX-LABEL: test_multiple_div_ss:
405 ; AVX: # BB#0:
406 ; AVX-NEXT: vdivss %xmm1, %xmm0, %xmm1
407 ; AVX-NEXT: vdivss %xmm1, %xmm0, %xmm0
408 ; AVX-NEXT: retq
426 ; AVX-LABEL: blend_add_ss:
427 ; AVX: # BB#0:
428 ; AVX-NEXT: vaddss %xmm1, %xmm0, %xmm0
429 ; AVX-NEXT: retq
444 ; AVX-LABEL: blend_sub_ss:
445 ; AVX: # BB#0:
446 ; AVX-NEXT: vsubss %xmm1, %xmm0, %xmm0
447 ; AVX-NEXT: retq
462 ; AVX-LABEL: blend_mul_ss:
463 ; AVX: # BB#0:
464 ; AVX-NEXT: vmulss %xmm1, %xmm0, %xmm0
465 ; AVX-NEXT: retq
480 ; AVX-LABEL: blend_div_ss:
481 ; AVX: # BB#0:
482 ; AVX-NEXT: vdivss %xmm1, %xmm0, %xmm0
483 ; AVX-NEXT: retq
498 ; AVX-LABEL: blend_add_sd:
499 ; AVX: # BB#0:
500 ; AVX-NEXT: vaddsd %xmm1, %xmm0, %xmm0
501 ; AVX-NEXT: retq
516 ; AVX-LABEL: blend_sub_sd:
517 ; AVX: # BB#0:
518 ; AVX-NEXT: vsubsd %xmm1, %xmm0, %xmm0
519 ; AVX-NEXT: retq
534 ; AVX-LABEL: blend_mul_sd:
535 ; AVX: # BB#0:
536 ; AVX-NEXT: vmulsd %xmm1, %xmm0, %xmm0
537 ; AVX-NEXT: retq
552 ; AVX-LABEL: blend_div_sd:
553 ; AVX: # BB#0:
554 ; AVX-NEXT: vdivsd %xmm1, %xmm0, %xmm0
555 ; AVX-NEXT: retq
564 ; Ensure that the backend selects SSE/AVX scalar fp instructions
573 ; AVX-LABEL: insert_test_add_ss:
574 ; AVX: # BB#0:
575 ; AVX-NEXT: vaddss %xmm1, %xmm0, %xmm0
576 ; AVX-NEXT: retq
588 ; AVX-LABEL: insert_test_sub_ss:
589 ; AVX: # BB#0:
590 ; AVX-NEXT: vsubss %xmm1, %xmm0, %xmm0
591 ; AVX-NEXT: retq
603 ; AVX-LABEL: insert_test_mul_ss:
604 ; AVX: # BB#0:
605 ; AVX-NEXT: vmulss %xmm1, %xmm0, %xmm0
606 ; AVX-NEXT: retq
618 ; AVX-LABEL: insert_test_div_ss:
619 ; AVX: # BB#0:
620 ; AVX-NEXT: vdivss %xmm1, %xmm0, %xmm0
621 ; AVX-NEXT: retq
633 ; AVX-LABEL: insert_test_add_sd:
634 ; AVX: # BB#0:
635 ; AVX-NEXT: vaddsd %xmm1, %xmm0, %xmm0
636 ; AVX-NEXT: retq
648 ; AVX-LABEL: insert_test_sub_sd:
649 ; AVX: # BB#0:
650 ; AVX-NEXT: vsubsd %xmm1, %xmm0, %xmm0
651 ; AVX-NEXT: retq
663 ; AVX-LABEL: insert_test_mul_sd:
664 ; AVX: # BB#0:
665 ; AVX-NEXT: vmulsd %xmm1, %xmm0, %xmm0
666 ; AVX-NEXT: retq
678 ; AVX-LABEL: insert_test_div_sd:
679 ; AVX: # BB#0:
680 ; AVX-NEXT: vdivsd %xmm1, %xmm0, %xmm0
681 ; AVX-NEXT: retq
694 ; AVX-LABEL: insert_test2_add_ss:
695 ; AVX: # BB#0:
696 ; AVX-NEXT: vaddss %xmm0, %xmm1, %xmm0
697 ; AVX-NEXT: retq
710 ; AVX-LABEL: insert_test2_sub_ss:
711 ; AVX: # BB#0:
712 ; AVX-NEXT: vsubss %xmm0, %xmm1, %xmm0
713 ; AVX-NEXT: retq
726 ; AVX-LABEL: insert_test2_mul_ss:
727 ; AVX: # BB#0:
728 ; AVX-NEXT: vmulss %xmm0, %xmm1, %xmm0
729 ; AVX-NEXT: retq
742 ; AVX-LABEL: insert_test2_div_ss:
743 ; AVX: # BB#0:
744 ; AVX-NEXT: vdivss %xmm0, %xmm1, %xmm0
745 ; AVX-NEXT: retq
758 ; AVX-LABEL: insert_test2_add_sd:
759 ; AVX: # BB#0:
760 ; AVX-NEXT: vaddsd %xmm0, %xmm1, %xmm0
761 ; AVX-NEXT: retq
774 ; AVX-LABEL: insert_test2_sub_sd:
775 ; AVX: # BB#0:
776 ; AVX-NEXT: vsubsd %xmm0, %xmm1, %xmm0
777 ; AVX-NEXT: retq
790 ; AVX-LABEL: insert_test2_mul_sd:
791 ; AVX: # BB#0:
792 ; AVX-NEXT: vmulsd %xmm0, %xmm1, %xmm0
793 ; AVX-NEXT: retq
806 ; AVX-LABEL: insert_test2_div_sd:
807 ; AVX: # BB#0:
808 ; AVX-NEXT: vdivsd %xmm0, %xmm1, %xmm0
809 ; AVX-NEXT: retq
821 ; AVX-LABEL: insert_test3_add_ss:
822 ; AVX: # BB#0:
823 ; AVX-NEXT: vaddss %xmm1, %xmm0, %xmm0
824 ; AVX-NEXT: retq
836 ; AVX-LABEL: insert_test3_sub_ss:
837 ; AVX: # BB#0:
838 ; AVX-NEXT: vsubss %xmm1, %xmm0, %xmm0
839 ; AVX-NEXT: retq
851 ; AVX-LABEL: insert_test3_mul_ss:
852 ; AVX: # BB#0:
853 ; AVX-NEXT: vmulss %xmm1, %xmm0, %xmm0
854 ; AVX-NEXT: retq
866 ; AVX-LABEL: insert_test3_div_ss:
867 ; AVX: # BB#0:
868 ; AVX-NEXT: vdivss %xmm1, %xmm0, %xmm0
869 ; AVX-NEXT: retq
881 ; AVX-LABEL: insert_test3_add_sd:
882 ; AVX: # BB#0:
883 ; AVX-NEXT: vaddsd %xmm1, %xmm0, %xmm0
884 ; AVX-NEXT: retq
896 ; AVX-LABEL: insert_test3_sub_sd:
897 ; AVX: # BB#0:
898 ; AVX-NEXT: vsubsd %xmm1, %xmm0, %xmm0
899 ; AVX-NEXT: retq
911 ; AVX-LABEL: insert_test3_mul_sd:
912 ; AVX: # BB#0:
913 ; AVX-NEXT: vmulsd %xmm1, %xmm0, %xmm0
914 ; AVX-NEXT: retq
926 ; AVX-LABEL: insert_test3_div_sd:
927 ; AVX: # BB#0:
928 ; AVX-NEXT: vdivsd %xmm1, %xmm0, %xmm0
929 ; AVX-NEXT: retq
942 ; AVX-LABEL: insert_test4_add_ss:
943 ; AVX: # BB#0:
944 ; AVX-NEXT: vaddss %xmm0, %xmm1, %xmm0
945 ; AVX-NEXT: retq
958 ; AVX-LABEL: insert_test4_sub_ss:
959 ; AVX: # BB#0:
960 ; AVX-NEXT: vsubss %xmm0, %xmm1, %xmm0
961 ; AVX-NEXT: retq
974 ; AVX-LABEL: insert_test4_mul_ss:
975 ; AVX: # BB#0:
976 ; AVX-NEXT: vmulss %xmm0, %xmm1, %xmm0
977 ; AVX-NEXT: retq
990 ; AVX-LABEL: insert_test4_div_ss:
991 ; AVX: # BB#0:
992 ; AVX-NEXT: vdivss %xmm0, %xmm1, %xmm0
993 ; AVX-NEXT: retq
1006 ; AVX-LABEL: insert_test4_add_sd:
1007 ; AVX: # BB#0:
1008 ; AVX-NEXT: vaddsd %xmm0, %xmm1, %xmm0
1009 ; AVX-NEXT: retq
1022 ; AVX-LABEL: insert_test4_sub_sd:
1023 ; AVX: # BB#0:
1024 ; AVX-NEXT: vsubsd %xmm0, %xmm1, %xmm0
1025 ; AVX-NEXT: retq
1038 ; AVX-LABEL: insert_test4_mul_sd:
1039 ; AVX: # BB#0:
1040 ; AVX-NEXT: vmulsd %xmm0, %xmm1, %xmm0
1041 ; AVX-NEXT: retq
1054 ; AVX-LABEL: insert_test4_div_sd:
1055 ; AVX: # BB#0:
1056 ; AVX-NEXT: vdivsd %xmm0, %xmm1, %xmm0
1057 ; AVX-NEXT: retq