• Home
  • Raw
  • Download

Lines Matching refs:AVX

3 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefix=AVX
11 ; AVX-LABEL: combine_vec_add_to_zero:
12 ; AVX: # %bb.0:
13 ; AVX-NEXT: retq
27 ; AVX-LABEL: combine_vec_add_constant_sub:
28 ; AVX: # %bb.0:
29 ; AVX-NEXT: vmovdqa {{.*#+}} xmm1 = [0,2,4,6]
30 ; AVX-NEXT: vpsubd %xmm0, %xmm1, %xmm0
31 ; AVX-NEXT: retq
45 ; AVX-LABEL: combine_vec_add_neg0:
46 ; AVX: # %bb.0:
47 ; AVX-NEXT: vpsubd %xmm0, %xmm1, %xmm0
48 ; AVX-NEXT: retq
61 ; AVX-LABEL: combine_vec_add_neg1:
62 ; AVX: # %bb.0:
63 ; AVX-NEXT: vpsubd %xmm1, %xmm0, %xmm0
64 ; AVX-NEXT: retq
77 ; AVX-LABEL: combine_vec_add_sub0:
78 ; AVX: # %bb.0:
79 ; AVX-NEXT: vmovaps %xmm1, %xmm0
80 ; AVX-NEXT: retq
93 ; AVX-LABEL: combine_vec_add_sub1:
94 ; AVX: # %bb.0:
95 ; AVX-NEXT: vmovaps %xmm1, %xmm0
96 ; AVX-NEXT: retq
110 ; AVX-LABEL: combine_vec_add_sub_sub0:
111 ; AVX: # %bb.0:
112 ; AVX-NEXT: vpsubd %xmm1, %xmm2, %xmm0
113 ; AVX-NEXT: retq
127 ; AVX-LABEL: combine_vec_add_sub_sub1:
128 ; AVX: # %bb.0:
129 ; AVX-NEXT: vpsubd %xmm2, %xmm0, %xmm0
130 ; AVX-NEXT: retq
145 ; AVX-LABEL: combine_vec_add_sub_add0:
146 ; AVX: # %bb.0:
147 ; AVX-NEXT: vpsubd %xmm2, %xmm1, %xmm0
148 ; AVX-NEXT: retq
163 ; AVX-LABEL: combine_vec_add_sub_add1:
164 ; AVX: # %bb.0:
165 ; AVX-NEXT: vpsubd %xmm2, %xmm1, %xmm0
166 ; AVX-NEXT: retq
181 ; AVX-LABEL: combine_vec_add_sub_add2:
182 ; AVX: # %bb.0:
183 ; AVX-NEXT: vpaddd %xmm2, %xmm1, %xmm0
184 ; AVX-NEXT: retq
199 ; AVX-LABEL: combine_vec_add_sub_add3:
200 ; AVX: # %bb.0:
201 ; AVX-NEXT: vpsubd %xmm2, %xmm1, %xmm0
202 ; AVX-NEXT: retq
218 ; AVX-LABEL: combine_vec_add_sub_sub:
219 ; AVX: # %bb.0:
220 ; AVX-NEXT: vpaddd %xmm2, %xmm1, %xmm1
221 ; AVX-NEXT: vpsubd %xmm1, %xmm0, %xmm0
222 ; AVX-NEXT: vpaddd {{.*}}(%rip), %xmm0, %xmm0
223 ; AVX-NEXT: retq
239 ; AVX-LABEL: combine_vec_add_uniquebits:
240 ; AVX: # %bb.0:
241 ; AVX-NEXT: vbroadcastss {{.*#+}} xmm2 = [61680,61680,61680,61680]
242 ; AVX-NEXT: vandps %xmm2, %xmm0, %xmm0
243 ; AVX-NEXT: vbroadcastss {{.*#+}} xmm2 = [3855,3855,3855,3855]
244 ; AVX-NEXT: vandps %xmm2, %xmm1, %xmm1
245 ; AVX-NEXT: vorps %xmm1, %xmm0, %xmm0
246 ; AVX-NEXT: retq
261 ; AVX-LABEL: combine_vec_add_shl_neg0:
262 ; AVX: # %bb.0:
263 ; AVX-NEXT: vpslld $5, %xmm1, %xmm1
264 ; AVX-NEXT: vpsubd %xmm1, %xmm0, %xmm0
265 ; AVX-NEXT: retq
280 ; AVX-LABEL: combine_vec_add_shl_neg1:
281 ; AVX: # %bb.0:
282 ; AVX-NEXT: vpslld $5, %xmm1, %xmm1
283 ; AVX-NEXT: vpsubd %xmm1, %xmm0, %xmm0
284 ; AVX-NEXT: retq
300 ; AVX-LABEL: combine_vec_add_and_compare:
301 ; AVX: # %bb.0:
302 ; AVX-NEXT: vpcmpeqd %xmm2, %xmm1, %xmm1
303 ; AVX-NEXT: vpsubd %xmm1, %xmm0, %xmm0
304 ; AVX-NEXT: retq
321 ; AVX-LABEL: combine_vec_add_sext:
322 ; AVX: # %bb.0:
323 ; AVX-NEXT: vpslld $31, %xmm0, %xmm0
324 ; AVX-NEXT: vpsrad $31, %xmm0, %xmm0
325 ; AVX-NEXT: vpaddd %xmm1, %xmm0, %xmm0
326 ; AVX-NEXT: retq
341 ; AVX-LABEL: combine_vec_add_sextinreg:
342 ; AVX: # %bb.0:
343 ; AVX-NEXT: vpslld $31, %xmm0, %xmm0
344 ; AVX-NEXT: vpsrad $31, %xmm0, %xmm0
345 ; AVX-NEXT: vpaddd %xmm1, %xmm0, %xmm0
346 ; AVX-NEXT: retq
361 ; AVX-LABEL: combine_add_add_not:
362 ; AVX: # %bb.0:
363 ; AVX-NEXT: movl %esi, %eax
364 ; AVX-NEXT: subl %edi, %eax
365 ; AVX-NEXT: retq
379 ; AVX-LABEL: combine_vec_add_add_not:
380 ; AVX: # %bb.0:
381 ; AVX-NEXT: vpsubd %xmm0, %xmm1, %xmm0
382 ; AVX-NEXT: retq