Home | History | Annotate | Download | only in X86

Lines Matching full:cost

1 ; RUN: opt < %s  -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx | FileCheck %s
2 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=core2 | FileCheck %s --check-prefix=SSE3
3 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-apple-macosx10.8.0 -mcpu=core-avx2 | FileCheck %s --check-prefix=AVX2
9 ;CHECK: cost of 1 {{.*}} add
11 ;CHECK: cost of 4 {{.*}} add
13 ;CHECK: cost of 1 {{.*}} add
15 ;CHECK: cost of 4 {{.*}} add
17 ;CHECK: cost of 8 {{.*}} add
19 ;CHECK: cost of 0 {{.*}} ret
25 ;CHECK: cost of 1 {{.*}} xor
27 ;CHECK: cost of 1 {{.*}} xor
29 ;CHECK: cost of 1 {{.*}} xor
31 ;CHECK: cost of 1 {{.*}} xor
33 ;CHECK: cost of 0 {{.*}} ret
42 ;CHECK: cost of 9 {{.*}} mul
44 ;CHECK: cost of 9 {{.*}} mul
46 ;CHECK: cost of 18 {{.*}} mul
53 ; SSE3: cost of 6 {{.*}} mul
61 ; AVX2: cost of 9 {{.*}} mul
69 ;CHECK: cost of 2 {{.*}} fmul
71 ;CHECK: cost of 2 {{.*}} fmul
79 ; AVX: cost of 2 {{.*}} shl
80 ; AVX2: cost of 1 {{.*}} shl
82 ; AVX: cost of 2 {{.*}} shl
83 ; AVX2: cost of 1 {{.*}} shl
86 ; AVX: cost of 2 {{.*}} lshr
87 ; AVX2: cost of 1 {{.*}} lshr
89 ; AVX: cost of 2 {{.*}} lshr
90 ; AVX2: cost of 1 {{.*}} lshr
93 ; AVX: cost of 2 {{.*}} ashr
94 ; AVX2: cost of 1 {{.*}} ashr
96 ; AVX: cost of 6 {{.*}} ashr
97 ; AVX2: cost of 4 {{.*}} ashr
106 ; AVX: cost of 2 {{.*}} shl
107 ; AVX2: cost of 1 {{.*}} shl
109 ; AVX: cost of 2 {{.*}} shl
110 ; AVX2: cost of 1 {{.*}} shl
113 ; AVX: cost of 2 {{.*}} lshr
114 ; AVX2: cost of 1 {{.*}} lshr
116 ; AVX: cost of 2 {{.*}} lshr
117 ; AVX2: cost of 1 {{.*}} lshr
120 ; AVX: cost of 2 {{.*}} ashr
121 ; AVX2: cost of 1 {{.*}} ashr
123 ; AVX: cost of 12 {{.*}} ashr
124 ; AVX2: cost of 4 {{.*}} ashr