Lines Matching refs:X32
2 ; RUN: llc < %s -mtriple=i686-unknown -mattr=+sse4.1 | FileCheck %s --check-prefix=X32-SSE
3 ; RUN: llc < %s -mtriple=i686-unknown -mattr=+avx | FileCheck %s --check-prefix=X32-AVX
8 ; X32-SSE-LABEL: fptrunc_frommem2:
9 ; X32-SSE: # BB#0: # %entry
10 ; X32-SSE-NEXT: movl {{[0-9]+}}(%esp), %eax
11 ; X32-SSE-NEXT: movl {{[0-9]+}}(%esp), %ecx
12 ; X32-SSE-NEXT: cvtpd2ps (%ecx), %xmm0
13 ; X32-SSE-NEXT: extractps $1, %xmm0, 4(%eax)
14 ; X32-SSE-NEXT: movss %xmm0, (%eax)
15 ; X32-SSE-NEXT: retl
17 ; X32-AVX-LABEL: fptrunc_frommem2:
18 ; X32-AVX: # BB#0: # %entry
19 ; X32-AVX-NEXT: movl {{[0-9]+}}(%esp), %eax
20 ; X32-AVX-NEXT: movl {{[0-9]+}}(%esp), %ecx
21 ; X32-AVX-NEXT: vcvtpd2psx (%ecx), %xmm0
22 ; X32-AVX-NEXT: vextractps $1, %xmm0, 4(%eax)
23 ; X32-AVX-NEXT: vmovss %xmm0, (%eax)
24 ; X32-AVX-NEXT: retl
45 ; X32-SSE-LABEL: fptrunc_frommem4:
46 ; X32-SSE: # BB#0: # %entry
47 ; X32-SSE-NEXT: movl {{[0-9]+}}(%esp), %eax
48 ; X32-SSE-NEXT: movl {{[0-9]+}}(%esp), %ecx
49 ; X32-SSE-NEXT: cvtpd2ps 16(%ecx), %xmm0
50 ; X32-SSE-NEXT: cvtpd2ps (%ecx), %xmm1
51 ; X32-SSE-NEXT: unpcklpd {{.*#+}} xmm1 = xmm1[0],xmm0[0]
52 ; X32-SSE-NEXT: movupd %xmm1, (%eax)
53 ; X32-SSE-NEXT: retl
55 ; X32-AVX-LABEL: fptrunc_frommem4:
56 ; X32-AVX: # BB#0: # %entry
57 ; X32-AVX-NEXT: movl {{[0-9]+}}(%esp), %eax
58 ; X32-AVX-NEXT: movl {{[0-9]+}}(%esp), %ecx
59 ; X32-AVX-NEXT: vcvtpd2psy (%ecx), %xmm0
60 ; X32-AVX-NEXT: vmovupd %xmm0, (%eax)
61 ; X32-AVX-NEXT: retl
84 ; X32-SSE-LABEL: fptrunc_frommem8:
85 ; X32-SSE: # BB#0: # %entry
86 ; X32-SSE-NEXT: movl {{[0-9]+}}(%esp), %eax
87 ; X32-SSE-NEXT: movl {{[0-9]+}}(%esp), %ecx
88 ; X32-SSE-NEXT: cvtpd2ps 16(%ecx), %xmm0
89 ; X32-SSE-NEXT: cvtpd2ps (%ecx), %xmm1
90 ; X32-SSE-NEXT: unpcklpd {{.*#+}} xmm1 = xmm1[0],xmm0[0]
91 ; X32-SSE-NEXT: cvtpd2ps 48(%ecx), %xmm0
92 ; X32-SSE-NEXT: cvtpd2ps 32(%ecx), %xmm2
93 ; X32-SSE-NEXT: unpcklpd {{.*#+}} xmm2 = xmm2[0],xmm0[0]
94 ; X32-SSE-NEXT: movupd %xmm2, 16(%eax)
95 ; X32-SSE-NEXT: movupd %xmm1, (%eax)
96 ; X32-SSE-NEXT: retl
98 ; X32-AVX-LABEL: fptrunc_frommem8:
99 ; X32-AVX: # BB#0: # %entry
100 ; X32-AVX-NEXT: movl {{[0-9]+}}(%esp), %eax
101 ; X32-AVX-NEXT: movl {{[0-9]+}}(%esp), %ecx
102 ; X32-AVX-NEXT: vcvtpd2psy (%ecx), %xmm0
103 ; X32-AVX-NEXT: vcvtpd2psy 32(%ecx), %xmm1
104 ; X32-AVX-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm0
105 ; X32-AVX-NEXT: vmovupd %ymm0, (%eax)
106 ; X32-AVX-NEXT: vzeroupper
107 ; X32-AVX-NEXT: retl
138 ; X32-SSE-LABEL: fptrunc_fromconst:
139 ; X32-SSE: # BB#0: # %entry
140 ; X32-SSE-NEXT: cvtpd2ps .LCPI3_0, %xmm1
141 ; X32-SSE-NEXT: cvtpd2ps .LCPI3_1, %xmm0
142 ; X32-SSE-NEXT: unpcklpd {{.*#+}} xmm0 = xmm0[0],xmm1[0]
143 ; X32-SSE-NEXT: retl
145 ; X32-AVX-LABEL: fptrunc_fromconst:
146 ; X32-AVX: # BB#0: # %entry
147 ; X32-AVX-NEXT: vcvtpd2psy .LCPI3_0, %xmm0
148 ; X32-AVX-NEXT: retl