Lines Matching refs:X32
10 …known -mattr=+sse2 | FileCheck %s --check-prefix=ALL --check-prefix=X32-SSE --check-prefix=X32-SSE2
59 ; X32-SSE-LABEL: var_shift_v2i64:
60 ; X32-SSE: # BB#0:
61 ; X32-SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[2,3,0,1]
62 ; X32-SSE-NEXT: movdqa %xmm0, %xmm2
63 ; X32-SSE-NEXT: psllq %xmm3, %xmm2
64 ; X32-SSE-NEXT: movq {{.*#+}} xmm1 = xmm1[0],zero
65 ; X32-SSE-NEXT: psllq %xmm1, %xmm0
66 ; X32-SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
67 ; X32-SSE-NEXT: movapd %xmm2, %xmm0
68 ; X32-SSE-NEXT: retl
120 ; X32-SSE-LABEL: var_shift_v4i32:
121 ; X32-SSE: # BB#0:
122 ; X32-SSE-NEXT: pslld $23, %xmm1
123 ; X32-SSE-NEXT: paddd .LCPI1_0, %xmm1
124 ; X32-SSE-NEXT: cvttps2dq %xmm1, %xmm1
125 ; X32-SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm1[1,1,3,3]
126 ; X32-SSE-NEXT: pmuludq %xmm0, %xmm1
127 ; X32-SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
128 ; X32-SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[1,1,3,3]
129 ; X32-SSE-NEXT: pmuludq %xmm2, %xmm0
130 ; X32-SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
131 ; X32-SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
132 ; X32-SSE-NEXT: movdqa %xmm1, %xmm0
133 ; X32-SSE-NEXT: retl
237 ; X32-SSE-LABEL: var_shift_v8i16:
238 ; X32-SSE: # BB#0:
239 ; X32-SSE-NEXT: psllw $12, %xmm1
240 ; X32-SSE-NEXT: movdqa %xmm1, %xmm2
241 ; X32-SSE-NEXT: psraw $15, %xmm2
242 ; X32-SSE-NEXT: movdqa %xmm2, %xmm3
243 ; X32-SSE-NEXT: pandn %xmm0, %xmm3
244 ; X32-SSE-NEXT: psllw $8, %xmm0
245 ; X32-SSE-NEXT: pand %xmm2, %xmm0
246 ; X32-SSE-NEXT: por %xmm3, %xmm0
247 ; X32-SSE-NEXT: paddw %xmm1, %xmm1
248 ; X32-SSE-NEXT: movdqa %xmm1, %xmm2
249 ; X32-SSE-NEXT: psraw $15, %xmm2
250 ; X32-SSE-NEXT: movdqa %xmm2, %xmm3
251 ; X32-SSE-NEXT: pandn %xmm0, %xmm3
252 ; X32-SSE-NEXT: psllw $4, %xmm0
253 ; X32-SSE-NEXT: pand %xmm2, %xmm0
254 ; X32-SSE-NEXT: por %xmm3, %xmm0
255 ; X32-SSE-NEXT: paddw %xmm1, %xmm1
256 ; X32-SSE-NEXT: movdqa %xmm1, %xmm2
257 ; X32-SSE-NEXT: psraw $15, %xmm2
258 ; X32-SSE-NEXT: movdqa %xmm2, %xmm3
259 ; X32-SSE-NEXT: pandn %xmm0, %xmm3
260 ; X32-SSE-NEXT: psllw $2, %xmm0
261 ; X32-SSE-NEXT: pand %xmm2, %xmm0
262 ; X32-SSE-NEXT: por %xmm3, %xmm0
263 ; X32-SSE-NEXT: paddw %xmm1, %xmm1
264 ; X32-SSE-NEXT: psraw $15, %xmm1
265 ; X32-SSE-NEXT: movdqa %xmm1, %xmm2
266 ; X32-SSE-NEXT: pandn %xmm0, %xmm2
267 ; X32-SSE-NEXT: psllw $1, %xmm0
268 ; X32-SSE-NEXT: pand %xmm1, %xmm0
269 ; X32-SSE-NEXT: por %xmm2, %xmm0
270 ; X32-SSE-NEXT: retl
349 ; X32-SSE-LABEL: var_shift_v16i8:
350 ; X32-SSE: # BB#0:
351 ; X32-SSE-NEXT: psllw $5, %xmm1
352 ; X32-SSE-NEXT: pxor %xmm2, %xmm2
353 ; X32-SSE-NEXT: pxor %xmm3, %xmm3
354 ; X32-SSE-NEXT: pcmpgtb %xmm1, %xmm3
355 ; X32-SSE-NEXT: movdqa %xmm3, %xmm4
356 ; X32-SSE-NEXT: pandn %xmm0, %xmm4
357 ; X32-SSE-NEXT: psllw $4, %xmm0
358 ; X32-SSE-NEXT: pand .LCPI3_0, %xmm0
359 ; X32-SSE-NEXT: pand %xmm3, %xmm0
360 ; X32-SSE-NEXT: por %xmm4, %xmm0
361 ; X32-SSE-NEXT: paddb %xmm1, %xmm1
362 ; X32-SSE-NEXT: pxor %xmm3, %xmm3
363 ; X32-SSE-NEXT: pcmpgtb %xmm1, %xmm3
364 ; X32-SSE-NEXT: movdqa %xmm3, %xmm4
365 ; X32-SSE-NEXT: pandn %xmm0, %xmm4
366 ; X32-SSE-NEXT: psllw $2, %xmm0
367 ; X32-SSE-NEXT: pand .LCPI3_1, %xmm0
368 ; X32-SSE-NEXT: pand %xmm3, %xmm0
369 ; X32-SSE-NEXT: por %xmm4, %xmm0
370 ; X32-SSE-NEXT: paddb %xmm1, %xmm1
371 ; X32-SSE-NEXT: pcmpgtb %xmm1, %xmm2
372 ; X32-SSE-NEXT: movdqa %xmm2, %xmm1
373 ; X32-SSE-NEXT: pandn %xmm0, %xmm1
374 ; X32-SSE-NEXT: paddb %xmm0, %xmm0
375 ; X32-SSE-NEXT: pand %xmm2, %xmm0
376 ; X32-SSE-NEXT: por %xmm1, %xmm0
377 ; X32-SSE-NEXT: retl
402 ; X32-SSE-LABEL: splatvar_shift_v2i64:
403 ; X32-SSE: # BB#0:
404 ; X32-SSE-NEXT: movq {{.*#+}} xmm1 = xmm1[0],zero
405 ; X32-SSE-NEXT: psllq %xmm1, %xmm0
406 ; X32-SSE-NEXT: retl
441 ; X32-SSE-LABEL: splatvar_shift_v4i32:
442 ; X32-SSE: # BB#0:
443 ; X32-SSE-NEXT: xorps %xmm2, %xmm2
444 ; X32-SSE-NEXT: movss {{.*#+}} xmm2 = xmm1[0],xmm2[1,2,3]
445 ; X32-SSE-NEXT: pslld %xmm2, %xmm0
446 ; X32-SSE-NEXT: retl
482 ; X32-SSE-LABEL: splatvar_shift_v8i16:
483 ; X32-SSE: # BB#0:
484 ; X32-SSE-NEXT: movd %xmm1, %eax
485 ; X32-SSE-NEXT: movzwl %ax, %eax
486 ; X32-SSE-NEXT: movd %eax, %xmm1
487 ; X32-SSE-NEXT: psllw %xmm1, %xmm0
488 ; X32-SSE-NEXT: retl
601 ; X32-SSE-LABEL: splatvar_shift_v16i8:
602 ; X32-SSE: # BB#0:
603 ; X32-SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
604 ; X32-SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
605 ; X32-SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,0,0,0,4,5,6,7]
606 ; X32-SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm1[0,1,2,3,4,4,4,4]
607 ; X32-SSE-NEXT: psllw $5, %xmm2
608 ; X32-SSE-NEXT: pxor %xmm1, %xmm1
609 ; X32-SSE-NEXT: pxor %xmm3, %xmm3
610 ; X32-SSE-NEXT: pcmpgtb %xmm2, %xmm3
611 ; X32-SSE-NEXT: movdqa %xmm3, %xmm4
612 ; X32-SSE-NEXT: pandn %xmm0, %xmm4
613 ; X32-SSE-NEXT: psllw $4, %xmm0
614 ; X32-SSE-NEXT: pand .LCPI7_0, %xmm0
615 ; X32-SSE-NEXT: pand %xmm3, %xmm0
616 ; X32-SSE-NEXT: por %xmm4, %xmm0
617 ; X32-SSE-NEXT: paddb %xmm2, %xmm2
618 ; X32-SSE-NEXT: pxor %xmm3, %xmm3
619 ; X32-SSE-NEXT: pcmpgtb %xmm2, %xmm3
620 ; X32-SSE-NEXT: movdqa %xmm3, %xmm4
621 ; X32-SSE-NEXT: pandn %xmm0, %xmm4
622 ; X32-SSE-NEXT: psllw $2, %xmm0
623 ; X32-SSE-NEXT: pand .LCPI7_1, %xmm0
624 ; X32-SSE-NEXT: pand %xmm3, %xmm0
625 ; X32-SSE-NEXT: por %xmm4, %xmm0
626 ; X32-SSE-NEXT: paddb %xmm2, %xmm2
627 ; X32-SSE-NEXT: pcmpgtb %xmm2, %xmm1
628 ; X32-SSE-NEXT: movdqa %xmm1, %xmm2
629 ; X32-SSE-NEXT: pandn %xmm0, %xmm2
630 ; X32-SSE-NEXT: paddb %xmm0, %xmm0
631 ; X32-SSE-NEXT: pand %xmm1, %xmm0
632 ; X32-SSE-NEXT: por %xmm2, %xmm0
633 ; X32-SSE-NEXT: retl
683 ; X32-SSE-LABEL: constant_shift_v2i64:
684 ; X32-SSE: # BB#0:
685 ; X32-SSE-NEXT: movdqa %xmm0, %xmm1
686 ; X32-SSE-NEXT: psllq $7, %xmm1
687 ; X32-SSE-NEXT: psllq $1, %xmm0
688 ; X32-SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
689 ; X32-SSE-NEXT: movapd %xmm1, %xmm0
690 ; X32-SSE-NEXT: retl
733 ; X32-SSE-LABEL: constant_shift_v4i32:
734 ; X32-SSE: # BB#0:
735 ; X32-SSE-NEXT: movdqa {{.*#+}} xmm1 = [16,32,64,128]
736 ; X32-SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[1,1,3,3]
737 ; X32-SSE-NEXT: pmuludq %xmm1, %xmm0
738 ; X32-SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
739 ; X32-SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,3,3]
740 ; X32-SSE-NEXT: pmuludq %xmm2, %xmm1
741 ; X32-SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
742 ; X32-SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
743 ; X32-SSE-NEXT: retl
764 ; X32-SSE-LABEL: constant_shift_v8i16:
765 ; X32-SSE: # BB#0:
766 ; X32-SSE-NEXT: pmullw .LCPI10_0, %xmm0
767 ; X32-SSE-NEXT: retl
846 ; X32-SSE-LABEL: constant_shift_v16i8:
847 ; X32-SSE: # BB#0:
848 ; X32-SSE-NEXT: movdqa {{.*#+}} xmm2 = [0,1,2,3,4,5,6,7,7,6,5,4,3,2,1,0]
849 ; X32-SSE-NEXT: psllw $5, %xmm2
850 ; X32-SSE-NEXT: pxor %xmm1, %xmm1
851 ; X32-SSE-NEXT: pxor %xmm3, %xmm3
852 ; X32-SSE-NEXT: pcmpgtb %xmm2, %xmm3
853 ; X32-SSE-NEXT: movdqa %xmm3, %xmm4
854 ; X32-SSE-NEXT: pandn %xmm0, %xmm4
855 ; X32-SSE-NEXT: psllw $4, %xmm0
856 ; X32-SSE-NEXT: pand .LCPI11_1, %xmm0
857 ; X32-SSE-NEXT: pand %xmm3, %xmm0
858 ; X32-SSE-NEXT: por %xmm4, %xmm0
859 ; X32-SSE-NEXT: paddb %xmm2, %xmm2
860 ; X32-SSE-NEXT: pxor %xmm3, %xmm3
861 ; X32-SSE-NEXT: pcmpgtb %xmm2, %xmm3
862 ; X32-SSE-NEXT: movdqa %xmm3, %xmm4
863 ; X32-SSE-NEXT: pandn %xmm0, %xmm4
864 ; X32-SSE-NEXT: psllw $2, %xmm0
865 ; X32-SSE-NEXT: pand .LCPI11_2, %xmm0
866 ; X32-SSE-NEXT: pand %xmm3, %xmm0
867 ; X32-SSE-NEXT: por %xmm4, %xmm0
868 ; X32-SSE-NEXT: paddb %xmm2, %xmm2
869 ; X32-SSE-NEXT: pcmpgtb %xmm2, %xmm1
870 ; X32-SSE-NEXT: movdqa %xmm1, %xmm2
871 ; X32-SSE-NEXT: pandn %xmm0, %xmm2
872 ; X32-SSE-NEXT: paddb %xmm0, %xmm0
873 ; X32-SSE-NEXT: pand %xmm1, %xmm0
874 ; X32-SSE-NEXT: por %xmm2, %xmm0
875 ; X32-SSE-NEXT: retl
900 ; X32-SSE-LABEL: splatconstant_shift_v2i64:
901 ; X32-SSE: # BB#0:
902 ; X32-SSE-NEXT: psllq $7, %xmm0
903 ; X32-SSE-NEXT: retl
924 ; X32-SSE-LABEL: splatconstant_shift_v4i32:
925 ; X32-SSE: # BB#0:
926 ; X32-SSE-NEXT: pslld $5, %xmm0
927 ; X32-SSE-NEXT: retl
948 ; X32-SSE-LABEL: splatconstant_shift_v8i16:
949 ; X32-SSE: # BB#0:
950 ; X32-SSE-NEXT: psllw $3, %xmm0
951 ; X32-SSE-NEXT: retl
974 ; X32-SSE-LABEL: splatconstant_shift_v16i8:
975 ; X32-SSE: # BB#0:
976 ; X32-SSE-NEXT: psllw $3, %xmm0
977 ; X32-SSE-NEXT: pand .LCPI15_0, %xmm0
978 ; X32-SSE-NEXT: retl