Home
last modified time | relevance | path

Searched refs:XOP (Results 1 – 25 of 85) sorted by relevance

1234

/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dxop-ifma.ll2 …e=x86_64-unknown-unknown -mattr=+avx,+xop | FileCheck %s --check-prefix=XOP --check-prefix=XOP-AVX1
3 …=x86_64-unknown-unknown -mattr=+avx2,+xop | FileCheck %s --check-prefix=XOP --check-prefix=XOP-AVX2
6 ; XOP-LABEL: test_mul_v8i16_add_v8i16:
7 ; XOP: # %bb.0:
8 ; XOP-NEXT: vpmacsww %xmm2, %xmm1, %xmm0, %xmm0
9 ; XOP-NEXT: retq
16 ; XOP-AVX1-LABEL: test_mul_v16i16_add_v16i16:
17 ; XOP-AVX1: # %bb.0:
18 ; XOP-AVX1-NEXT: vextractf128 $1, %ymm1, %xmm3
19 ; XOP-AVX1-NEXT: vextractf128 $1, %ymm0, %xmm4
[all …]
Dunfold-masked-merge-vector-variablemask-const.ll4 … -mtriple=x86_64-unknown-linux-gnu -mattr=+xop < %s | FileCheck %s --check-prefixes=CHECK,CHECK-XOP
31 ; CHECK-XOP-LABEL: out_constant_varx_mone:
32 ; CHECK-XOP: # %bb.0:
33 ; CHECK-XOP-NEXT: vmovdqa (%rdx), %xmm0
34 ; CHECK-XOP-NEXT: vpcmpeqd %xmm1, %xmm1, %xmm1
35 ; CHECK-XOP-NEXT: vpxor %xmm1, %xmm0, %xmm1
36 ; CHECK-XOP-NEXT: vpand (%rdi), %xmm0, %xmm0
37 ; CHECK-XOP-NEXT: vpor %xmm1, %xmm0, %xmm0
38 ; CHECK-XOP-NEXT: retq
67 ; CHECK-XOP-LABEL: in_constant_varx_mone:
[all …]
Dvec_cmp_sint-128.ll7 …-unknown -mattr=+avx,+xop | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
8 …unknown -mattr=+avx2,+xop | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
39 ; XOP-LABEL: eq_v2i64:
40 ; XOP: # %bb.0:
41 ; XOP-NEXT: vpcomeqq %xmm1, %xmm0, %xmm0
42 ; XOP-NEXT: retq
59 ; XOP-LABEL: eq_v4i32:
60 ; XOP: # %bb.0:
61 ; XOP-NEXT: vpcomeqd %xmm1, %xmm0, %xmm0
62 ; XOP-NEXT: retq
[all …]
Doddshuffles.ll7 ; RUN: llc < %s -mtriple=x86_64-pc-linux -mattr=+xop | FileCheck %s --check-prefix=XOP
32 ; XOP-LABEL: v3i64:
33 ; XOP: # %bb.0:
34 ; XOP-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm0[0],xmm1[0]
35 ; XOP-NEXT: vpextrq $1, %xmm0, 16(%rdi)
36 ; XOP-NEXT: vmovdqa %xmm1, (%rdi)
37 ; XOP-NEXT: retq
57 ; XOP-LABEL: v3f64:
58 ; XOP: # %bb.0:
59 ; XOP-NEXT: vunpcklpd {{.*#+}} xmm1 = xmm0[0],xmm1[0]
[all …]
Dvec_cmp_uint-128.ll7 …-unknown -mattr=+avx,+xop | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
8 …unknown -mattr=+avx2,+xop | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
39 ; XOP-LABEL: eq_v2i64:
40 ; XOP: # %bb.0:
41 ; XOP-NEXT: vpcomeqq %xmm1, %xmm0, %xmm0
42 ; XOP-NEXT: retq
59 ; XOP-LABEL: eq_v4i32:
60 ; XOP: # %bb.0:
61 ; XOP-NEXT: vpcomeqd %xmm1, %xmm0, %xmm0
62 ; XOP-NEXT: retq
[all …]
Dcombine-sdiv.ll7 …< %s -mtriple=x86_64-unknown-unknown -mattr=+avx,+xop | FileCheck %s --check-prefixes=CHECK,AVX,XOP
100 ; XOP-LABEL: combine_vec_sdiv_by_minsigned:
101 ; XOP: # %bb.0:
102 ; XOP-NEXT: vpcomeqd {{.*}}(%rip), %xmm0, %xmm0
103 ; XOP-NEXT: vpsrld $31, %xmm0, %xmm0
104 ; XOP-NEXT: retq
226 ; XOP-LABEL: combine_vec_sdiv_by_pos1:
227 ; XOP: # %bb.0:
228 ; XOP-NEXT: vpand {{.*}}(%rip), %xmm0, %xmm0
229 ; XOP-NEXT: vpshld {{.*}}(%rip), %xmm0, %xmm0
[all …]
Dcombine-rotates.ll3 …llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx,+xop | FileCheck %s --check-prefixes=CHECK,XOP
25 ; XOP-LABEL: combine_vec_rot_rot:
26 ; XOP: # %bb.0:
27 ; XOP-NEXT: vprotd {{.*}}(%rip), %xmm0, %xmm0
28 ; XOP-NEXT: retq
59 ; XOP-LABEL: combine_vec_rot_rot_splat:
60 ; XOP: # %bb.0:
61 ; XOP-NEXT: vprotd $7, %xmm0, %xmm0
62 ; XOP-NEXT: retq
117 ; XOP-LABEL: rotate_demanded_bits:
[all …]
Dvar-permute-256.ll2 … < %s -mtriple=x86_64-unknown-unknown -mattr=+xop | FileCheck %s --check-prefixes=AVX,AVXNOVLBW,XOP
15 ; XOP-LABEL: var_shuffle_v4i64:
16 ; XOP: # %bb.0:
17 ; XOP-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm0[2,3,2,3]
18 ; XOP-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
19 ; XOP-NEXT: vpaddq %xmm1, %xmm1, %xmm3
20 ; XOP-NEXT: vextractf128 $1, %ymm1, %xmm1
21 ; XOP-NEXT: vpaddq %xmm1, %xmm1, %xmm1
22 ; XOP-NEXT: vinsertf128 $1, %xmm1, %ymm3, %ymm1
23 ; XOP-NEXT: vpermil2pd $0, %ymm1, %ymm2, %ymm0, %ymm0
[all …]
Dvector-mul.ll4 …le=x86_64-unknown-unknown -mattr=+xop | FileCheck %s --check-prefix=X64-AVX --check-prefix=X64-XOP
81 ; X64-XOP-LABEL: mul_v16i8_32:
82 ; X64-XOP: # %bb.0:
83 ; X64-XOP-NEXT: vpshlb {{.*}}(%rip), %xmm0, %xmm0
84 ; X64-XOP-NEXT: retq
116 ; X64-XOP-LABEL: mul_v2i64_32_8:
117 ; X64-XOP: # %bb.0:
118 ; X64-XOP-NEXT: vpshlq {{.*}}(%rip), %xmm0, %xmm0
119 ; X64-XOP-NEXT: retq
140 ; X64-XOP-LABEL: mul_v4i32_1_2_4_8:
[all …]
Dvector-shift-shl-128.ll6 …-unknown -mattr=+xop,+avx | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
7 …unknown -mattr=+xop,+avx2 | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
224 ; XOP-LABEL: var_shift_v8i16:
225 ; XOP: # %bb.0:
226 ; XOP-NEXT: vpshlw %xmm1, %xmm0, %xmm0
227 ; XOP-NEXT: retq
357 ; XOP-LABEL: var_shift_v16i8:
358 ; XOP: # %bb.0:
359 ; XOP-NEXT: vpshlb %xmm1, %xmm0, %xmm0
360 ; XOP-NEXT: retq
[all …]
Dvector-shift-lshr-128.ll6 …-unknown -mattr=+xop,+avx | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
7 …unknown -mattr=+xop,+avx2 | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
287 ; XOP-LABEL: var_shift_v8i16:
288 ; XOP: # %bb.0:
289 ; XOP-NEXT: vpxor %xmm2, %xmm2, %xmm2
290 ; XOP-NEXT: vpsubw %xmm1, %xmm2, %xmm1
291 ; XOP-NEXT: vpshlw %xmm1, %xmm0, %xmm0
292 ; XOP-NEXT: retq
437 ; XOP-LABEL: var_shift_v16i8:
438 ; XOP: # %bb.0:
[all …]
Dvector-shift-ashr-128.ll6 …-unknown -mattr=+xop,+avx | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
7 …unknown -mattr=+xop,+avx2 | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
76 ; XOP-LABEL: var_shift_v2i64:
77 ; XOP: # %bb.0:
78 ; XOP-NEXT: vpxor %xmm2, %xmm2, %xmm2
79 ; XOP-NEXT: vpsubq %xmm1, %xmm2, %xmm1
80 ; XOP-NEXT: vpshaq %xmm1, %xmm0, %xmm0
81 ; XOP-NEXT: retq
316 ; XOP-LABEL: var_shift_v8i16:
317 ; XOP: # %bb.0:
[all …]
Dvector-rotate-128.ll10 …c < %s -mtriple=x86_64-unknown-unknown -mattr=+xop,+avx | FileCheck %s --check-prefixes=XOP,XOPAVX1
11 … < %s -mtriple=x86_64-unknown-unknown -mattr=+xop,+avx2 | FileCheck %s --check-prefixes=XOP,XOPAVX2
109 ; XOP-LABEL: var_rotate_v2i64:
110 ; XOP: # %bb.0:
111 ; XOP-NEXT: vprotq %xmm1, %xmm0, %xmm0
112 ; XOP-NEXT: retq
226 ; XOP-LABEL: var_rotate_v4i32:
227 ; XOP: # %bb.0:
228 ; XOP-NEXT: vprotd %xmm1, %xmm0, %xmm0
229 ; XOP-NEXT: retq
[all …]
/external/llvm/test/CodeGen/X86/
Dvec_cmp_sint-128.ll7 …-unknown -mattr=+avx,+xop | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
8 …unknown -mattr=+avx2,+xop | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
39 ; XOP-LABEL: eq_v2i64:
40 ; XOP: # BB#0:
41 ; XOP-NEXT: vpcomeqq %xmm1, %xmm0, %xmm0
42 ; XOP-NEXT: retq
59 ; XOP-LABEL: eq_v4i32:
60 ; XOP: # BB#0:
61 ; XOP-NEXT: vpcomeqd %xmm1, %xmm0, %xmm0
62 ; XOP-NEXT: retq
[all …]
Dvec_cmp_uint-128.ll7 …-unknown -mattr=+avx,+xop | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
8 …unknown -mattr=+avx2,+xop | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
39 ; XOP-LABEL: eq_v2i64:
40 ; XOP: # BB#0:
41 ; XOP-NEXT: vpcomeqq %xmm1, %xmm0, %xmm0
42 ; XOP-NEXT: retq
59 ; XOP-LABEL: eq_v4i32:
60 ; XOP: # BB#0:
61 ; XOP-NEXT: vpcomeqd %xmm1, %xmm0, %xmm0
62 ; XOP-NEXT: retq
[all …]
Dvector-shift-shl-128.ll6 …-unknown -mattr=+xop,+avx | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
7 …unknown -mattr=+xop,+avx2 | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
244 ; XOP-LABEL: var_shift_v8i16:
245 ; XOP: # BB#0:
246 ; XOP-NEXT: vpshlw %xmm1, %xmm0, %xmm0
247 ; XOP-NEXT: retq
364 ; XOP-LABEL: var_shift_v16i8:
365 ; XOP: # BB#0:
366 ; XOP-NEXT: vpshlb %xmm1, %xmm0, %xmm0
367 ; XOP-NEXT: retq
[all …]
Dvector-shift-lshr-128.ll6 …-unknown -mattr=+xop,+avx | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
7 …unknown -mattr=+xop,+avx2 | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
287 ; XOP-LABEL: var_shift_v8i16:
288 ; XOP: # BB#0:
289 ; XOP-NEXT: vpxor %xmm2, %xmm2, %xmm2
290 ; XOP-NEXT: vpsubw %xmm1, %xmm2, %xmm1
291 ; XOP-NEXT: vpshlw %xmm1, %xmm0, %xmm0
292 ; XOP-NEXT: retq
412 ; XOP-LABEL: var_shift_v16i8:
413 ; XOP: # BB#0:
[all …]
Dvector-rotate-128.ll6 …-unknown -mattr=+xop,+avx | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
7 …unknown -mattr=+xop,+avx2 | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
78 ; XOP-LABEL: var_rotate_v2i64:
79 ; XOP: # BB#0:
80 ; XOP-NEXT: vprotq %xmm1, %xmm0, %xmm0
81 ; XOP-NEXT: retq
208 ; XOP-LABEL: var_rotate_v4i32:
209 ; XOP: # BB#0:
210 ; XOP-NEXT: vprotd %xmm1, %xmm0, %xmm0
211 ; XOP-NEXT: retq
[all …]
Dvector-shift-ashr-128.ll6 …-unknown -mattr=+xop,+avx | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
7 …unknown -mattr=+xop,+avx2 | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPA…
75 ; XOP-LABEL: var_shift_v2i64:
76 ; XOP: # BB#0:
77 ; XOP-NEXT: vpxor %xmm2, %xmm2, %xmm2
78 ; XOP-NEXT: vpsubq %xmm1, %xmm2, %xmm1
79 ; XOP-NEXT: vpshaq %xmm1, %xmm0, %xmm0
80 ; XOP-NEXT: retq
318 ; XOP-LABEL: var_shift_v8i16:
319 ; XOP: # BB#0:
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CodeGenPrepare/X86/
Dx86-shuffle-sink.ll3 ; RUN: opt -S -codegenprepare -mcpu=bdver2 %s | FileCheck %s --check-prefixes=CHECK,CHECK-XOP
42 ; CHECK-XOP-LABEL: @test_16bit(
43 ; CHECK-XOP-NEXT: [[MASK:%.*]] = shufflevector <8 x i16> [[TMP:%.*]], <8 x i16> undef, <8 x i32>…
44 ; CHECK-XOP-NEXT: br i1 [[TST:%.*]], label [[IF_TRUE:%.*]], label [[IF_FALSE:%.*]]
45 ; CHECK-XOP: if_true:
46 ; CHECK-XOP-NEXT: ret <8 x i16> [[MASK]]
47 ; CHECK-XOP: if_false:
48 ; CHECK-XOP-NEXT: [[RES:%.*]] = shl <8 x i16> [[LHS:%.*]], [[MASK]]
49 ; CHECK-XOP-NEXT: ret <8 x i16> [[RES]]
113 ; CHECK-XOP-LABEL: @test_32bit(
[all …]
/external/llvm/test/Analysis/CostModel/X86/
Dctbits-cost.ll5 …ver2 -cost-model -analyze | FileCheck %s -check-prefix=CHECK -check-prefix=XOP -check-prefix=XOPAV…
6 …ver4 -cost-model -analyze | FileCheck %s -check-prefix=CHECK -check-prefix=XOP -check-prefix=XOPAV…
24 ; XOP: Found an estimated cost of 2 for instruction: %ctpop
33 ; XOP: Found an estimated cost of 2 for instruction: %ctpop
42 ; XOP: Found an estimated cost of 2 for instruction: %ctpop
51 ; XOP: Found an estimated cost of 2 for instruction: %ctpop
60 ; XOP: Found an estimated cost of 2 for instruction: %ctpop
69 ; XOP: Found an estimated cost of 2 for instruction: %ctpop
78 ; XOP: Found an estimated cost of 2 for instruction: %ctpop
87 ; XOP: Found an estimated cost of 2 for instruction: %ctpop
[all …]
Dbitreverse.ll5 …ver2 -cost-model -analyze | FileCheck %s -check-prefix=CHECK -check-prefix=XOP -check-prefix=XOPAVX
6 …ver4 -cost-model -analyze | FileCheck %s -check-prefix=CHECK -check-prefix=XOP -check-prefix=XOPAV…
21 ; XOP: Found an estimated cost of 3 for instruction: %bitreverse
32 ; XOP: Found an estimated cost of 3 for instruction: %bitreverse
43 ; XOP: Found an estimated cost of 3 for instruction: %bitreverse
54 ; XOP: Found an estimated cost of 3 for instruction: %bitreverse
77 ; XOP: Found an estimated cost of 1 for instruction: %bitreverse
88 ; XOP: Found an estimated cost of 4 for instruction: %bitreverse
99 ; XOP: Found an estimated cost of 1 for instruction: %bitreverse
110 ; XOP: Found an estimated cost of 4 for instruction: %bitreverse
[all …]
Dvshift-ashr-cost.ll5 …ver2 -cost-model -analyze | FileCheck %s -check-prefix=CHECK -check-prefix=XOP -check-prefix=XOPAVX
6 …ver4 -cost-model -analyze | FileCheck %s -check-prefix=CHECK -check-prefix=XOP -check-prefix=XOPAV…
20 ; XOP: Found an estimated cost of 2 for instruction: %shift
31 ; XOP: Found an estimated cost of 4 for instruction: %shift
66 ; XOP: Found an estimated cost of 2 for instruction: %shift
77 ; XOP: Found an estimated cost of 4 for instruction: %shift
88 ; XOP: Found an estimated cost of 2 for instruction: %shift
99 ; XOP: Found an estimated cost of 4 for instruction: %shift
114 ; XOP: Found an estimated cost of 2 for instruction: %shift
126 ; XOP: Found an estimated cost of 4 for instruction: %shift
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/CostModel/X86/
Dbitreverse.ll14 …-unknown-linux-gnu -cost-model -analyze -mattr=+xop | FileCheck %s -check-prefixes=CHECK,XOP,XOPAVX
15 …n-linux-gnu -cost-model -analyze -mattr=+xop,+avx2 | FileCheck %s -check-prefixes=CHECK,XOP,XOPAVX2
33 ; XOP-LABEL: 'var_bitreverse_i64'
34 ; XOP-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %bitreverse = call i64 @llvm…
35 ; XOP-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i64 %bitreverse
50 ; XOP-LABEL: 'var_bitreverse_i32'
51 ; XOP-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %bitreverse = call i32 @llvm…
52 ; XOP-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 %bitreverse
67 ; XOP-LABEL: 'var_bitreverse_i16'
68 ; XOP-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %bitreverse = call i16 @llvm…
[all …]
Darith-fma.ll2 …l -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+xop | FileCheck %s --check-prefixes=CHECK,XOP
9 ; XOP-LABEL: 'fma'
10 ; XOP-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F32 = call float @llvm.fma.…
11 ; XOP-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F32 = call <4 x float> @l…
12 ; XOP-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8F32 = call <8 x float> @l…
13 ; XOP-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16F32 = call <16 x float> …
14 ; XOP-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %F64 = call double @llvm.fma…
15 ; XOP-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2F64 = call <2 x double> @…
16 ; XOP-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4F64 = call <4 x double> @…
17 ; XOP-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8F64 = call <8 x double> @…
[all …]

1234