Home
last modified time | relevance | path

Searched refs:SLM (Results 1 – 25 of 64) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dmul-constant-i32.ll8 …lc < %s -mtriple=x86_64-unknown -print-schedule=true -mcpu=slm| FileCheck %s --check-prefix=X64-SLM
9 …l-constant-optimization=false -print-schedule=true -mcpu=slm| FileCheck %s --check-prefix=SLM-NOOPT
42 ; X64-SLM-LABEL: test_mul_by_1:
43 ; X64-SLM: # %bb.0:
44 ; X64-SLM-NEXT: movl %edi, %eax # sched: [1:0.50]
45 ; X64-SLM-NEXT: retq # sched: [4:1.00]
47 ; SLM-NOOPT-LABEL: test_mul_by_1:
48 ; SLM-NOOPT: # %bb.0:
49 ; SLM-NOOPT-NEXT: movl %edi, %eax # sched: [1:0.50]
50 ; SLM-NOOPT-NEXT: retq # sched: [4:1.00]
[all …]
Dmul-constant-i64.ll8 …lc < %s -mtriple=x86_64-unknown -print-schedule=true -mcpu=slm| FileCheck %s --check-prefix=X64-SLM
9 …l-constant-optimization=false -print-schedule=true -mcpu=slm| FileCheck %s --check-prefix=SLM-NOOPT
44 ; X64-SLM-LABEL: test_mul_by_1:
45 ; X64-SLM: # %bb.0:
46 ; X64-SLM-NEXT: movq %rdi, %rax # sched: [1:0.50]
47 ; X64-SLM-NEXT: retq # sched: [4:1.00]
49 ; SLM-NOOPT-LABEL: test_mul_by_1:
50 ; SLM-NOOPT: # %bb.0:
51 ; SLM-NOOPT-NEXT: movq %rdi, %rax # sched: [1:0.50]
52 ; SLM-NOOPT-NEXT: retq # sched: [4:1.00]
[all …]
Dmovbe.ll2 ; RUN: llc -mtriple=x86_64-linux -mcpu=slm < %s | FileCheck %s -check-prefix=SLM
14 ; SLM-LABEL: test1:
15 ; SLM: movbew %si, (%rdi)
24 ; SLM-LABEL: test2:
25 ; SLM: movbew (%rdi), %ax
34 ; SLM-LABEL: test3:
35 ; SLM: movbel %esi, (%rdi)
44 ; SLM-LABEL: test4:
45 ; SLM: movbel (%rdi), %eax
54 ; SLM-LABEL: test5:
[all …]
Dschedule-x86_32.ll4 …86-unknown-unknown -print-schedule -mcpu=slm | FileCheck %s --check-prefix=CHECK --check-prefix=SLM
31 ; SLM-LABEL: test_aaa:
32 ; SLM: # %bb.0:
33 ; SLM-NEXT: movb {{[0-9]+}}(%esp), %al # sched: [3:1.00]
34 ; SLM-NEXT: #APP
35 ; SLM-NEXT: aaa # sched: [100:1.00]
36 ; SLM-NEXT: #NO_APP
37 ; SLM-NEXT: retl # sched: [4:1.00]
117 ; SLM-LABEL: test_aad:
118 ; SLM: # %bb.0:
[all …]
Dx87-schedule.ll4 …86-unknown-unknown -print-schedule -mcpu=slm | FileCheck %s --check-prefix=CHECK --check-prefix=SLM
29 ; SLM-LABEL: test_f2xm1:
30 ; SLM: # %bb.0:
31 ; SLM-NEXT: #APP
32 ; SLM-NEXT: f2xm1 # sched: [100:1.00]
33 ; SLM-NEXT: #NO_APP
34 ; SLM-NEXT: retl # sched: [4:1.00]
103 ; SLM-LABEL: test_fabs:
104 ; SLM: # %bb.0:
105 ; SLM-NEXT: #APP
[all …]
Dschedule-x86_64.ll4 …64-unknown-unknown -print-schedule -mcpu=slm | FileCheck %s --check-prefix=CHECK --check-prefix=SLM
39 ; SLM-LABEL: test_adc_8:
40 ; SLM: # %bb.0:
41 ; SLM-NEXT: #APP
42 ; SLM-NEXT: adcb $7, %al # sched: [1:0.50]
43 ; SLM-NEXT: adcb $7, %dil # sched: [1:0.50]
44 ; SLM-NEXT: adcb $7, (%rsi) # sched: [5:2.00]
45 ; SLM-NEXT: adcb %dl, %dil # sched: [1:0.50]
46 ; SLM-NEXT: adcb %dil, (%rsi) # sched: [5:2.00]
47 ; SLM-NEXT: adcb (%rsi), %dil # sched: [4:1.00]
[all …]
Dmmx-schedule.ll4 …64-unknown-unknown -print-schedule -mcpu=slm | FileCheck %s --check-prefix=CHECK --check-prefix=SLM
31 ; SLM-LABEL: test_cvtpd2pi:
32 ; SLM: # %bb.0:
33 ; SLM-NEXT: cvtpd2pi (%rdi), %mm1 # sched: [7:1.00]
34 ; SLM-NEXT: cvtpd2pi %xmm0, %mm0 # sched: [4:0.50]
35 ; SLM-NEXT: por %mm0, %mm1 # sched: [1:0.50]
36 ; SLM-NEXT: movq %mm1, %rax # sched: [1:0.50]
37 ; SLM-NEXT: retq # sched: [4:1.00]
118 ; SLM-LABEL: test_cvtpi2pd:
119 ; SLM: # %bb.0:
[all …]
Dlea64-schedule.ll4 …wn-unknown -print-schedule -mcpu=slm | FileCheck %s --check-prefix=CHECK --check-prefix=SLM
31 ; SLM-LABEL: test_lea_offset:
32 ; SLM: # %bb.0:
33 ; SLM-NEXT: leaq -24(%rdi), %rax # sched: [1:1.00]
34 ; SLM-NEXT: retq # sched: [4:1.00]
86 ; SLM-LABEL: test_lea_offset_big:
87 ; SLM: # %bb.0:
88 ; SLM-NEXT: leaq 1024(%rdi), %rax # sched: [1:1.00]
89 ; SLM-NEXT: retq # sched: [4:1.00]
142 ; SLM-LABEL: test_lea_add:
[all …]
Dcmov-schedule.ll4 …64-unknown-unknown -print-schedule -mcpu=slm | FileCheck %s --check-prefix=CHECK --check-prefix=SLM
147 ; SLM-LABEL: test_cmov_16:
148 ; SLM: # %bb.0:
149 ; SLM-NEXT: #APP
150 ; SLM-NEXT: cmovow %si, %di # sched: [2:1.00]
151 ; SLM-NEXT: cmovnow %si, %di # sched: [2:1.00]
152 ; SLM-NEXT: cmovbw %si, %di # sched: [2:1.00]
153 ; SLM-NEXT: cmovbw %si, %di # sched: [2:1.00]
154 ; SLM-NEXT: cmovbw %si, %di # sched: [2:1.00]
155 ; SLM-NEXT: cmovaew %si, %di # sched: [2:1.00]
[all …]
Dpopcnt-schedule.ll3 …wn-unknown -print-schedule -mcpu=slm | FileCheck %s --check-prefix=CHECK --check-prefix=SLM
4 …wn-unknown -print-schedule -mcpu=goldmont | FileCheck %s --check-prefix=CHECK --check-prefix=SLM
23 ; SLM-LABEL: test_ctpop_i16:
24 ; SLM: # %bb.0:
25 ; SLM-NEXT: popcntw (%rsi), %cx # sched: [6:1.00]
26 ; SLM-NEXT: popcntw %di, %ax # sched: [3:1.00]
27 ; SLM-NEXT: orl %ecx, %eax # sched: [1:0.50]
28 ; SLM-NEXT: # kill: def $ax killed $ax killed $eax
29 ; SLM-NEXT: retq # sched: [4:1.00]
94 ; SLM-LABEL: test_ctpop_i32:
[all …]
Dlea32-schedule.ll4 …wn-unknown -print-schedule -mcpu=slm | FileCheck %s --check-prefix=CHECK --check-prefix=SLM
33 ; SLM-LABEL: test_lea_offset:
34 ; SLM: # %bb.0:
35 ; SLM-NEXT: # kill: def $edi killed $edi def $rdi
36 ; SLM-NEXT: leal -24(%rdi), %eax # sched: [1:1.00]
37 ; SLM-NEXT: retq # sched: [4:1.00]
97 ; SLM-LABEL: test_lea_offset_big:
98 ; SLM: # %bb.0:
99 ; SLM-NEXT: # kill: def $edi killed $edi def $rdi
100 ; SLM-NEXT: leal 1024(%rdi), %eax # sched: [1:1.00]
[all …]
Dmovbe-schedule.ll4 …64-unknown-unknown -print-schedule -mcpu=slm | FileCheck %s --check-prefix=CHECK --check-prefix=SLM
29 ; SLM-LABEL: test_movbe_i16:
30 ; SLM: # %bb.0:
31 ; SLM-NEXT: movbew (%rdi), %ax # sched: [4:1.00]
32 ; SLM-NEXT: movbew %si, (%rdx) # sched: [1:1.00]
33 ; SLM-NEXT: retq # sched: [4:1.00]
89 ; SLM-LABEL: test_movbe_i32:
90 ; SLM: # %bb.0:
91 ; SLM-NEXT: movbel (%rdi), %eax # sched: [4:1.00]
92 ; SLM-NEXT: movbel %esi, (%rdx) # sched: [1:1.00]
[all …]
Dsse-schedule.ll4 …64-unknown-unknown -print-schedule -mcpu=slm -mattr=-sse3 | FileCheck %s --check-prefixes=CHECK,SLM
37 ; SLM-LABEL: test_addps:
38 ; SLM: # %bb.0:
39 ; SLM-NEXT: addps %xmm1, %xmm0 # sched: [3:1.00]
40 ; SLM-NEXT: addps (%rdi), %xmm0 # sched: [6:1.00]
41 ; SLM-NEXT: retq # sched: [4:1.00]
145 ; SLM-LABEL: test_addss:
146 ; SLM: # %bb.0:
147 ; SLM-NEXT: addss %xmm1, %xmm0 # sched: [3:1.00]
148 ; SLM-NEXT: addss (%rdi), %xmm0 # sched: [6:1.00]
[all …]
Dsse41-schedule.ll3 …-unknown-unknown -print-schedule -mcpu=slm -mattr=-sse4.2 | FileCheck %s --check-prefixes=CHECK,SLM
29 ; SLM-LABEL: test_blendpd:
30 ; SLM: # %bb.0:
31 ; SLM-NEXT: blendpd {{.*#+}} xmm0 = xmm0[0],xmm1[1] sched: [1:1.00]
32 ; SLM-NEXT: addpd %xmm1, %xmm0 # sched: [3:1.00]
33 ; SLM-NEXT: blendpd {{.*#+}} xmm0 = xmm0[0],mem[1] sched: [4:1.00]
34 ; SLM-NEXT: retq # sched: [4:1.00]
148 ; SLM-LABEL: test_blendps:
149 ; SLM: # %bb.0:
150 ; SLM-NEXT: blendps {{.*#+}} xmm0 = xmm0[0],xmm1[1,2],xmm0[3] sched: [1:1.00]
[all …]
Dsse2-schedule.ll4 …64-unknown-unknown -print-schedule -mcpu=slm -mattr=-sse3 | FileCheck %s --check-prefixes=CHECK,SLM
35 ; SLM-LABEL: test_addpd:
36 ; SLM: # %bb.0:
37 ; SLM-NEXT: addpd %xmm1, %xmm0 # sched: [3:1.00]
38 ; SLM-NEXT: addpd (%rdi), %xmm0 # sched: [6:1.00]
39 ; SLM-NEXT: retq # sched: [4:1.00]
143 ; SLM-LABEL: test_addsd:
144 ; SLM: # %bb.0:
145 ; SLM-NEXT: addsd %xmm1, %xmm0 # sched: [3:1.00]
146 ; SLM-NEXT: addsd (%rdi), %xmm0 # sched: [6:1.00]
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/CostModel/X86/
Dslm-arith-costs.ll2 ; RUN: opt < %s -cost-model -analyze -mcpu=slm | FileCheck %s --check-prefixes=CHECK,SLM
10 ; SLM-LABEL: 'slm-costs_64_vector_add'
11 ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %res = add <2 x i64> %a, %b
12 ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret <2 x i64> %res
24 ; SLM-LABEL: 'slm-costs_64_vector_sub'
25 ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %res = sub <2 x i64> %a, %b
26 ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret <2 x i64> %res
49 ; SLM-LABEL: 'slm-costs_8_v2_mul'
50 ; SLM-NEXT: Cost Model: Found an estimated cost of 17 for instruction: %res = mul nsw <2 x i8> %a,…
51 ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret <2 x i8> %res
[all …]
/external/llvm/test/CodeGen/X86/
Dmovbe.ll2 ; RUN: llc -mtriple=x86_64-linux -mcpu=slm < %s | FileCheck %s -check-prefix=SLM
14 ; SLM-LABEL: test1:
15 ; SLM: movbew %si, (%rdi)
24 ; SLM-LABEL: test2:
25 ; SLM: movbew (%rdi), %ax
34 ; SLM-LABEL: test3:
35 ; SLM: movbel %esi, (%rdi)
44 ; SLM-LABEL: test4:
45 ; SLM: movbel (%rdi), %eax
54 ; SLM-LABEL: test5:
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SLPVectorizer/X86/
Dalternate-cast.ll3 …slm -basicaa -slp-vectorizer -instcombine -S | FileCheck %s --check-prefix=CHECK --check-prefix=SLM
37 ; SLM-LABEL: @sitofp_uitofp(
38 ; SLM-NEXT: [[A0:%.*]] = extractelement <8 x i32> [[A:%.*]], i32 0
39 ; SLM-NEXT: [[A1:%.*]] = extractelement <8 x i32> [[A]], i32 1
40 ; SLM-NEXT: [[A2:%.*]] = extractelement <8 x i32> [[A]], i32 2
41 ; SLM-NEXT: [[A3:%.*]] = extractelement <8 x i32> [[A]], i32 3
42 ; SLM-NEXT: [[A4:%.*]] = extractelement <8 x i32> [[A]], i32 4
43 ; SLM-NEXT: [[A5:%.*]] = extractelement <8 x i32> [[A]], i32 5
44 ; SLM-NEXT: [[A6:%.*]] = extractelement <8 x i32> [[A]], i32 6
45 ; SLM-NEXT: [[A7:%.*]] = extractelement <8 x i32> [[A]], i32 7
[all …]
Dalternate-fp.ll3 …slm -basicaa -slp-vectorizer -instcombine -S | FileCheck %s --check-prefix=CHECK --check-prefix=SLM
58 ; SLM-LABEL: @fmul_fdiv_v8f32(
59 ; SLM-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A:%.*]], <8 x float> undef, <4 x i32> <i3…
60 ; SLM-NEXT: [[TMP2:%.*]] = shufflevector <8 x float> [[B:%.*]], <8 x float> undef, <4 x i32> <i3…
61 ; SLM-NEXT: [[TMP3:%.*]] = fmul <4 x float> [[TMP1]], [[TMP2]]
62 ; SLM-NEXT: [[TMP4:%.*]] = fdiv <4 x float> [[TMP1]], [[TMP2]]
63 ; SLM-NEXT: [[TMP5:%.*]] = shufflevector <8 x float> [[A]], <8 x float> undef, <4 x i32> <i32 4,…
64 ; SLM-NEXT: [[TMP6:%.*]] = shufflevector <8 x float> [[B]], <8 x float> undef, <4 x i32> <i32 4,…
65 ; SLM-NEXT: [[TMP7:%.*]] = fmul <4 x float> [[TMP5]], [[TMP6]]
66 ; SLM-NEXT: [[TMP8:%.*]] = shufflevector <4 x float> [[TMP7]], <4 x float> undef, <8 x i32> <i32…
[all …]
Dhsub.ll3 …slm -basicaa -slp-vectorizer -instcombine -S | FileCheck %s --check-prefix=CHECK --check-prefix=SLM
20 ; SLM-LABEL: @test_v2f64(
21 ; SLM-NEXT: [[A0:%.*]] = extractelement <2 x double> [[A:%.*]], i32 0
22 ; SLM-NEXT: [[A1:%.*]] = extractelement <2 x double> [[A]], i32 1
23 ; SLM-NEXT: [[B0:%.*]] = extractelement <2 x double> [[B:%.*]], i32 0
24 ; SLM-NEXT: [[B1:%.*]] = extractelement <2 x double> [[B]], i32 1
25 ; SLM-NEXT: [[R0:%.*]] = fsub double [[A0]], [[A1]]
26 ; SLM-NEXT: [[R1:%.*]] = fsub double [[B0]], [[B1]]
27 ; SLM-NEXT: [[R00:%.*]] = insertelement <2 x double> undef, double [[R0]], i32 0
28 ; SLM-NEXT: [[R01:%.*]] = insertelement <2 x double> [[R00]], double [[R1]], i32 1
[all …]
Dhadd.ll3 …slm -basicaa -slp-vectorizer -instcombine -S | FileCheck %s --check-prefix=CHECK --check-prefix=SLM
20 ; SLM-LABEL: @test_v2f64(
21 ; SLM-NEXT: [[A0:%.*]] = extractelement <2 x double> [[A:%.*]], i32 0
22 ; SLM-NEXT: [[A1:%.*]] = extractelement <2 x double> [[A]], i32 1
23 ; SLM-NEXT: [[B0:%.*]] = extractelement <2 x double> [[B:%.*]], i32 0
24 ; SLM-NEXT: [[B1:%.*]] = extractelement <2 x double> [[B]], i32 1
25 ; SLM-NEXT: [[R0:%.*]] = fadd double [[A0]], [[A1]]
26 ; SLM-NEXT: [[R1:%.*]] = fadd double [[B0]], [[B1]]
27 ; SLM-NEXT: [[R00:%.*]] = insertelement <2 x double> undef, double [[R0]], i32 0
28 ; SLM-NEXT: [[R01:%.*]] = insertelement <2 x double> [[R00]], double [[R1]], i32 1
[all …]
Dalternate-int.ll3 …slm -basicaa -slp-vectorizer -instcombine -S | FileCheck %s --check-prefix=CHECK --check-prefix=SLM
84 ; SLM-LABEL: @add_mul_v4i32(
85 ; SLM-NEXT: [[A0:%.*]] = extractelement <4 x i32> [[A:%.*]], i32 0
86 ; SLM-NEXT: [[A1:%.*]] = extractelement <4 x i32> [[A]], i32 1
87 ; SLM-NEXT: [[A2:%.*]] = extractelement <4 x i32> [[A]], i32 2
88 ; SLM-NEXT: [[A3:%.*]] = extractelement <4 x i32> [[A]], i32 3
89 ; SLM-NEXT: [[B0:%.*]] = extractelement <4 x i32> [[B:%.*]], i32 0
90 ; SLM-NEXT: [[B1:%.*]] = extractelement <4 x i32> [[B]], i32 1
91 ; SLM-NEXT: [[B2:%.*]] = extractelement <4 x i32> [[B]], i32 2
92 ; SLM-NEXT: [[B3:%.*]] = extractelement <4 x i32> [[B]], i32 3
[all …]
Dsext.ll3 …=x86_64-unknown -mcpu=slm -basicaa -slp-vectorizer -S | FileCheck %s --check-prefixes=CHECK,SSE,SLM
24 ; SLM-LABEL: @loadext_2i8_to_2i64(
25 ; SLM-NEXT: [[P1:%.*]] = getelementptr inbounds i8, i8* [[P0:%.*]], i64 1
26 ; SLM-NEXT: [[TMP1:%.*]] = bitcast i8* [[P0]] to <2 x i8>*
27 ; SLM-NEXT: [[TMP2:%.*]] = load <2 x i8>, <2 x i8>* [[TMP1]], align 1
28 ; SLM-NEXT: [[TMP3:%.*]] = sext <2 x i8> [[TMP2]] to <2 x i64>
29 ; SLM-NEXT: [[TMP4:%.*]] = extractelement <2 x i64> [[TMP3]], i32 0
30 ; SLM-NEXT: [[V0:%.*]] = insertelement <2 x i64> undef, i64 [[TMP4]], i32 0
31 ; SLM-NEXT: [[TMP5:%.*]] = extractelement <2 x i64> [[TMP3]], i32 1
32 ; SLM-NEXT: [[V1:%.*]] = insertelement <2 x i64> [[V0]], i64 [[TMP5]], i32 1
[all …]
Dzext.ll3 …=x86_64-unknown -mcpu=slm -basicaa -slp-vectorizer -S | FileCheck %s --check-prefixes=CHECK,SSE,SLM
24 ; SLM-LABEL: @loadext_2i8_to_2i64(
25 ; SLM-NEXT: [[P1:%.*]] = getelementptr inbounds i8, i8* [[P0:%.*]], i64 1
26 ; SLM-NEXT: [[TMP1:%.*]] = bitcast i8* [[P0]] to <2 x i8>*
27 ; SLM-NEXT: [[TMP2:%.*]] = load <2 x i8>, <2 x i8>* [[TMP1]], align 1
28 ; SLM-NEXT: [[TMP3:%.*]] = zext <2 x i8> [[TMP2]] to <2 x i64>
29 ; SLM-NEXT: [[TMP4:%.*]] = extractelement <2 x i64> [[TMP3]], i32 0
30 ; SLM-NEXT: [[V0:%.*]] = insertelement <2 x i64> undef, i64 [[TMP4]], i32 0
31 ; SLM-NEXT: [[TMP5:%.*]] = extractelement <2 x i64> [[TMP3]], i32 1
32 ; SLM-NEXT: [[V1:%.*]] = insertelement <2 x i64> [[V0]], i64 [[TMP5]], i32 1
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/X86/
Dmul_slm_16bit.ll2 ; RUN: opt < %s -S -debug -loop-vectorize -mcpu=slm 2>&1 | FileCheck %s --check-prefix=SLM
35 ; SLM: cost of 3 for VF 4 {{.*}} mul nsw i32
39 ; SLM: cost of 5 for VF 4 {{.*}} mul nsw i32
45 ; SLM: cost of 3 for VF 4 {{.*}} mul nsw i32
51 ; SLM: cost of 3 for VF 4 {{.*}} mul nsw i32
56 ; SLM: cost of 5 for VF 4 {{.*}} mul nsw i32
61 ; SLM: cost of 5 for VF 4 {{.*}} mul nsw i32
66 ; SLM: cost of 3 for VF 4 {{.*}} mul nsw i32
104 ; SLM: cost of 5 for VF 4 {{.*}} mul nsw i32
108 ; SLM: cost of 11 for VF 4 {{.*}} mul nsw i32
[all …]

123