Lines Matching refs:X32
2 …l -mtriple=i386-unknown-unknown -mattr=+sse4.1 | FileCheck %s --check-prefix=ALL --check-prefix=X32
8 ; X32-LABEL: test_mm_blend_epi16:
9 ; X32: # BB#0:
10 ; X32-NEXT: pblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2],xmm1[3],xmm0[4],xmm1[5],xmm0[6,7]
11 ; X32-NEXT: retl
25 ; X32-LABEL: test_mm_blend_pd:
26 ; X32: # BB#0:
27 ; X32-NEXT: blendpd {{.*#+}} xmm0 = xmm0[0],xmm1[1]
28 ; X32-NEXT: retl
39 ; X32-LABEL: test_mm_blend_ps:
40 ; X32: # BB#0:
41 ; X32-NEXT: blendps {{.*#+}} xmm0 = xmm0[0],xmm1[1,2],xmm0[3]
42 ; X32-NEXT: retl
53 ; X32-LABEL: test_mm_blendv_epi8:
54 ; X32: # BB#0:
55 ; X32-NEXT: movdqa %xmm0, %xmm3
56 ; X32-NEXT: movaps %xmm2, %xmm0
57 ; X32-NEXT: pblendvb %xmm1, %xmm3
58 ; X32-NEXT: movdqa %xmm3, %xmm0
59 ; X32-NEXT: retl
78 ; X32-LABEL: test_mm_blendv_pd:
79 ; X32: # BB#0:
80 ; X32-NEXT: movapd %xmm0, %xmm3
81 ; X32-NEXT: movaps %xmm2, %xmm0
82 ; X32-NEXT: blendvpd %xmm1, %xmm3
83 ; X32-NEXT: movapd %xmm3, %xmm0
84 ; X32-NEXT: retl
99 ; X32-LABEL: test_mm_blendv_ps:
100 ; X32: # BB#0:
101 ; X32-NEXT: movaps %xmm0, %xmm3
102 ; X32-NEXT: movaps %xmm2, %xmm0
103 ; X32-NEXT: blendvps %xmm1, %xmm3
104 ; X32-NEXT: movaps %xmm3, %xmm0
105 ; X32-NEXT: retl
120 ; X32-LABEL: test_mm_ceil_pd:
121 ; X32: # BB#0:
122 ; X32-NEXT: roundpd $2, %xmm0, %xmm0
123 ; X32-NEXT: retl
135 ; X32-LABEL: test_mm_ceil_ps:
136 ; X32: # BB#0:
137 ; X32-NEXT: roundps $2, %xmm0, %xmm0
138 ; X32-NEXT: retl
150 ; X32-LABEL: test_mm_ceil_sd:
151 ; X32: # BB#0:
152 ; X32-NEXT: roundsd $2, %xmm1, %xmm0
153 ; X32-NEXT: retl
165 ; X32-LABEL: test_mm_ceil_ss:
166 ; X32: # BB#0:
167 ; X32-NEXT: roundss $2, %xmm1, %xmm0
168 ; X32-NEXT: retl
180 ; X32-LABEL: test_mm_cmpeq_epi64:
181 ; X32: # BB#0:
182 ; X32-NEXT: pcmpeqq %xmm1, %xmm0
183 ; X32-NEXT: retl
195 ; X32-LABEL: test_mm_cvtepi8_epi16:
196 ; X32: # BB#0:
197 ; X32-NEXT: pmovsxbw %xmm0, %xmm0
198 ; X32-NEXT: retl
212 ; X32-LABEL: test_mm_cvtepi8_epi32:
213 ; X32: # BB#0:
214 ; X32-NEXT: pmovsxbd %xmm0, %xmm0
215 ; X32-NEXT: retl
229 ; X32-LABEL: test_mm_cvtepi8_epi64:
230 ; X32: # BB#0:
231 ; X32-NEXT: pmovsxbq %xmm0, %xmm0
232 ; X32-NEXT: retl
245 ; X32-LABEL: test_mm_cvtepi16_epi32:
246 ; X32: # BB#0:
247 ; X32-NEXT: pmovsxwd %xmm0, %xmm0
248 ; X32-NEXT: retl
262 ; X32-LABEL: test_mm_cvtepi16_epi64:
263 ; X32: # BB#0:
264 ; X32-NEXT: pmovsxwq %xmm0, %xmm0
265 ; X32-NEXT: retl
278 ; X32-LABEL: test_mm_cvtepi32_epi64:
279 ; X32: # BB#0:
280 ; X32-NEXT: pmovsxdq %xmm0, %xmm0
281 ; X32-NEXT: retl
294 ; X32-LABEL: test_mm_cvtepu8_epi16:
295 ; X32: # BB#0:
296 ; X32-NEXT: pmovzxbw {{.*#+}} xmm0 = xmm0[0],zero,xmm0[1],zero,xmm0[2],zero,xmm0[3],zero,xmm0[4]…
297 ; X32-NEXT: retl
311 ; X32-LABEL: test_mm_cvtepu8_epi32:
312 ; X32: # BB#0:
313 ; X32-NEXT: pmovzxbd {{.*#+}} xmm0 = xmm0[0],zero,zero,zero,xmm0[1],zero,zero,zero,xmm0[2],zero,…
314 ; X32-NEXT: retl
328 ; X32-LABEL: test_mm_cvtepu8_epi64:
329 ; X32: # BB#0:
330 ; X32-NEXT: pmovzxbq {{.*#+}} xmm0 = xmm0[0],zero,zero,zero,zero,zero,zero,zero,xmm0[1],zero,zer…
331 ; X32-NEXT: retl
344 ; X32-LABEL: test_mm_cvtepu16_epi32:
345 ; X32: # BB#0:
346 ; X32-NEXT: pmovzxwd {{.*#+}} xmm0 = xmm0[0],zero,xmm0[1],zero,xmm0[2],zero,xmm0[3],zero
347 ; X32-NEXT: retl
361 ; X32-LABEL: test_mm_cvtepu16_epi64:
362 ; X32: # BB#0:
363 ; X32-NEXT: pmovzxwq {{.*#+}} xmm0 = xmm0[0],zero,zero,zero,xmm0[1],zero,zero,zero
364 ; X32-NEXT: retl
377 ; X32-LABEL: test_mm_cvtepu32_epi64:
378 ; X32: # BB#0:
379 ; X32-NEXT: pmovzxdq {{.*#+}} xmm0 = xmm0[0],zero,xmm0[1],zero
380 ; X32-NEXT: retl
393 ; X32-LABEL: test_mm_dp_pd:
394 ; X32: # BB#0:
395 ; X32-NEXT: dppd $7, %xmm1, %xmm0
396 ; X32-NEXT: retl
408 ; X32-LABEL: test_mm_dp_ps:
409 ; X32: # BB#0:
410 ; X32-NEXT: dpps $7, %xmm1, %xmm0
411 ; X32-NEXT: retl
423 ; X32-LABEL: test_mm_extract_epi8:
424 ; X32: # BB#0:
425 ; X32-NEXT: pextrb $1, %xmm0, %eax
426 ; X32-NEXT: movzbl %al, %eax
427 ; X32-NEXT: retl
441 ; X32-LABEL: test_mm_extract_epi32:
442 ; X32: # BB#0:
443 ; X32-NEXT: pextrd $1, %xmm0, %eax
444 ; X32-NEXT: retl
456 ; X32-LABEL: test_mm_extract_epi64:
457 ; X32: # BB#0:
458 ; X32-NEXT: pextrd $2, %xmm0, %eax
459 ; X32-NEXT: pextrd $3, %xmm0, %edx
460 ; X32-NEXT: retl
474 ; X32-LABEL: test_mm_floor_pd:
475 ; X32: # BB#0:
476 ; X32-NEXT: roundpd $1, %xmm0, %xmm0
477 ; X32-NEXT: retl
488 ; X32-LABEL: test_mm_floor_ps:
489 ; X32: # BB#0:
490 ; X32-NEXT: roundps $1, %xmm0, %xmm0
491 ; X32-NEXT: retl
502 ; X32-LABEL: test_mm_floor_sd:
503 ; X32: # BB#0:
504 ; X32-NEXT: roundsd $1, %xmm1, %xmm0
505 ; X32-NEXT: retl
516 ; X32-LABEL: test_mm_floor_ss:
517 ; X32: # BB#0:
518 ; X32-NEXT: roundss $1, %xmm1, %xmm0
519 ; X32-NEXT: retl
530 ; X32-LABEL: test_mm_insert_epi8:
531 ; X32: # BB#0:
532 ; X32-NEXT: movzbl {{[0-9]+}}(%esp), %eax
533 ; X32-NEXT: pinsrb $1, %eax, %xmm0
534 ; X32-NEXT: retl
548 ; X32-LABEL: test_mm_insert_epi32:
549 ; X32: # BB#0:
550 ; X32-NEXT: pinsrd $1, {{[0-9]+}}(%esp), %xmm0
551 ; X32-NEXT: retl
564 ; X32-LABEL: test_mm_insert_epi64:
565 ; X32: # BB#0:
566 ; X32-NEXT: pinsrd $2, {{[0-9]+}}(%esp), %xmm0
567 ; X32-NEXT: pinsrd $3, {{[0-9]+}}(%esp), %xmm0
568 ; X32-NEXT: retl
579 ; X32-LABEL: test_mm_insert_ps:
580 ; X32: # BB#0:
581 ; X32-NEXT: insertps {{.*#+}} xmm0 = xmm1[0],xmm0[1],zero,xmm0[3]
582 ; X32-NEXT: retl
594 ; X32-LABEL: test_mm_max_epi8:
595 ; X32: # BB#0:
596 ; X32-NEXT: pmaxsb %xmm1, %xmm0
597 ; X32-NEXT: retl
612 ; X32-LABEL: test_mm_max_epi32:
613 ; X32: # BB#0:
614 ; X32-NEXT: pmaxsd %xmm1, %xmm0
615 ; X32-NEXT: retl
630 ; X32-LABEL: test_mm_max_epu16:
631 ; X32: # BB#0:
632 ; X32-NEXT: pmaxuw %xmm1, %xmm0
633 ; X32-NEXT: retl
648 ; X32-LABEL: test_mm_max_epu32:
649 ; X32: # BB#0:
650 ; X32-NEXT: pmaxud %xmm1, %xmm0
651 ; X32-NEXT: retl
666 ; X32-LABEL: test_mm_min_epi8:
667 ; X32: # BB#0:
668 ; X32-NEXT: pminsb %xmm1, %xmm0
669 ; X32-NEXT: retl
684 ; X32-LABEL: test_mm_min_epi32:
685 ; X32: # BB#0:
686 ; X32-NEXT: pminsd %xmm1, %xmm0
687 ; X32-NEXT: retl
702 ; X32-LABEL: test_mm_min_epu16:
703 ; X32: # BB#0:
704 ; X32-NEXT: pminuw %xmm1, %xmm0
705 ; X32-NEXT: retl
720 ; X32-LABEL: test_mm_min_epu32:
721 ; X32: # BB#0:
722 ; X32-NEXT: pminud %xmm1, %xmm0
723 ; X32-NEXT: retl
738 ; X32-LABEL: test_mm_minpos_epu16:
739 ; X32: # BB#0:
740 ; X32-NEXT: phminposuw %xmm0, %xmm0
741 ; X32-NEXT: retl
755 ; X32-LABEL: test_mm_mpsadbw_epu8:
756 ; X32: # BB#0:
757 ; X32-NEXT: mpsadbw $1, %xmm1, %xmm0
758 ; X32-NEXT: retl
773 ; X32-LABEL: test_mm_mul_epi32:
774 ; X32: # BB#0:
775 ; X32-NEXT: pmuldq %xmm1, %xmm0
776 ; X32-NEXT: retl
790 ; X32-LABEL: test_mm_mullo_epi32:
791 ; X32: # BB#0:
792 ; X32-NEXT: pmulld %xmm1, %xmm0
793 ; X32-NEXT: retl
807 ; X32-LABEL: test_mm_packus_epi32:
808 ; X32: # BB#0:
809 ; X32-NEXT: packusdw %xmm1, %xmm0
810 ; X32-NEXT: retl
825 ; X32-LABEL: test_mm_round_pd:
826 ; X32: # BB#0:
827 ; X32-NEXT: roundpd $4, %xmm0, %xmm0
828 ; X32-NEXT: retl
839 ; X32-LABEL: test_mm_round_ps:
840 ; X32: # BB#0:
841 ; X32-NEXT: roundps $4, %xmm0, %xmm0
842 ; X32-NEXT: retl
853 ; X32-LABEL: test_mm_round_sd:
854 ; X32: # BB#0:
855 ; X32-NEXT: roundsd $4, %xmm1, %xmm0
856 ; X32-NEXT: retl
867 ; X32-LABEL: test_mm_round_ss:
868 ; X32: # BB#0:
869 ; X32-NEXT: roundss $4, %xmm1, %xmm0
870 ; X32-NEXT: retl
881 ; X32-LABEL: test_mm_stream_load_si128:
882 ; X32: # BB#0:
883 ; X32-NEXT: movl {{[0-9]+}}(%esp), %eax
884 ; X32-NEXT: movntdqa (%eax), %xmm0
885 ; X32-NEXT: retl
898 ; X32-LABEL: test_mm_test_all_ones:
899 ; X32: # BB#0:
900 ; X32-NEXT: pcmpeqd %xmm1, %xmm1
901 ; X32-NEXT: ptest %xmm1, %xmm0
902 ; X32-NEXT: sbbl %eax, %eax
903 ; X32-NEXT: andl $1, %eax
904 ; X32-NEXT: retl
919 ; X32-LABEL: test_mm_test_all_zeros:
920 ; X32: # BB#0:
921 ; X32-NEXT: xorl %eax, %eax
922 ; X32-NEXT: ptest %xmm1, %xmm0
923 ; X32-NEXT: sete %al
924 ; X32-NEXT: retl
938 ; X32-LABEL: test_mm_test_mix_ones_zeros:
939 ; X32: # BB#0:
940 ; X32-NEXT: xorl %eax, %eax
941 ; X32-NEXT: ptest %xmm1, %xmm0
942 ; X32-NEXT: seta %al
943 ; X32-NEXT: retl
957 ; X32-LABEL: test_mm_testc_si128:
958 ; X32: # BB#0:
959 ; X32-NEXT: ptest %xmm1, %xmm0
960 ; X32-NEXT: sbbl %eax, %eax
961 ; X32-NEXT: andl $1, %eax
962 ; X32-NEXT: retl
975 ; X32-LABEL: test_mm_testnzc_si128:
976 ; X32: # BB#0:
977 ; X32-NEXT: xorl %eax, %eax
978 ; X32-NEXT: ptest %xmm1, %xmm0
979 ; X32-NEXT: seta %al
980 ; X32-NEXT: retl
993 ; X32-LABEL: test_mm_testz_si128:
994 ; X32: # BB#0:
995 ; X32-NEXT: xorl %eax, %eax
996 ; X32-NEXT: ptest %xmm1, %xmm0
997 ; X32-NEXT: sete %al
998 ; X32-NEXT: retl