diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-08-21 19:56:02 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-08-21 19:56:02 +0000 |
| commit | 89e375a95eca0942a8de957b7591ff01708828bb (patch) | |
| tree | dc2444b9905ff3f64782011e4d4f88b001548873 /llvm | |
| parent | 6ad12ec629a397f0405d2f1e3b38cd2cee794bc6 (diff) | |
| download | bcm5719-llvm-89e375a95eca0942a8de957b7591ff01708828bb.tar.gz bcm5719-llvm-89e375a95eca0942a8de957b7591ff01708828bb.zip | |
[CostModel][X86] Removed shift tests
There are more thorough tests found in vshift-*-cost.ll
llvm-svn: 279406
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/Analysis/CostModel/X86/arith.ll | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/llvm/test/Analysis/CostModel/X86/arith.ll b/llvm/test/Analysis/CostModel/X86/arith.ll index eb61cace221..b577107ca8f 100644 --- a/llvm/test/Analysis/CostModel/X86/arith.ll +++ b/llvm/test/Analysis/CostModel/X86/arith.ll @@ -520,83 +520,3 @@ define void @mul_2i32() { ret void } - -; CHECK-LABEL: 'shift' -define void @shift() { - ; SSSE3: cost of 10 {{.*}} %A0 = shl - ; SSE42: cost of 10 {{.*}} %A0 = shl - ; AVX: cost of 10 {{.*}} %A0 = shl - ; AVX2: cost of 1 {{.*}} %A0 = shl - ; AVX512: cost of 1 {{.*}} %A0 = shl - %A0 = shl <4 x i32> undef, undef - ; SSSE3: cost of 4 {{.*}} %A1 = shl - ; SSE42: cost of 4 {{.*}} %A1 = shl - ; AVX: cost of 4 {{.*}} %A1 = shl - ; AVX2: cost of 1 {{.*}} %A1 = shl - ; AVX512: cost of 1 {{.*}} %A1 = shl - %A1 = shl <2 x i64> undef, undef - ; SSSE3: cost of 20 {{.*}} %A2 = shl - ; SSE42: cost of 20 {{.*}} %A2 = shl - ; AVX: cost of 20 {{.*}} %A2 = shl - ; AVX2: cost of 1 {{.*}} %A2 = shl - ; AVX512: cost of 1 {{.*}} %A2 = shl - %A2 = shl <8 x i32> undef, undef - ; SSSE3: cost of 8 {{.*}} %A3 = shl - ; SSE42: cost of 8 {{.*}} %A3 = shl - ; AVX: cost of 8 {{.*}} %A3 = shl - ; AVX2: cost of 1 {{.*}} %A3 = shl - ; AVX512: cost of 1 {{.*}} %A3 = shl - %A3 = shl <4 x i64> undef, undef - - ; SSSE3: cost of 16 {{.*}} %B0 = lshr - ; SSE42: cost of 16 {{.*}} %B0 = lshr - ; AVX: cost of 16 {{.*}} %B0 = lshr - ; AVX2: cost of 1 {{.*}} %B0 = lshr - ; AVX512: cost of 1 {{.*}} %B0 = lshr - %B0 = lshr <4 x i32> undef, undef - ; SSSE3: cost of 4 {{.*}} %B1 = lshr - ; SSE42: cost of 4 {{.*}} %B1 = lshr - ; AVX: cost of 4 {{.*}} %B1 = lshr - ; AVX2: cost of 1 {{.*}} %B1 = lshr - ; AVX512: cost of 1 {{.*}} %B1 = lshr - %B1 = lshr <2 x i64> undef, undef - ; SSSE3: cost of 32 {{.*}} %B2 = lshr - ; SSE42: cost of 32 {{.*}} %B2 = lshr - ; AVX: cost of 32 {{.*}} %B2 = lshr - ; AVX2: cost of 1 {{.*}} %B2 = lshr - ; AVX512: cost of 1 {{.*}} %B2 = lshr - %B2 = lshr <8 x i32> undef, undef - ; SSSE3: cost of 8 {{.*}} %B3 = lshr - ; SSE42: cost of 8 {{.*}} %B3 = lshr - ; AVX: cost of 8 {{.*}} %B3 = lshr - ; AVX2: cost of 1 {{.*}} %B3 = lshr - ; AVX512: cost of 1 {{.*}} %B3 = lshr - %B3 = lshr <4 x i64> undef, undef - - ; SSSE3: cost of 16 {{.*}} %C0 = ashr - ; SSE42: cost of 16 {{.*}} %C0 = ashr - ; AVX: cost of 16 {{.*}} %C0 = ashr - ; AVX2: cost of 1 {{.*}} %C0 = ashr - ; AVX512: cost of 1 {{.*}} %C0 = ashr - %C0 = ashr <4 x i32> undef, undef - ; SSSE3: cost of 12 {{.*}} %C1 = ashr - ; SSE42: cost of 12 {{.*}} %C1 = ashr - ; AVX: cost of 12 {{.*}} %C1 = ashr - ; AVX2: cost of 4 {{.*}} %C1 = ashr - ; AVX512: cost of 4 {{.*}} %C1 = ashr - %C1 = ashr <2 x i64> undef, undef - ; SSSE3: cost of 32 {{.*}} %C2 = ashr - ; SSE42: cost of 32 {{.*}} %C2 = ashr - ; AVX: cost of 32 {{.*}} %C2 = ashr - ; AVX2: cost of 1 {{.*}} %C2 = ashr - ; AVX512: cost of 1 {{.*}} %C2 = ashr - %C2 = ashr <8 x i32> undef, undef - ; SSSE3: cost of 24 {{.*}} %C3 = ashr - ; SSE42: cost of 24 {{.*}} %C3 = ashr - ; AVX: cost of 24 {{.*}} %C3 = ashr - ; AVX2: cost of 4 {{.*}} %C3 = ashr - ; AVX512: cost of 4 {{.*}} %C3 = ashr - %C3 = ashr <4 x i64> undef, undef - - ret void -} |

