Home
last modified time | relevance | path

Searched refs:cost (Results 1 – 25 of 714) sorted by relevance

12345678910>>...29

/external/llvm/test/Analysis/CostModel/X86/
Dcmp.ll1 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=pentium4 | FileCheck…
2 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=yonah | FileCheck --…
3 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=core2 | FileCheck --…
4 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=penryn | FileCheck -…
5 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7 | FileCheck -…
6 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx | FileChe…
7 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=core-avx2 | FileChec…
8 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=knl | FileCheck --ch…
15 ;SSE2: cost of 3 {{.*}} fcmp
16 ;SSE3: cost of 3 {{.*}} fcmp
[all …]
Darith.ll1 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+ssse3 | FileCheck …
2 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+sse4.2 | FileCheck…
3 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+avx | FileCheck %s…
4 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mattr=+avx2 | FileCheck %…
11 ; SSSE3: cost of 1 {{.*}} %A = add
12 ; SSE42: cost of 1 {{.*}} %A = add
13 ; AVX: cost of 1 {{.*}} %A = add
14 ; AVX2: cost of 1 {{.*}} %A = add
16 ; SSSE3: cost of 2 {{.*}} %B = add
17 ; SSE42: cost of 2 {{.*}} %B = add
[all …]
Dsitofp.ll1 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+sse2 -cost-model -analyze < %s | FileCheck --check-…
2 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+avx -cost-model -analyze < %s | FileCheck --check-…
3 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+avx2 -cost-model -analyze < %s | FileCheck --check-…
4 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+avx512f -cost-model -analyze < %s | FileCheck --che…
8 ; SSE2: cost of 20 {{.*}} sitofp
11 ; AVX1: cost of 4 {{.*}} sitofp
14 ; AVX2: cost of 4 {{.*}} sitofp
17 ; AVX512F: cost of 4 {{.*}} sitofp
24 ; SSE2: cost of 40 {{.*}} sitofp
27 ; AVX1: cost of 3 {{.*}} sitofp
[all …]
Duitofp.ll1 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+sse2 -cost-model -analyze < %s | FileCheck --check-…
2 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+avx -cost-model -analyze < %s | FileCheck --check-…
3 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+avx2 -cost-model -analyze < %s | FileCheck --check-…
4 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+avx512f -cost-model -analyze < %s | FileCheck --che…
5 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+avx512dq -cost-model -analyze < %s | FileCheck --ch…
9 ; SSE2: cost of 20 {{.*}} uitofp
12 ; AVX1: cost of 4 {{.*}} uitofp
15 ; AVX2: cost of 4 {{.*}} uitofp
18 ; AVX512F: cost of 2 {{.*}} uitofp
25 ; SSE2: cost of 40 {{.*}} uitofp
[all …]
Dcast.ll1 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=knl | FileCheck %s -…
2 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=core-avx2 | FileChec…
3 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx | FileChe…
11 ;CHECK: cost of 1 {{.*}} zext
13 ;CHECK: cost of 2 {{.*}} sext
15 ;CHECK: cost of 0 {{.*}} trunc
19 ;CHECK-NOT: cost of 1 {{.*}} zext
21 ;CHECK-NOT: cost of 2 {{.*}} sext
23 ;CHECK-NOT: cost of 2 {{.*}} trunc
28 ;CHECK: cost of 1 {{.*}} zext
[all …]
Dvshift-lshr-cost.ll1 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+sse2,-sse4.1 -cost-model -an…
2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -cost-model -analyze | FileCheck %s …
3 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7-avx -cost-model -analyze | FileCheck…
4 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core-avx2 -cost-model -analyze | FileCheck …
5 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver2 -cost-model -analyze | FileCheck %s …
6 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver4 -cost-model -analyze | FileCheck %s …
8 ; Verify the cost of vector logical shift right instructions.
16 ; SSE2: Found an estimated cost of 4 for instruction: %shift
17 ; SSE41: Found an estimated cost of 4 for instruction: %shift
18 ; AVX: Found an estimated cost of 4 for instruction: %shift
[all …]
Dvshift-ashr-cost.ll1 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+sse2,-sse4.1 -cost-model -an…
2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -cost-model -analyze | FileCheck %s …
3 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7-avx -cost-model -analyze | FileCheck…
4 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core-avx2 -cost-model -analyze | FileCheck …
5 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver2 -cost-model -analyze | FileCheck %s …
6 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver4 -cost-model -analyze | FileCheck %s …
8 ; Verify the cost of vector arithmetic shift right instructions.
16 ; SSE2: Found an estimated cost of 12 for instruction: %shift
17 ; SSE41: Found an estimated cost of 12 for instruction: %shift
18 ; AVX: Found an estimated cost of 12 for instruction: %shift
[all …]
Dvshift-shl-cost.ll1 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+sse2,-sse4.1 -cost-model -an…
2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -cost-model -analyze | FileCheck %s …
3 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7-avx -cost-model -analyze | FileCheck…
4 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core-avx2 -cost-model -analyze | FileCheck …
5 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver2 -cost-model -analyze | FileCheck %s …
6 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver4 -cost-model -analyze | FileCheck %s …
8 ; Verify the cost of vector shift left instructions.
17 ; SSE2: Found an estimated cost of 4 for instruction: %shift
18 ; SSE41: Found an estimated cost of 4 for instruction: %shift
19 ; AVX: Found an estimated cost of 4 for instruction: %shift
[all …]
Dbitreverse.ll1 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=pentium4 -cost-model -analyze | FileCheck %…
2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -cost-model -analyze | FileCheck %s …
3 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7-avx -cost-model -analyze | FileCheck…
4 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core-avx2 -cost-model -analyze | FileCheck …
5 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver2 -cost-model -analyze | FileCheck %s …
6 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver4 -cost-model -analyze | FileCheck %s …
8 ; Verify the cost of scalar bitreverse instructions.
17 ; SSE2: Found an estimated cost of 1 for instruction: %bitreverse
18 ; SSE42: Found an estimated cost of 1 for instruction: %bitreverse
19 ; AVX: Found an estimated cost of 1 for instruction: %bitreverse
[all …]
Dload_store.ll1 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx | FileChe…
8 ;CHECK: cost of 1 {{.*}} store
10 ;CHECK: cost of 1 {{.*}} store
12 ;CHECK: cost of 1 {{.*}} store
14 ;CHECK: cost of 1 {{.*}} store
16 ;CHECK: cost of 2 {{.*}} store
19 ;CHECK: cost of 1 {{.*}} store
21 ;CHECK: cost of 1 {{.*}} store
23 ;CHECK: cost of 2 {{.*}} store
26 ;CHECK: cost of 1 {{.*}} store
[all …]
Dctbits-cost.ll1 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=pentium4 -cost-model -analyze | FileCheck %…
2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -cost-model -analyze | FileCheck %s …
3 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7-avx -cost-model -analyze | FileCheck…
4 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core-avx2 -cost-model -analyze | FileCheck …
5 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver2 -cost-model -analyze | FileCheck %s …
6 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver4 -cost-model -analyze | FileCheck %s …
8 ; Verify the cost of vector population count instructions.
22 ; SSE: Found an estimated cost of 2 for instruction: %ctpop
23 ; AVX: Found an estimated cost of 2 for instruction: %ctpop
24 ; XOP: Found an estimated cost of 2 for instruction: %ctpop
[all …]
Dsse-itoi.ll1 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+sse2 -cost-model -analyze < %s | FileCheck --check-…
2 ; RUN: opt -mtriple=x86_64-apple-darwin -mattr=+sse4.1 -cost-model -analyze < %s | FileCheck --chec…
6 ; SSE2: cost of 4 {{.*}} zext
9 ; SSE41: cost of 2 {{.*}} zext
19 ; SSE2: cost of 8 {{.*}} sext
22 ; SSE41: cost of 2 {{.*}} sext
32 ; SSE2: cost of 3 {{.*}} zext
35 ; SSE41: cost of 2 {{.*}} zext
45 ; SSE2: cost of 10 {{.*}} sext
48 ; SSE41: cost of 2 {{.*}} sext
[all …]
Dbswap.ll1 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=pentium4 -cost-model -analyze | FileCheck %…
2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -cost-model -analyze | FileCheck %s …
3 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7-avx -cost-model -analyze | FileCheck…
4 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core-avx2 -cost-model -analyze | FileCheck …
5 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver2 -cost-model -analyze | FileCheck %s …
6 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=bdver4 -cost-model -analyze | FileCheck %s …
8 ; Verify the cost of vector bswap instructions.
20 ; SSE2: Found an estimated cost of 7 for instruction: %bswap
21 ; SSE42: Found an estimated cost of 1 for instruction: %bswap
22 ; AVX: Found an estimated cost of 1 for instruction: %bswap
[all …]
Dinsert-extract-at-zero.ll1 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx | FileChe…
7 ;CHECK: cost of 0 {{.*}} extract
9 ;CHECK: cost of 1 {{.*}} extract
11 ;CHECK: cost of 1 {{.*}} extract
14 ;CHECK: cost of 0 {{.*}} extract
16 ;CHECK: cost of 1 {{.*}} extract
19 ;CHECK: cost of 1 {{.*}} extract
22 ;CHECK: cost of 0 {{.*}} insert
24 ;CHECK: cost of 1 {{.*}} insert
26 ;CHECK: cost of 1 {{.*}} insert
[all …]
Dvdiv-cost.ll1 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+sse2,-sse4.1 -cost-model -an…
2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core-avx2 -cost-model -analyze | FileCheck …
9 ; SSE2: Found an estimated cost of 15 for instruction: %div
10 ; AVX2: Found an estimated cost of 15 for instruction: %div
18 ; SSE2: Found an estimated cost of 30 for instruction: %div
19 ; AVX2: Found an estimated cost of 15 for instruction: %div
27 ; SSE2: Found an estimated cost of 6 for instruction: %div
28 ; AVX2: Found an estimated cost of 6 for instruction: %div
36 ; SSE2: Found an estimated cost of 12 for instruction: %div
37 ; AVX2: Found an estimated cost of 6 for instruction: %div
[all …]
Dvectorized-loop.ll1 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx | FileChe…
8 ;CHECK: cost of 1 {{.*}} icmp
13 ;CHECK: cost of 1 {{.*}} sext
18 ;CHECK: cost of 1 {{.*}} add
21 ;CHECK: cost of 1 {{.*}} icmp
29 ;CHECK: cost of 0 {{.*}} bitcast
31 ;CHECK: cost of 2 {{.*}} load
33 ;CHECK: cost of 4 {{.*}} mul
37 ;CHECK: cost of 2 {{.*}} load
39 ;CHECK: cost of 4 {{.*}} add
[all …]
Dgep.ll1 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx | FileChe…
10 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i8, i8*
12 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i16, i16*
14 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i32, i32*
16 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i64, i64*
19 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds float, float*
21 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds double, double*
24 ; Vector geps should also have zero cost.
25 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i8>, <4 x i8>*
27 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i16>, <4 x i16>*
[all …]
/external/llvm/test/Analysis/CostModel/ARM/
Dcast.ll1 ; RUN: opt < %s -cost-model -analyze -mtriple=thumbv7-apple-ios6.0.0 -mcpu=cortex-a8 | FileCheck %s
8 ; CHECK: Found an estimated cost of 1 for instruction: %r0 = sext i1 undef to i8
10 ; CHECK: Found an estimated cost of 1 for instruction: %r1 = zext i1 undef to i8
12 ; CHECK: Found an estimated cost of 1 for instruction: %r2 = sext i1 undef to i16
14 ; CHECK: Found an estimated cost of 1 for instruction: %r3 = zext i1 undef to i16
16 ; CHECK: Found an estimated cost of 1 for instruction: %r4 = sext i1 undef to i32
18 ; CHECK: Found an estimated cost of 1 for instruction: %r5 = zext i1 undef to i32
20 ; CHECK: Found an estimated cost of 1 for instruction: %r6 = sext i1 undef to i64
22 ; CHECK: Found an estimated cost of 1 for instruction: %r7 = zext i1 undef to i64
24 ; CHECK: Found an estimated cost of 0 for instruction: %r8 = trunc i8 undef to i1
[all …]
Dselect.ll1 ; RUN: opt < %s -cost-model -analyze -mtriple=thumbv7-apple-ios6.0.0 -mcpu=swift | FileCheck %s
8 ; CHECK: cost of 1 {{.*}} select
10 ; CHECK: cost of 1 {{.*}} select
12 ; CHECK: cost of 1 {{.*}} select
14 ; CHECK: cost of 2 {{.*}} select
16 ; CHECK: cost of 1 {{.*}} select
18 ; CHECK: cost of 1 {{.*}} select
22 ; CHECK: cost of 1 {{.*}} select
24 ; CHECK: cost of 1 {{.*}} select
26 ; CHECK: cost of 1 {{.*}} select
[all …]
Ddivrem.ll1 ; RUN: opt < %s -cost-model -analyze -mtriple=thumbv7-apple-ios6.0.0 -mcpu=cortex-a9 | FileCheck %s
5 ; CHECK: cost of 40 {{.*}} sdiv
12 ; CHECK: cost of 40 {{.*}} sdiv
19 ; CHECK: cost of 40 {{.*}} sdiv
26 ; CHECK: cost of 40 {{.*}} sdiv
33 ; CHECK: cost of 10 {{.*}} sdiv
40 ; CHECK: cost of 10 {{.*}} sdiv
47 ; CHECK: cost of 80 {{.*}} sdiv
54 ; CHECK: cost of 80 {{.*}} sdiv
61 ; CHECK: cost of 10 {{.*}} sdiv
[all …]
Dgep.ll1 ; RUN: opt -cost-model -analyze -mtriple=thumbv7-apple-ios6.0.0 -mcpu=swift < %s | FileCheck %s
8 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i8, i8*
10 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i16, i16*
12 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i32, i32*
14 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds i64, i64*
16 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds float, float*
18 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds double, double*
20 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i8>, <4 x i8>*
22 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i16>, <4 x i16>*
24 ;CHECK: cost of 0 for instruction: {{.*}} getelementptr inbounds <4 x i32>, <4 x i32>*
[all …]
/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator_test.cc168 auto cost = PredictCosts(DescribeOp("Dummy", 1000, 1)); in TEST_F() local
169 EXPECT_EQ(Costs::Duration(2000), cost.memory_time); in TEST_F()
170 EXPECT_EQ(Costs::Duration(0), cost.compute_time); in TEST_F()
171 EXPECT_EQ(Costs::Duration(2000), cost.execution_time); in TEST_F()
172 EXPECT_TRUE(cost.inaccurate); in TEST_F()
177 auto cost = PredictCosts(DescribeOp("Dummy", 1000, 1)); in TEST_F() local
178 EXPECT_EQ(Costs::Duration(2000), cost.memory_time); in TEST_F()
179 EXPECT_EQ(Costs::Duration(0), cost.compute_time); in TEST_F()
180 EXPECT_EQ(Costs::Duration(2000), cost.execution_time); // max(2000, 200) in TEST_F()
181 EXPECT_TRUE(cost.inaccurate); in TEST_F()
[all …]
/external/llvm/test/Analysis/CostModel/PowerPC/
Dload_store.ll1 ; RUN: opt < %s -cost-model -analyze -mtriple=powerpc64-unknown-linux-gnu -mcpu=g5 | FileCheck %s
7 ; CHECK: cost of 1 {{.*}} store
9 ; CHECK: cost of 1 {{.*}} store
11 ; CHECK: cost of 1 {{.*}} store
13 ; CHECK: cost of 2 {{.*}} store
15 ; CHECK: cost of 4 {{.*}} store
21 ; CHECK: cost of 1 {{.*}} load
23 ; CHECK: cost of 1 {{.*}} load
25 ; CHECK: cost of 1 {{.*}} load
27 ; CHECK: cost of 2 {{.*}} load
[all …]
/external/llvm/test/Analysis/CostModel/AArch64/
Dselect.ll1 ; RUN: opt < %s -cost-model -analyze -mtriple=arm64-apple-ios -mcpu=cyclone | FileCheck %s
7 ; CHECK: cost of 1 {{.*}} select
9 ; CHECK: cost of 1 {{.*}} select
11 ; CHECK: cost of 1 {{.*}} select
13 ; CHECK: cost of 1 {{.*}} select
15 ; CHECK: cost of 1 {{.*}} select
17 ; CHECK: cost of 1 {{.*}} select
20 ; CHECK: cost of 16 {{.*}} select
23 ; CHECK: cost of 8 {{.*}} select
25 ; CHECK: cost of 16 {{.*}} select
[all …]
/external/llvm/test/Analysis/CostModel/AMDGPU/
Dfdiv.ll1 ; RUN: opt -cost-model -analyze -mtriple=amdgcn-unknown-amdhsa -mcpu=hawaii -mattr=+half-rate-64-op…
2 ; RUN: opt -cost-model -analyze -mtriple=amdgcn-unknown-amdhsa -mcpu=kaveri -mattr=-half-rate-64-op…
3 ; RUN: opt -cost-model -analyze -mtriple=amdgcn-unknown-amdhsa -mcpu=tahiti -mattr=+half-rate-64-op…
4 ; RUN: opt -cost-model -analyze -mtriple=amdgcn-unknown-amdhsa -mcpu=verde -mattr=-half-rate-64-ops…
7 ; ALL: estimated cost of 10 for {{.*}} fdiv float
16 ; ALL: estimated cost of 20 for {{.*}} fdiv <2 x float>
25 ; ALL: estimated cost of 30 for {{.*}} fdiv <3 x float>
34 ; CIFASTF64: estimated cost of 29 for {{.*}} fdiv double
35 ; CISLOWF64: estimated cost of 33 for {{.*}} fdiv double
36 ; SIFASTF64: estimated cost of 32 for {{.*}} fdiv double
[all …]

12345678910>>...29