Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1 | ; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py |
| 2 | ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -cost-model -analyze -mattr=+sse2 | FileCheck %s --check-prefixes=CHECK,SSE,SSE2 |
| 3 | ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -cost-model -analyze -mattr=+sse3 | FileCheck %s --check-prefixes=CHECK,SSE,SSE3 |
| 4 | ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -cost-model -analyze -mattr=+ssse3 | FileCheck %s --check-prefixes=CHECK,SSE,SSSE3 |
Simon Pilgrim | eaa41e1 | 2020-02-24 11:58:50 +0000 | [diff] [blame] | 5 | ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -cost-model -analyze -mattr=+sse4.1 | FileCheck %s --check-prefixes=CHECK,SSE,SSE4,SSE41 |
| 6 | ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -cost-model -analyze -mattr=+sse4.2 | FileCheck %s --check-prefixes=CHECK,SSE,SSE4,SSE42 |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 7 | ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -cost-model -analyze -mattr=+avx | FileCheck %s --check-prefixes=CHECK,AVX,AVX1 |
| 8 | ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -cost-model -analyze -mattr=+avx2 | FileCheck %s --check-prefixes=CHECK,AVX,AVX2 |
| 9 | ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -cost-model -analyze -mattr=+avx512f | FileCheck %s --check-prefixes=CHECK,AVX512,AVX512F |
| 10 | ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -cost-model -analyze -mattr=+avx512f,+avx512bw | FileCheck %s --check-prefixes=CHECK,AVX512,AVX512BW |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 11 | ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -cost-model -analyze -mattr=+xop,+avx | FileCheck %s -check-prefixes=CHECK,AVX,XOPAVX1 |
| 12 | ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -cost-model -analyze -mattr=+xop,+avx2 | FileCheck %s -check-prefixes=CHECK,AVX,XOPAVX2 |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 13 | ; |
Simon Pilgrim | d7f0207 | 2019-09-26 10:14:38 +0000 | [diff] [blame] | 14 | ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -cost-model -analyze -mcpu=slm | FileCheck %s --check-prefixes=CHECK,SSE,SLM |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 15 | ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -cost-model -analyze -mcpu=goldmont | FileCheck %s --check-prefixes=CHECK,SSE,SSE42 |
Simon Pilgrim | eaa41e1 | 2020-02-24 11:58:50 +0000 | [diff] [blame] | 16 | ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -cost-model -analyze -mcpu=btver2 | FileCheck %s --check-prefixes=CHECK,AVX,BTVER2 |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 17 | |
| 18 | define i32 @cmp_int_eq(i32 %arg) { |
| 19 | ; SSE2-LABEL: 'cmp_int_eq' |
| 20 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp eq i8 undef, undef |
| 21 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp eq <16 x i8> undef, undef |
| 22 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp eq <32 x i8> undef, undef |
| 23 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp eq <64 x i8> undef, undef |
| 24 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp eq <128 x i8> undef, undef |
| 25 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp eq i16 undef, undef |
| 26 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp eq <8 x i16> undef, undef |
| 27 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp eq <16 x i16> undef, undef |
| 28 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp eq <32 x i16> undef, undef |
| 29 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp eq <64 x i16> undef, undef |
| 30 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp eq i32 undef, undef |
| 31 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp eq <4 x i32> undef, undef |
| 32 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp eq <8 x i32> undef, undef |
| 33 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp eq <16 x i32> undef, undef |
| 34 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp eq <32 x i32> undef, undef |
| 35 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp eq i64 undef, undef |
| 36 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V2I64 = icmp eq <2 x i64> undef, undef |
| 37 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V4I64 = icmp eq <4 x i64> undef, undef |
| 38 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V8I64 = icmp eq <8 x i64> undef, undef |
| 39 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 64 for instruction: %V16I64 = icmp eq <16 x i64> undef, undef |
| 40 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 41 | ; |
| 42 | ; SSE3-LABEL: 'cmp_int_eq' |
| 43 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp eq i8 undef, undef |
| 44 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp eq <16 x i8> undef, undef |
| 45 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp eq <32 x i8> undef, undef |
| 46 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp eq <64 x i8> undef, undef |
| 47 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp eq <128 x i8> undef, undef |
| 48 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp eq i16 undef, undef |
| 49 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp eq <8 x i16> undef, undef |
| 50 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp eq <16 x i16> undef, undef |
| 51 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp eq <32 x i16> undef, undef |
| 52 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp eq <64 x i16> undef, undef |
| 53 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp eq i32 undef, undef |
| 54 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp eq <4 x i32> undef, undef |
| 55 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp eq <8 x i32> undef, undef |
| 56 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp eq <16 x i32> undef, undef |
| 57 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp eq <32 x i32> undef, undef |
| 58 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp eq i64 undef, undef |
| 59 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V2I64 = icmp eq <2 x i64> undef, undef |
| 60 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V4I64 = icmp eq <4 x i64> undef, undef |
| 61 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V8I64 = icmp eq <8 x i64> undef, undef |
| 62 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 64 for instruction: %V16I64 = icmp eq <16 x i64> undef, undef |
| 63 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 64 | ; |
| 65 | ; SSSE3-LABEL: 'cmp_int_eq' |
| 66 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp eq i8 undef, undef |
| 67 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp eq <16 x i8> undef, undef |
| 68 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp eq <32 x i8> undef, undef |
| 69 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp eq <64 x i8> undef, undef |
| 70 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp eq <128 x i8> undef, undef |
| 71 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp eq i16 undef, undef |
| 72 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp eq <8 x i16> undef, undef |
| 73 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp eq <16 x i16> undef, undef |
| 74 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp eq <32 x i16> undef, undef |
| 75 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp eq <64 x i16> undef, undef |
| 76 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp eq i32 undef, undef |
| 77 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp eq <4 x i32> undef, undef |
| 78 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp eq <8 x i32> undef, undef |
| 79 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp eq <16 x i32> undef, undef |
| 80 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp eq <32 x i32> undef, undef |
| 81 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp eq i64 undef, undef |
| 82 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V2I64 = icmp eq <2 x i64> undef, undef |
| 83 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V4I64 = icmp eq <4 x i64> undef, undef |
| 84 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V8I64 = icmp eq <8 x i64> undef, undef |
| 85 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 64 for instruction: %V16I64 = icmp eq <16 x i64> undef, undef |
| 86 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 87 | ; |
| 88 | ; SSE41-LABEL: 'cmp_int_eq' |
| 89 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp eq i8 undef, undef |
| 90 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp eq <16 x i8> undef, undef |
| 91 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp eq <32 x i8> undef, undef |
| 92 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp eq <64 x i8> undef, undef |
| 93 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp eq <128 x i8> undef, undef |
| 94 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp eq i16 undef, undef |
| 95 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp eq <8 x i16> undef, undef |
| 96 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp eq <16 x i16> undef, undef |
| 97 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp eq <32 x i16> undef, undef |
| 98 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp eq <64 x i16> undef, undef |
| 99 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp eq i32 undef, undef |
| 100 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp eq <4 x i32> undef, undef |
| 101 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp eq <8 x i32> undef, undef |
| 102 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp eq <16 x i32> undef, undef |
| 103 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp eq <32 x i32> undef, undef |
| 104 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp eq i64 undef, undef |
| 105 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V2I64 = icmp eq <2 x i64> undef, undef |
| 106 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V4I64 = icmp eq <4 x i64> undef, undef |
| 107 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V8I64 = icmp eq <8 x i64> undef, undef |
| 108 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 64 for instruction: %V16I64 = icmp eq <16 x i64> undef, undef |
| 109 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 110 | ; |
| 111 | ; SSE42-LABEL: 'cmp_int_eq' |
| 112 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp eq i8 undef, undef |
| 113 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp eq <16 x i8> undef, undef |
| 114 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp eq <32 x i8> undef, undef |
| 115 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp eq <64 x i8> undef, undef |
| 116 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp eq <128 x i8> undef, undef |
| 117 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp eq i16 undef, undef |
| 118 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp eq <8 x i16> undef, undef |
| 119 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp eq <16 x i16> undef, undef |
| 120 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp eq <32 x i16> undef, undef |
| 121 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp eq <64 x i16> undef, undef |
| 122 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp eq i32 undef, undef |
| 123 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp eq <4 x i32> undef, undef |
| 124 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp eq <8 x i32> undef, undef |
| 125 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp eq <16 x i32> undef, undef |
| 126 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp eq <32 x i32> undef, undef |
| 127 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp eq i64 undef, undef |
| 128 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp eq <2 x i64> undef, undef |
| 129 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I64 = icmp eq <4 x i64> undef, undef |
| 130 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I64 = icmp eq <8 x i64> undef, undef |
| 131 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I64 = icmp eq <16 x i64> undef, undef |
| 132 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 133 | ; |
| 134 | ; AVX1-LABEL: 'cmp_int_eq' |
| 135 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp eq i8 undef, undef |
| 136 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp eq <16 x i8> undef, undef |
| 137 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp eq <32 x i8> undef, undef |
| 138 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp eq <64 x i8> undef, undef |
| 139 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp eq <128 x i8> undef, undef |
| 140 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp eq i16 undef, undef |
| 141 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp eq <8 x i16> undef, undef |
| 142 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp eq <16 x i16> undef, undef |
| 143 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp eq <32 x i16> undef, undef |
| 144 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp eq <64 x i16> undef, undef |
| 145 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp eq i32 undef, undef |
| 146 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp eq <4 x i32> undef, undef |
| 147 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp eq <8 x i32> undef, undef |
| 148 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp eq <16 x i32> undef, undef |
| 149 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp eq <32 x i32> undef, undef |
| 150 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp eq i64 undef, undef |
| 151 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp eq <2 x i64> undef, undef |
| 152 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp eq <4 x i64> undef, undef |
| 153 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp eq <8 x i64> undef, undef |
| 154 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp eq <16 x i64> undef, undef |
| 155 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 156 | ; |
| 157 | ; AVX2-LABEL: 'cmp_int_eq' |
| 158 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp eq i8 undef, undef |
| 159 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp eq <16 x i8> undef, undef |
| 160 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp eq <32 x i8> undef, undef |
| 161 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I8 = icmp eq <64 x i8> undef, undef |
| 162 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V128I8 = icmp eq <128 x i8> undef, undef |
| 163 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp eq i16 undef, undef |
| 164 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp eq <8 x i16> undef, undef |
| 165 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp eq <16 x i16> undef, undef |
| 166 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I16 = icmp eq <32 x i16> undef, undef |
| 167 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I16 = icmp eq <64 x i16> undef, undef |
| 168 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp eq i32 undef, undef |
| 169 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp eq <4 x i32> undef, undef |
| 170 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp eq <8 x i32> undef, undef |
| 171 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I32 = icmp eq <16 x i32> undef, undef |
| 172 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I32 = icmp eq <32 x i32> undef, undef |
| 173 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp eq i64 undef, undef |
| 174 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp eq <2 x i64> undef, undef |
| 175 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp eq <4 x i64> undef, undef |
| 176 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I64 = icmp eq <8 x i64> undef, undef |
| 177 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I64 = icmp eq <16 x i64> undef, undef |
| 178 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 179 | ; |
| 180 | ; AVX512F-LABEL: 'cmp_int_eq' |
| 181 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp eq i8 undef, undef |
| 182 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp eq <16 x i8> undef, undef |
| 183 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp eq <32 x i8> undef, undef |
| 184 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I8 = icmp eq <64 x i8> undef, undef |
| 185 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V128I8 = icmp eq <128 x i8> undef, undef |
| 186 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp eq i16 undef, undef |
| 187 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp eq <8 x i16> undef, undef |
| 188 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp eq <16 x i16> undef, undef |
| 189 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I16 = icmp eq <32 x i16> undef, undef |
| 190 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I16 = icmp eq <64 x i16> undef, undef |
| 191 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp eq i32 undef, undef |
| 192 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp eq <4 x i32> undef, undef |
| 193 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp eq <8 x i32> undef, undef |
| 194 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp eq <16 x i32> undef, undef |
| 195 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp eq <32 x i32> undef, undef |
| 196 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp eq i64 undef, undef |
| 197 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp eq <2 x i64> undef, undef |
| 198 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp eq <4 x i64> undef, undef |
| 199 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp eq <8 x i64> undef, undef |
| 200 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp eq <16 x i64> undef, undef |
| 201 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 202 | ; |
| 203 | ; AVX512BW-LABEL: 'cmp_int_eq' |
| 204 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp eq i8 undef, undef |
| 205 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp eq <16 x i8> undef, undef |
| 206 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp eq <32 x i8> undef, undef |
| 207 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V64I8 = icmp eq <64 x i8> undef, undef |
| 208 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V128I8 = icmp eq <128 x i8> undef, undef |
| 209 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp eq i16 undef, undef |
| 210 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp eq <8 x i16> undef, undef |
| 211 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp eq <16 x i16> undef, undef |
| 212 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I16 = icmp eq <32 x i16> undef, undef |
| 213 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I16 = icmp eq <64 x i16> undef, undef |
| 214 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp eq i32 undef, undef |
| 215 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp eq <4 x i32> undef, undef |
| 216 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp eq <8 x i32> undef, undef |
| 217 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp eq <16 x i32> undef, undef |
| 218 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp eq <32 x i32> undef, undef |
| 219 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp eq i64 undef, undef |
| 220 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp eq <2 x i64> undef, undef |
| 221 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp eq <4 x i64> undef, undef |
| 222 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp eq <8 x i64> undef, undef |
| 223 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp eq <16 x i64> undef, undef |
| 224 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 225 | ; |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 226 | ; XOPAVX1-LABEL: 'cmp_int_eq' |
| 227 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp eq i8 undef, undef |
| 228 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp eq <16 x i8> undef, undef |
| 229 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp eq <32 x i8> undef, undef |
| 230 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp eq <64 x i8> undef, undef |
| 231 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp eq <128 x i8> undef, undef |
| 232 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp eq i16 undef, undef |
| 233 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp eq <8 x i16> undef, undef |
| 234 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp eq <16 x i16> undef, undef |
| 235 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp eq <32 x i16> undef, undef |
| 236 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp eq <64 x i16> undef, undef |
| 237 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp eq i32 undef, undef |
| 238 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp eq <4 x i32> undef, undef |
| 239 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp eq <8 x i32> undef, undef |
| 240 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp eq <16 x i32> undef, undef |
| 241 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp eq <32 x i32> undef, undef |
| 242 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp eq i64 undef, undef |
| 243 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp eq <2 x i64> undef, undef |
| 244 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp eq <4 x i64> undef, undef |
| 245 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp eq <8 x i64> undef, undef |
| 246 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp eq <16 x i64> undef, undef |
| 247 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 248 | ; |
| 249 | ; XOPAVX2-LABEL: 'cmp_int_eq' |
| 250 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp eq i8 undef, undef |
| 251 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp eq <16 x i8> undef, undef |
| 252 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp eq <32 x i8> undef, undef |
| 253 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I8 = icmp eq <64 x i8> undef, undef |
| 254 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V128I8 = icmp eq <128 x i8> undef, undef |
| 255 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp eq i16 undef, undef |
| 256 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp eq <8 x i16> undef, undef |
| 257 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp eq <16 x i16> undef, undef |
| 258 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I16 = icmp eq <32 x i16> undef, undef |
| 259 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I16 = icmp eq <64 x i16> undef, undef |
| 260 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp eq i32 undef, undef |
| 261 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp eq <4 x i32> undef, undef |
| 262 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp eq <8 x i32> undef, undef |
| 263 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I32 = icmp eq <16 x i32> undef, undef |
| 264 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I32 = icmp eq <32 x i32> undef, undef |
| 265 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp eq i64 undef, undef |
| 266 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp eq <2 x i64> undef, undef |
| 267 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp eq <4 x i64> undef, undef |
| 268 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I64 = icmp eq <8 x i64> undef, undef |
| 269 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I64 = icmp eq <16 x i64> undef, undef |
| 270 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 271 | ; |
Simon Pilgrim | d7f0207 | 2019-09-26 10:14:38 +0000 | [diff] [blame] | 272 | ; SLM-LABEL: 'cmp_int_eq' |
| 273 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp eq i8 undef, undef |
| 274 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp eq <16 x i8> undef, undef |
| 275 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp eq <32 x i8> undef, undef |
| 276 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp eq <64 x i8> undef, undef |
| 277 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp eq <128 x i8> undef, undef |
| 278 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp eq i16 undef, undef |
| 279 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp eq <8 x i16> undef, undef |
| 280 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp eq <16 x i16> undef, undef |
| 281 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp eq <32 x i16> undef, undef |
| 282 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp eq <64 x i16> undef, undef |
| 283 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp eq i32 undef, undef |
| 284 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp eq <4 x i32> undef, undef |
| 285 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp eq <8 x i32> undef, undef |
| 286 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp eq <16 x i32> undef, undef |
| 287 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp eq <32 x i32> undef, undef |
| 288 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp eq i64 undef, undef |
| 289 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V2I64 = icmp eq <2 x i64> undef, undef |
| 290 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp eq <4 x i64> undef, undef |
| 291 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp eq <8 x i64> undef, undef |
| 292 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp eq <16 x i64> undef, undef |
| 293 | ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 294 | ; |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 295 | ; BTVER2-LABEL: 'cmp_int_eq' |
| 296 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp eq i8 undef, undef |
| 297 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp eq <16 x i8> undef, undef |
| 298 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp eq <32 x i8> undef, undef |
| 299 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp eq <64 x i8> undef, undef |
| 300 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp eq <128 x i8> undef, undef |
| 301 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp eq i16 undef, undef |
| 302 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp eq <8 x i16> undef, undef |
| 303 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp eq <16 x i16> undef, undef |
| 304 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp eq <32 x i16> undef, undef |
| 305 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp eq <64 x i16> undef, undef |
| 306 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp eq i32 undef, undef |
| 307 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp eq <4 x i32> undef, undef |
| 308 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp eq <8 x i32> undef, undef |
| 309 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp eq <16 x i32> undef, undef |
| 310 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp eq <32 x i32> undef, undef |
| 311 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp eq i64 undef, undef |
| 312 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp eq <2 x i64> undef, undef |
| 313 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp eq <4 x i64> undef, undef |
| 314 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp eq <8 x i64> undef, undef |
| 315 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp eq <16 x i64> undef, undef |
| 316 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 317 | ; |
| 318 | %I8 = icmp eq i8 undef, undef |
| 319 | %V16I8 = icmp eq <16 x i8> undef, undef |
| 320 | %V32I8 = icmp eq <32 x i8> undef, undef |
| 321 | %V64I8 = icmp eq <64 x i8> undef, undef |
| 322 | %V128I8 = icmp eq <128 x i8> undef, undef |
| 323 | |
| 324 | %I16 = icmp eq i16 undef, undef |
| 325 | %V8I16 = icmp eq <8 x i16> undef, undef |
| 326 | %V16I16 = icmp eq <16 x i16> undef, undef |
| 327 | %V32I16 = icmp eq <32 x i16> undef, undef |
| 328 | %V64I16 = icmp eq <64 x i16> undef, undef |
| 329 | |
| 330 | %I32 = icmp eq i32 undef, undef |
| 331 | %V4I32 = icmp eq <4 x i32> undef, undef |
| 332 | %V8I32 = icmp eq <8 x i32> undef, undef |
| 333 | %V16I32 = icmp eq <16 x i32> undef, undef |
| 334 | %V32I32 = icmp eq <32 x i32> undef, undef |
| 335 | |
| 336 | %I64 = icmp eq i64 undef, undef |
| 337 | %V2I64 = icmp eq <2 x i64> undef, undef |
| 338 | %V4I64 = icmp eq <4 x i64> undef, undef |
| 339 | %V8I64 = icmp eq <8 x i64> undef, undef |
| 340 | %V16I64 = icmp eq <16 x i64> undef, undef |
| 341 | |
| 342 | ret i32 undef |
| 343 | } |
| 344 | |
| 345 | define i32 @cmp_int_ne(i32 %arg) { |
| 346 | ; SSE2-LABEL: 'cmp_int_ne' |
| 347 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ne i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 348 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ne <16 x i8> undef, undef |
| 349 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp ne <32 x i8> undef, undef |
| 350 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp ne <64 x i8> undef, undef |
| 351 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp ne <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 352 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ne i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 353 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ne <8 x i16> undef, undef |
| 354 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp ne <16 x i16> undef, undef |
| 355 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp ne <32 x i16> undef, undef |
| 356 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp ne <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 357 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ne i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 358 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp ne <4 x i32> undef, undef |
| 359 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp ne <8 x i32> undef, undef |
| 360 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp ne <16 x i32> undef, undef |
| 361 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp ne <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 362 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ne i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 363 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 9 for instruction: %V2I64 = icmp ne <2 x i64> undef, undef |
| 364 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 18 for instruction: %V4I64 = icmp ne <4 x i64> undef, undef |
| 365 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 36 for instruction: %V8I64 = icmp ne <8 x i64> undef, undef |
| 366 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 72 for instruction: %V16I64 = icmp ne <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 367 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 368 | ; |
| 369 | ; SSE3-LABEL: 'cmp_int_ne' |
| 370 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ne i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 371 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ne <16 x i8> undef, undef |
| 372 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp ne <32 x i8> undef, undef |
| 373 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp ne <64 x i8> undef, undef |
| 374 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp ne <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 375 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ne i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 376 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ne <8 x i16> undef, undef |
| 377 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp ne <16 x i16> undef, undef |
| 378 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp ne <32 x i16> undef, undef |
| 379 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp ne <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 380 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ne i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 381 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp ne <4 x i32> undef, undef |
| 382 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp ne <8 x i32> undef, undef |
| 383 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp ne <16 x i32> undef, undef |
| 384 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp ne <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 385 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ne i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 386 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 9 for instruction: %V2I64 = icmp ne <2 x i64> undef, undef |
| 387 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 18 for instruction: %V4I64 = icmp ne <4 x i64> undef, undef |
| 388 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 36 for instruction: %V8I64 = icmp ne <8 x i64> undef, undef |
| 389 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 72 for instruction: %V16I64 = icmp ne <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 390 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 391 | ; |
| 392 | ; SSSE3-LABEL: 'cmp_int_ne' |
| 393 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ne i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 394 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ne <16 x i8> undef, undef |
| 395 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp ne <32 x i8> undef, undef |
| 396 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp ne <64 x i8> undef, undef |
| 397 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp ne <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 398 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ne i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 399 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ne <8 x i16> undef, undef |
| 400 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp ne <16 x i16> undef, undef |
| 401 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp ne <32 x i16> undef, undef |
| 402 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp ne <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 403 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ne i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 404 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp ne <4 x i32> undef, undef |
| 405 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp ne <8 x i32> undef, undef |
| 406 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp ne <16 x i32> undef, undef |
| 407 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp ne <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 408 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ne i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 409 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 9 for instruction: %V2I64 = icmp ne <2 x i64> undef, undef |
| 410 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 18 for instruction: %V4I64 = icmp ne <4 x i64> undef, undef |
| 411 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 36 for instruction: %V8I64 = icmp ne <8 x i64> undef, undef |
| 412 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 72 for instruction: %V16I64 = icmp ne <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 413 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 414 | ; |
| 415 | ; SSE41-LABEL: 'cmp_int_ne' |
| 416 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ne i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 417 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ne <16 x i8> undef, undef |
| 418 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp ne <32 x i8> undef, undef |
| 419 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp ne <64 x i8> undef, undef |
| 420 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp ne <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 421 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ne i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 422 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ne <8 x i16> undef, undef |
| 423 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp ne <16 x i16> undef, undef |
| 424 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp ne <32 x i16> undef, undef |
| 425 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp ne <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 426 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ne i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 427 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp ne <4 x i32> undef, undef |
| 428 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp ne <8 x i32> undef, undef |
| 429 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp ne <16 x i32> undef, undef |
| 430 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp ne <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 431 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ne i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 432 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 9 for instruction: %V2I64 = icmp ne <2 x i64> undef, undef |
| 433 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 18 for instruction: %V4I64 = icmp ne <4 x i64> undef, undef |
| 434 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 36 for instruction: %V8I64 = icmp ne <8 x i64> undef, undef |
| 435 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 72 for instruction: %V16I64 = icmp ne <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 436 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 437 | ; |
| 438 | ; SSE42-LABEL: 'cmp_int_ne' |
| 439 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ne i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 440 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ne <16 x i8> undef, undef |
| 441 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp ne <32 x i8> undef, undef |
| 442 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp ne <64 x i8> undef, undef |
| 443 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp ne <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 444 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ne i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 445 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ne <8 x i16> undef, undef |
| 446 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp ne <16 x i16> undef, undef |
| 447 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp ne <32 x i16> undef, undef |
| 448 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp ne <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 449 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ne i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 450 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp ne <4 x i32> undef, undef |
| 451 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp ne <8 x i32> undef, undef |
| 452 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp ne <16 x i32> undef, undef |
| 453 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp ne <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 454 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ne i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 455 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V2I64 = icmp ne <2 x i64> undef, undef |
| 456 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp ne <4 x i64> undef, undef |
| 457 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp ne <8 x i64> undef, undef |
| 458 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp ne <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 459 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 460 | ; |
| 461 | ; AVX1-LABEL: 'cmp_int_ne' |
| 462 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ne i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 463 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ne <16 x i8> undef, undef |
| 464 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V32I8 = icmp ne <32 x i8> undef, undef |
| 465 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V64I8 = icmp ne <64 x i8> undef, undef |
| 466 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V128I8 = icmp ne <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 467 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ne i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 468 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ne <8 x i16> undef, undef |
| 469 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V16I16 = icmp ne <16 x i16> undef, undef |
| 470 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V32I16 = icmp ne <32 x i16> undef, undef |
| 471 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V64I16 = icmp ne <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 472 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ne i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 473 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp ne <4 x i32> undef, undef |
| 474 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V8I32 = icmp ne <8 x i32> undef, undef |
| 475 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V16I32 = icmp ne <16 x i32> undef, undef |
| 476 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V32I32 = icmp ne <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 477 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ne i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 478 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V2I64 = icmp ne <2 x i64> undef, undef |
| 479 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V4I64 = icmp ne <4 x i64> undef, undef |
| 480 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V8I64 = icmp ne <8 x i64> undef, undef |
| 481 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V16I64 = icmp ne <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 482 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 483 | ; |
| 484 | ; AVX2-LABEL: 'cmp_int_ne' |
| 485 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ne i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 486 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ne <16 x i8> undef, undef |
| 487 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp ne <32 x i8> undef, undef |
| 488 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp ne <64 x i8> undef, undef |
| 489 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp ne <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 490 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ne i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 491 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ne <8 x i16> undef, undef |
| 492 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp ne <16 x i16> undef, undef |
| 493 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp ne <32 x i16> undef, undef |
| 494 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp ne <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 495 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ne i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 496 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp ne <4 x i32> undef, undef |
| 497 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp ne <8 x i32> undef, undef |
| 498 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp ne <16 x i32> undef, undef |
| 499 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp ne <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 500 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ne i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 501 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V2I64 = icmp ne <2 x i64> undef, undef |
| 502 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I64 = icmp ne <4 x i64> undef, undef |
| 503 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I64 = icmp ne <8 x i64> undef, undef |
| 504 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I64 = icmp ne <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 505 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 506 | ; |
| 507 | ; AVX512F-LABEL: 'cmp_int_ne' |
| 508 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ne i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 509 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ne <16 x i8> undef, undef |
| 510 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp ne <32 x i8> undef, undef |
Craig Topper | 8dfb962 | 2020-04-15 12:03:39 -0700 | [diff] [blame^] | 511 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V64I8 = icmp ne <64 x i8> undef, undef |
| 512 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V128I8 = icmp ne <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 513 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ne i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 514 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ne <8 x i16> undef, undef |
| 515 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp ne <16 x i16> undef, undef |
Craig Topper | 8dfb962 | 2020-04-15 12:03:39 -0700 | [diff] [blame^] | 516 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V32I16 = icmp ne <32 x i16> undef, undef |
| 517 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V64I16 = icmp ne <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 518 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ne i32 undef, undef |
| 519 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp ne <4 x i32> undef, undef |
| 520 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp ne <8 x i32> undef, undef |
| 521 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp ne <16 x i32> undef, undef |
| 522 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp ne <32 x i32> undef, undef |
| 523 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ne i64 undef, undef |
| 524 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp ne <2 x i64> undef, undef |
| 525 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp ne <4 x i64> undef, undef |
| 526 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp ne <8 x i64> undef, undef |
| 527 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp ne <16 x i64> undef, undef |
| 528 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 529 | ; |
| 530 | ; AVX512BW-LABEL: 'cmp_int_ne' |
| 531 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ne i8 undef, undef |
| 532 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp ne <16 x i8> undef, undef |
| 533 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp ne <32 x i8> undef, undef |
| 534 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V64I8 = icmp ne <64 x i8> undef, undef |
| 535 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V128I8 = icmp ne <128 x i8> undef, undef |
| 536 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ne i16 undef, undef |
| 537 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp ne <8 x i16> undef, undef |
| 538 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp ne <16 x i16> undef, undef |
| 539 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I16 = icmp ne <32 x i16> undef, undef |
| 540 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I16 = icmp ne <64 x i16> undef, undef |
| 541 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ne i32 undef, undef |
| 542 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp ne <4 x i32> undef, undef |
| 543 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp ne <8 x i32> undef, undef |
| 544 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp ne <16 x i32> undef, undef |
| 545 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp ne <32 x i32> undef, undef |
| 546 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ne i64 undef, undef |
| 547 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp ne <2 x i64> undef, undef |
| 548 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp ne <4 x i64> undef, undef |
| 549 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp ne <8 x i64> undef, undef |
| 550 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp ne <16 x i64> undef, undef |
| 551 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 552 | ; |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 553 | ; XOPAVX1-LABEL: 'cmp_int_ne' |
| 554 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ne i8 undef, undef |
| 555 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp ne <16 x i8> undef, undef |
| 556 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp ne <32 x i8> undef, undef |
| 557 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp ne <64 x i8> undef, undef |
| 558 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp ne <128 x i8> undef, undef |
| 559 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ne i16 undef, undef |
| 560 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp ne <8 x i16> undef, undef |
| 561 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp ne <16 x i16> undef, undef |
| 562 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp ne <32 x i16> undef, undef |
| 563 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp ne <64 x i16> undef, undef |
| 564 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ne i32 undef, undef |
| 565 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp ne <4 x i32> undef, undef |
| 566 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp ne <8 x i32> undef, undef |
| 567 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp ne <16 x i32> undef, undef |
| 568 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp ne <32 x i32> undef, undef |
| 569 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ne i64 undef, undef |
| 570 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp ne <2 x i64> undef, undef |
| 571 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp ne <4 x i64> undef, undef |
| 572 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp ne <8 x i64> undef, undef |
| 573 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp ne <16 x i64> undef, undef |
| 574 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 575 | ; |
| 576 | ; XOPAVX2-LABEL: 'cmp_int_ne' |
| 577 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ne i8 undef, undef |
| 578 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp ne <16 x i8> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 579 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp ne <32 x i8> undef, undef |
| 580 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp ne <64 x i8> undef, undef |
| 581 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp ne <128 x i8> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 582 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ne i16 undef, undef |
| 583 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp ne <8 x i16> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 584 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp ne <16 x i16> undef, undef |
| 585 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp ne <32 x i16> undef, undef |
| 586 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp ne <64 x i16> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 587 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ne i32 undef, undef |
| 588 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp ne <4 x i32> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 589 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp ne <8 x i32> undef, undef |
| 590 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp ne <16 x i32> undef, undef |
| 591 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp ne <32 x i32> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 592 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ne i64 undef, undef |
| 593 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp ne <2 x i64> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 594 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I64 = icmp ne <4 x i64> undef, undef |
| 595 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I64 = icmp ne <8 x i64> undef, undef |
| 596 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I64 = icmp ne <16 x i64> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 597 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 598 | ; |
Simon Pilgrim | d7f0207 | 2019-09-26 10:14:38 +0000 | [diff] [blame] | 599 | ; SLM-LABEL: 'cmp_int_ne' |
| 600 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ne i8 undef, undef |
| 601 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ne <16 x i8> undef, undef |
| 602 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp ne <32 x i8> undef, undef |
| 603 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp ne <64 x i8> undef, undef |
| 604 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp ne <128 x i8> undef, undef |
| 605 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ne i16 undef, undef |
| 606 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ne <8 x i16> undef, undef |
| 607 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp ne <16 x i16> undef, undef |
| 608 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp ne <32 x i16> undef, undef |
| 609 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp ne <64 x i16> undef, undef |
| 610 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ne i32 undef, undef |
| 611 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp ne <4 x i32> undef, undef |
| 612 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp ne <8 x i32> undef, undef |
| 613 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp ne <16 x i32> undef, undef |
| 614 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp ne <32 x i32> undef, undef |
| 615 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ne i64 undef, undef |
| 616 | ; SLM-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V2I64 = icmp ne <2 x i64> undef, undef |
| 617 | ; SLM-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V4I64 = icmp ne <4 x i64> undef, undef |
| 618 | ; SLM-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V8I64 = icmp ne <8 x i64> undef, undef |
| 619 | ; SLM-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V16I64 = icmp ne <16 x i64> undef, undef |
| 620 | ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 621 | ; |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 622 | ; BTVER2-LABEL: 'cmp_int_ne' |
| 623 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ne i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 624 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ne <16 x i8> undef, undef |
| 625 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V32I8 = icmp ne <32 x i8> undef, undef |
| 626 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V64I8 = icmp ne <64 x i8> undef, undef |
| 627 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V128I8 = icmp ne <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 628 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ne i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 629 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ne <8 x i16> undef, undef |
| 630 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V16I16 = icmp ne <16 x i16> undef, undef |
| 631 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V32I16 = icmp ne <32 x i16> undef, undef |
| 632 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V64I16 = icmp ne <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 633 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ne i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 634 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp ne <4 x i32> undef, undef |
| 635 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V8I32 = icmp ne <8 x i32> undef, undef |
| 636 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V16I32 = icmp ne <16 x i32> undef, undef |
| 637 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V32I32 = icmp ne <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 638 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ne i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 639 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V2I64 = icmp ne <2 x i64> undef, undef |
| 640 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V4I64 = icmp ne <4 x i64> undef, undef |
| 641 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V8I64 = icmp ne <8 x i64> undef, undef |
| 642 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V16I64 = icmp ne <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 643 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 644 | ; |
| 645 | %I8 = icmp ne i8 undef, undef |
| 646 | %V16I8 = icmp ne <16 x i8> undef, undef |
| 647 | %V32I8 = icmp ne <32 x i8> undef, undef |
| 648 | %V64I8 = icmp ne <64 x i8> undef, undef |
| 649 | %V128I8 = icmp ne <128 x i8> undef, undef |
| 650 | |
| 651 | %I16 = icmp ne i16 undef, undef |
| 652 | %V8I16 = icmp ne <8 x i16> undef, undef |
| 653 | %V16I16 = icmp ne <16 x i16> undef, undef |
| 654 | %V32I16 = icmp ne <32 x i16> undef, undef |
| 655 | %V64I16 = icmp ne <64 x i16> undef, undef |
| 656 | |
| 657 | %I32 = icmp ne i32 undef, undef |
| 658 | %V4I32 = icmp ne <4 x i32> undef, undef |
| 659 | %V8I32 = icmp ne <8 x i32> undef, undef |
| 660 | %V16I32 = icmp ne <16 x i32> undef, undef |
| 661 | %V32I32 = icmp ne <32 x i32> undef, undef |
| 662 | |
| 663 | %I64 = icmp ne i64 undef, undef |
| 664 | %V2I64 = icmp ne <2 x i64> undef, undef |
| 665 | %V4I64 = icmp ne <4 x i64> undef, undef |
| 666 | %V8I64 = icmp ne <8 x i64> undef, undef |
| 667 | %V16I64 = icmp ne <16 x i64> undef, undef |
| 668 | |
| 669 | ret i32 undef |
| 670 | } |
| 671 | |
| 672 | define i32 @cmp_int_sge(i32 %arg) { |
| 673 | ; SSE2-LABEL: 'cmp_int_sge' |
| 674 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 675 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sge <16 x i8> undef, undef |
| 676 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sge <32 x i8> undef, undef |
| 677 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sge <64 x i8> undef, undef |
| 678 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 679 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 680 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sge <8 x i16> undef, undef |
| 681 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sge <16 x i16> undef, undef |
| 682 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sge <32 x i16> undef, undef |
| 683 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 684 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sge i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 685 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sge <4 x i32> undef, undef |
| 686 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sge <8 x i32> undef, undef |
| 687 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sge <16 x i32> undef, undef |
| 688 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sge <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 689 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sge i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 690 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 9 for instruction: %V2I64 = icmp sge <2 x i64> undef, undef |
| 691 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 18 for instruction: %V4I64 = icmp sge <4 x i64> undef, undef |
| 692 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 36 for instruction: %V8I64 = icmp sge <8 x i64> undef, undef |
| 693 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 72 for instruction: %V16I64 = icmp sge <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 694 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 695 | ; |
| 696 | ; SSE3-LABEL: 'cmp_int_sge' |
| 697 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 698 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sge <16 x i8> undef, undef |
| 699 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sge <32 x i8> undef, undef |
| 700 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sge <64 x i8> undef, undef |
| 701 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 702 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 703 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sge <8 x i16> undef, undef |
| 704 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sge <16 x i16> undef, undef |
| 705 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sge <32 x i16> undef, undef |
| 706 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 707 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sge i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 708 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sge <4 x i32> undef, undef |
| 709 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sge <8 x i32> undef, undef |
| 710 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sge <16 x i32> undef, undef |
| 711 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sge <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 712 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sge i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 713 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 9 for instruction: %V2I64 = icmp sge <2 x i64> undef, undef |
| 714 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 18 for instruction: %V4I64 = icmp sge <4 x i64> undef, undef |
| 715 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 36 for instruction: %V8I64 = icmp sge <8 x i64> undef, undef |
| 716 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 72 for instruction: %V16I64 = icmp sge <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 717 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 718 | ; |
| 719 | ; SSSE3-LABEL: 'cmp_int_sge' |
| 720 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 721 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sge <16 x i8> undef, undef |
| 722 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sge <32 x i8> undef, undef |
| 723 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sge <64 x i8> undef, undef |
| 724 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 725 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 726 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sge <8 x i16> undef, undef |
| 727 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sge <16 x i16> undef, undef |
| 728 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sge <32 x i16> undef, undef |
| 729 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 730 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sge i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 731 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sge <4 x i32> undef, undef |
| 732 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sge <8 x i32> undef, undef |
| 733 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sge <16 x i32> undef, undef |
| 734 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sge <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 735 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sge i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 736 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 9 for instruction: %V2I64 = icmp sge <2 x i64> undef, undef |
| 737 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 18 for instruction: %V4I64 = icmp sge <4 x i64> undef, undef |
| 738 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 36 for instruction: %V8I64 = icmp sge <8 x i64> undef, undef |
| 739 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 72 for instruction: %V16I64 = icmp sge <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 740 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 741 | ; |
| 742 | ; SSE41-LABEL: 'cmp_int_sge' |
| 743 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 744 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sge <16 x i8> undef, undef |
| 745 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sge <32 x i8> undef, undef |
| 746 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sge <64 x i8> undef, undef |
| 747 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 748 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 749 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sge <8 x i16> undef, undef |
| 750 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sge <16 x i16> undef, undef |
| 751 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sge <32 x i16> undef, undef |
| 752 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 753 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sge i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 754 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sge <4 x i32> undef, undef |
| 755 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sge <8 x i32> undef, undef |
| 756 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sge <16 x i32> undef, undef |
| 757 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sge <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 758 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sge i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 759 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 9 for instruction: %V2I64 = icmp sge <2 x i64> undef, undef |
| 760 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 18 for instruction: %V4I64 = icmp sge <4 x i64> undef, undef |
| 761 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 36 for instruction: %V8I64 = icmp sge <8 x i64> undef, undef |
| 762 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 72 for instruction: %V16I64 = icmp sge <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 763 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 764 | ; |
| 765 | ; SSE42-LABEL: 'cmp_int_sge' |
| 766 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 767 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sge <16 x i8> undef, undef |
| 768 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sge <32 x i8> undef, undef |
| 769 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sge <64 x i8> undef, undef |
| 770 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 771 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 772 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sge <8 x i16> undef, undef |
| 773 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sge <16 x i16> undef, undef |
| 774 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sge <32 x i16> undef, undef |
| 775 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 776 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sge i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 777 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sge <4 x i32> undef, undef |
| 778 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sge <8 x i32> undef, undef |
| 779 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sge <16 x i32> undef, undef |
| 780 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sge <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 781 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sge i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 782 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V2I64 = icmp sge <2 x i64> undef, undef |
| 783 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp sge <4 x i64> undef, undef |
| 784 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp sge <8 x i64> undef, undef |
| 785 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp sge <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 786 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 787 | ; |
| 788 | ; AVX1-LABEL: 'cmp_int_sge' |
| 789 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 790 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sge <16 x i8> undef, undef |
| 791 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V32I8 = icmp sge <32 x i8> undef, undef |
| 792 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V64I8 = icmp sge <64 x i8> undef, undef |
| 793 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V128I8 = icmp sge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 794 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 795 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sge <8 x i16> undef, undef |
| 796 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V16I16 = icmp sge <16 x i16> undef, undef |
| 797 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V32I16 = icmp sge <32 x i16> undef, undef |
| 798 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V64I16 = icmp sge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 799 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sge i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 800 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sge <4 x i32> undef, undef |
| 801 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V8I32 = icmp sge <8 x i32> undef, undef |
| 802 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V16I32 = icmp sge <16 x i32> undef, undef |
| 803 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V32I32 = icmp sge <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 804 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sge i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 805 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V2I64 = icmp sge <2 x i64> undef, undef |
| 806 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V4I64 = icmp sge <4 x i64> undef, undef |
| 807 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V8I64 = icmp sge <8 x i64> undef, undef |
| 808 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V16I64 = icmp sge <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 809 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 810 | ; |
| 811 | ; AVX2-LABEL: 'cmp_int_sge' |
| 812 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 813 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sge <16 x i8> undef, undef |
| 814 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp sge <32 x i8> undef, undef |
| 815 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp sge <64 x i8> undef, undef |
| 816 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp sge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 817 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 818 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sge <8 x i16> undef, undef |
| 819 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp sge <16 x i16> undef, undef |
| 820 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp sge <32 x i16> undef, undef |
| 821 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp sge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 822 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sge i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 823 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sge <4 x i32> undef, undef |
| 824 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp sge <8 x i32> undef, undef |
| 825 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp sge <16 x i32> undef, undef |
| 826 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp sge <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 827 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sge i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 828 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V2I64 = icmp sge <2 x i64> undef, undef |
| 829 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I64 = icmp sge <4 x i64> undef, undef |
| 830 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I64 = icmp sge <8 x i64> undef, undef |
| 831 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I64 = icmp sge <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 832 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 833 | ; |
| 834 | ; AVX512F-LABEL: 'cmp_int_sge' |
| 835 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 836 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sge <16 x i8> undef, undef |
| 837 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp sge <32 x i8> undef, undef |
Craig Topper | 8dfb962 | 2020-04-15 12:03:39 -0700 | [diff] [blame^] | 838 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V64I8 = icmp sge <64 x i8> undef, undef |
| 839 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V128I8 = icmp sge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 840 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 841 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sge <8 x i16> undef, undef |
| 842 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp sge <16 x i16> undef, undef |
Craig Topper | 8dfb962 | 2020-04-15 12:03:39 -0700 | [diff] [blame^] | 843 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V32I16 = icmp sge <32 x i16> undef, undef |
| 844 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V64I16 = icmp sge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 845 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sge i32 undef, undef |
| 846 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sge <4 x i32> undef, undef |
| 847 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp sge <8 x i32> undef, undef |
| 848 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp sge <16 x i32> undef, undef |
| 849 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp sge <32 x i32> undef, undef |
| 850 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sge i64 undef, undef |
| 851 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp sge <2 x i64> undef, undef |
| 852 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp sge <4 x i64> undef, undef |
| 853 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp sge <8 x i64> undef, undef |
| 854 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp sge <16 x i64> undef, undef |
| 855 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 856 | ; |
| 857 | ; AVX512BW-LABEL: 'cmp_int_sge' |
| 858 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sge i8 undef, undef |
| 859 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sge <16 x i8> undef, undef |
| 860 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp sge <32 x i8> undef, undef |
| 861 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V64I8 = icmp sge <64 x i8> undef, undef |
| 862 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V128I8 = icmp sge <128 x i8> undef, undef |
| 863 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sge i16 undef, undef |
| 864 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sge <8 x i16> undef, undef |
| 865 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp sge <16 x i16> undef, undef |
| 866 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I16 = icmp sge <32 x i16> undef, undef |
| 867 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I16 = icmp sge <64 x i16> undef, undef |
| 868 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sge i32 undef, undef |
| 869 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sge <4 x i32> undef, undef |
| 870 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp sge <8 x i32> undef, undef |
| 871 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp sge <16 x i32> undef, undef |
| 872 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp sge <32 x i32> undef, undef |
| 873 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sge i64 undef, undef |
| 874 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp sge <2 x i64> undef, undef |
| 875 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp sge <4 x i64> undef, undef |
| 876 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp sge <8 x i64> undef, undef |
| 877 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp sge <16 x i64> undef, undef |
| 878 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 879 | ; |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 880 | ; XOPAVX1-LABEL: 'cmp_int_sge' |
| 881 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sge i8 undef, undef |
| 882 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sge <16 x i8> undef, undef |
| 883 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sge <32 x i8> undef, undef |
| 884 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sge <64 x i8> undef, undef |
| 885 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sge <128 x i8> undef, undef |
| 886 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sge i16 undef, undef |
| 887 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sge <8 x i16> undef, undef |
| 888 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sge <16 x i16> undef, undef |
| 889 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sge <32 x i16> undef, undef |
| 890 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sge <64 x i16> undef, undef |
| 891 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sge i32 undef, undef |
| 892 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sge <4 x i32> undef, undef |
| 893 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sge <8 x i32> undef, undef |
| 894 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sge <16 x i32> undef, undef |
| 895 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sge <32 x i32> undef, undef |
| 896 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sge i64 undef, undef |
| 897 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp sge <2 x i64> undef, undef |
| 898 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp sge <4 x i64> undef, undef |
| 899 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp sge <8 x i64> undef, undef |
| 900 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp sge <16 x i64> undef, undef |
| 901 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 902 | ; |
| 903 | ; XOPAVX2-LABEL: 'cmp_int_sge' |
| 904 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sge i8 undef, undef |
| 905 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sge <16 x i8> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 906 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp sge <32 x i8> undef, undef |
| 907 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp sge <64 x i8> undef, undef |
| 908 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp sge <128 x i8> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 909 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sge i16 undef, undef |
| 910 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sge <8 x i16> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 911 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp sge <16 x i16> undef, undef |
| 912 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp sge <32 x i16> undef, undef |
| 913 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp sge <64 x i16> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 914 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sge i32 undef, undef |
| 915 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sge <4 x i32> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 916 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp sge <8 x i32> undef, undef |
| 917 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp sge <16 x i32> undef, undef |
| 918 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp sge <32 x i32> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 919 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sge i64 undef, undef |
| 920 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp sge <2 x i64> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 921 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I64 = icmp sge <4 x i64> undef, undef |
| 922 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I64 = icmp sge <8 x i64> undef, undef |
| 923 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I64 = icmp sge <16 x i64> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 924 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 925 | ; |
Simon Pilgrim | d7f0207 | 2019-09-26 10:14:38 +0000 | [diff] [blame] | 926 | ; SLM-LABEL: 'cmp_int_sge' |
| 927 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sge i8 undef, undef |
| 928 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sge <16 x i8> undef, undef |
| 929 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sge <32 x i8> undef, undef |
| 930 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sge <64 x i8> undef, undef |
| 931 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sge <128 x i8> undef, undef |
| 932 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sge i16 undef, undef |
| 933 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sge <8 x i16> undef, undef |
| 934 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sge <16 x i16> undef, undef |
| 935 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sge <32 x i16> undef, undef |
| 936 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sge <64 x i16> undef, undef |
| 937 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sge i32 undef, undef |
| 938 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sge <4 x i32> undef, undef |
| 939 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sge <8 x i32> undef, undef |
| 940 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sge <16 x i32> undef, undef |
| 941 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sge <32 x i32> undef, undef |
| 942 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sge i64 undef, undef |
| 943 | ; SLM-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V2I64 = icmp sge <2 x i64> undef, undef |
| 944 | ; SLM-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V4I64 = icmp sge <4 x i64> undef, undef |
| 945 | ; SLM-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V8I64 = icmp sge <8 x i64> undef, undef |
| 946 | ; SLM-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V16I64 = icmp sge <16 x i64> undef, undef |
| 947 | ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 948 | ; |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 949 | ; BTVER2-LABEL: 'cmp_int_sge' |
| 950 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 951 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sge <16 x i8> undef, undef |
| 952 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V32I8 = icmp sge <32 x i8> undef, undef |
| 953 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V64I8 = icmp sge <64 x i8> undef, undef |
| 954 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V128I8 = icmp sge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 955 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 956 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sge <8 x i16> undef, undef |
| 957 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V16I16 = icmp sge <16 x i16> undef, undef |
| 958 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V32I16 = icmp sge <32 x i16> undef, undef |
| 959 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V64I16 = icmp sge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 960 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sge i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 961 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sge <4 x i32> undef, undef |
| 962 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V8I32 = icmp sge <8 x i32> undef, undef |
| 963 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V16I32 = icmp sge <16 x i32> undef, undef |
| 964 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V32I32 = icmp sge <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 965 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sge i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 966 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V2I64 = icmp sge <2 x i64> undef, undef |
| 967 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V4I64 = icmp sge <4 x i64> undef, undef |
| 968 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V8I64 = icmp sge <8 x i64> undef, undef |
| 969 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V16I64 = icmp sge <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 970 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 971 | ; |
| 972 | %I8 = icmp sge i8 undef, undef |
| 973 | %V16I8 = icmp sge <16 x i8> undef, undef |
| 974 | %V32I8 = icmp sge <32 x i8> undef, undef |
| 975 | %V64I8 = icmp sge <64 x i8> undef, undef |
| 976 | %V128I8 = icmp sge <128 x i8> undef, undef |
| 977 | |
| 978 | %I16 = icmp sge i16 undef, undef |
| 979 | %V8I16 = icmp sge <8 x i16> undef, undef |
| 980 | %V16I16 = icmp sge <16 x i16> undef, undef |
| 981 | %V32I16 = icmp sge <32 x i16> undef, undef |
| 982 | %V64I16 = icmp sge <64 x i16> undef, undef |
| 983 | |
| 984 | %I32 = icmp sge i32 undef, undef |
| 985 | %V4I32 = icmp sge <4 x i32> undef, undef |
| 986 | %V8I32 = icmp sge <8 x i32> undef, undef |
| 987 | %V16I32 = icmp sge <16 x i32> undef, undef |
| 988 | %V32I32 = icmp sge <32 x i32> undef, undef |
| 989 | |
| 990 | %I64 = icmp sge i64 undef, undef |
| 991 | %V2I64 = icmp sge <2 x i64> undef, undef |
| 992 | %V4I64 = icmp sge <4 x i64> undef, undef |
| 993 | %V8I64 = icmp sge <8 x i64> undef, undef |
| 994 | %V16I64 = icmp sge <16 x i64> undef, undef |
| 995 | |
| 996 | ret i32 undef |
| 997 | } |
| 998 | |
| 999 | define i32 @cmp_int_uge(i32 %arg) { |
| 1000 | ; SSE2-LABEL: 'cmp_int_uge' |
| 1001 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp uge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1002 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp uge <16 x i8> undef, undef |
| 1003 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp uge <32 x i8> undef, undef |
| 1004 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp uge <64 x i8> undef, undef |
| 1005 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp uge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1006 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp uge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1007 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp uge <8 x i16> undef, undef |
| 1008 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp uge <16 x i16> undef, undef |
| 1009 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp uge <32 x i16> undef, undef |
| 1010 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp uge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1011 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp uge i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1012 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I32 = icmp uge <4 x i32> undef, undef |
| 1013 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I32 = icmp uge <8 x i32> undef, undef |
| 1014 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I32 = icmp uge <16 x i32> undef, undef |
| 1015 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V32I32 = icmp uge <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1016 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp uge i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1017 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 11 for instruction: %V2I64 = icmp uge <2 x i64> undef, undef |
| 1018 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 22 for instruction: %V4I64 = icmp uge <4 x i64> undef, undef |
| 1019 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 44 for instruction: %V8I64 = icmp uge <8 x i64> undef, undef |
| 1020 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 88 for instruction: %V16I64 = icmp uge <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1021 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1022 | ; |
| 1023 | ; SSE3-LABEL: 'cmp_int_uge' |
| 1024 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp uge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1025 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp uge <16 x i8> undef, undef |
| 1026 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp uge <32 x i8> undef, undef |
| 1027 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp uge <64 x i8> undef, undef |
| 1028 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp uge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1029 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp uge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1030 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp uge <8 x i16> undef, undef |
| 1031 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp uge <16 x i16> undef, undef |
| 1032 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp uge <32 x i16> undef, undef |
| 1033 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp uge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1034 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp uge i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1035 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I32 = icmp uge <4 x i32> undef, undef |
| 1036 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I32 = icmp uge <8 x i32> undef, undef |
| 1037 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I32 = icmp uge <16 x i32> undef, undef |
| 1038 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V32I32 = icmp uge <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1039 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp uge i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1040 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 11 for instruction: %V2I64 = icmp uge <2 x i64> undef, undef |
| 1041 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 22 for instruction: %V4I64 = icmp uge <4 x i64> undef, undef |
| 1042 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 44 for instruction: %V8I64 = icmp uge <8 x i64> undef, undef |
| 1043 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 88 for instruction: %V16I64 = icmp uge <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1044 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1045 | ; |
| 1046 | ; SSSE3-LABEL: 'cmp_int_uge' |
| 1047 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp uge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1048 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp uge <16 x i8> undef, undef |
| 1049 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp uge <32 x i8> undef, undef |
| 1050 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp uge <64 x i8> undef, undef |
| 1051 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp uge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1052 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp uge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1053 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp uge <8 x i16> undef, undef |
| 1054 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp uge <16 x i16> undef, undef |
| 1055 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp uge <32 x i16> undef, undef |
| 1056 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp uge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1057 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp uge i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1058 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I32 = icmp uge <4 x i32> undef, undef |
| 1059 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I32 = icmp uge <8 x i32> undef, undef |
| 1060 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I32 = icmp uge <16 x i32> undef, undef |
| 1061 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V32I32 = icmp uge <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1062 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp uge i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1063 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 11 for instruction: %V2I64 = icmp uge <2 x i64> undef, undef |
| 1064 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 22 for instruction: %V4I64 = icmp uge <4 x i64> undef, undef |
| 1065 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 44 for instruction: %V8I64 = icmp uge <8 x i64> undef, undef |
| 1066 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 88 for instruction: %V16I64 = icmp uge <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1067 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1068 | ; |
| 1069 | ; SSE41-LABEL: 'cmp_int_uge' |
| 1070 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp uge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1071 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp uge <16 x i8> undef, undef |
| 1072 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp uge <32 x i8> undef, undef |
| 1073 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp uge <64 x i8> undef, undef |
| 1074 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp uge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1075 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp uge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1076 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp uge <8 x i16> undef, undef |
| 1077 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp uge <16 x i16> undef, undef |
| 1078 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp uge <32 x i16> undef, undef |
| 1079 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp uge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1080 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp uge i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1081 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp uge <4 x i32> undef, undef |
| 1082 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp uge <8 x i32> undef, undef |
| 1083 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp uge <16 x i32> undef, undef |
| 1084 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp uge <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1085 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp uge i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1086 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 11 for instruction: %V2I64 = icmp uge <2 x i64> undef, undef |
| 1087 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 22 for instruction: %V4I64 = icmp uge <4 x i64> undef, undef |
| 1088 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 44 for instruction: %V8I64 = icmp uge <8 x i64> undef, undef |
| 1089 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 88 for instruction: %V16I64 = icmp uge <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1090 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1091 | ; |
| 1092 | ; SSE42-LABEL: 'cmp_int_uge' |
| 1093 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp uge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1094 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp uge <16 x i8> undef, undef |
| 1095 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp uge <32 x i8> undef, undef |
| 1096 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp uge <64 x i8> undef, undef |
| 1097 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp uge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1098 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp uge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1099 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp uge <8 x i16> undef, undef |
| 1100 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp uge <16 x i16> undef, undef |
| 1101 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp uge <32 x i16> undef, undef |
| 1102 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp uge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1103 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp uge i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1104 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp uge <4 x i32> undef, undef |
| 1105 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp uge <8 x i32> undef, undef |
| 1106 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp uge <16 x i32> undef, undef |
| 1107 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp uge <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1108 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp uge i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1109 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V2I64 = icmp uge <2 x i64> undef, undef |
| 1110 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V4I64 = icmp uge <4 x i64> undef, undef |
| 1111 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V8I64 = icmp uge <8 x i64> undef, undef |
| 1112 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V16I64 = icmp uge <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1113 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1114 | ; |
| 1115 | ; AVX1-LABEL: 'cmp_int_uge' |
| 1116 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp uge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1117 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp uge <16 x i8> undef, undef |
| 1118 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V32I8 = icmp uge <32 x i8> undef, undef |
| 1119 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V64I8 = icmp uge <64 x i8> undef, undef |
| 1120 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V128I8 = icmp uge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1121 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp uge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1122 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp uge <8 x i16> undef, undef |
| 1123 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V16I16 = icmp uge <16 x i16> undef, undef |
| 1124 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V32I16 = icmp uge <32 x i16> undef, undef |
| 1125 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V64I16 = icmp uge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1126 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp uge i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1127 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp uge <4 x i32> undef, undef |
| 1128 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V8I32 = icmp uge <8 x i32> undef, undef |
| 1129 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V16I32 = icmp uge <16 x i32> undef, undef |
| 1130 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V32I32 = icmp uge <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1131 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp uge i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1132 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V2I64 = icmp uge <2 x i64> undef, undef |
| 1133 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 7 for instruction: %V4I64 = icmp uge <4 x i64> undef, undef |
| 1134 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 14 for instruction: %V8I64 = icmp uge <8 x i64> undef, undef |
| 1135 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 28 for instruction: %V16I64 = icmp uge <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1136 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1137 | ; |
| 1138 | ; AVX2-LABEL: 'cmp_int_uge' |
| 1139 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp uge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1140 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp uge <16 x i8> undef, undef |
| 1141 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp uge <32 x i8> undef, undef |
| 1142 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp uge <64 x i8> undef, undef |
| 1143 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp uge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1144 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp uge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1145 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp uge <8 x i16> undef, undef |
| 1146 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp uge <16 x i16> undef, undef |
| 1147 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp uge <32 x i16> undef, undef |
| 1148 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp uge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1149 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp uge i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1150 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp uge <4 x i32> undef, undef |
| 1151 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp uge <8 x i32> undef, undef |
| 1152 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp uge <16 x i32> undef, undef |
| 1153 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp uge <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1154 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp uge i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1155 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V2I64 = icmp uge <2 x i64> undef, undef |
| 1156 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp uge <4 x i64> undef, undef |
| 1157 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp uge <8 x i64> undef, undef |
| 1158 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp uge <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1159 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1160 | ; |
| 1161 | ; AVX512F-LABEL: 'cmp_int_uge' |
| 1162 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp uge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1163 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp uge <16 x i8> undef, undef |
| 1164 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp uge <32 x i8> undef, undef |
Craig Topper | 8dfb962 | 2020-04-15 12:03:39 -0700 | [diff] [blame^] | 1165 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V64I8 = icmp uge <64 x i8> undef, undef |
| 1166 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V128I8 = icmp uge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1167 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp uge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1168 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp uge <8 x i16> undef, undef |
| 1169 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp uge <16 x i16> undef, undef |
Craig Topper | 8dfb962 | 2020-04-15 12:03:39 -0700 | [diff] [blame^] | 1170 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V32I16 = icmp uge <32 x i16> undef, undef |
| 1171 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V64I16 = icmp uge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1172 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp uge i32 undef, undef |
| 1173 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp uge <4 x i32> undef, undef |
| 1174 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp uge <8 x i32> undef, undef |
| 1175 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp uge <16 x i32> undef, undef |
| 1176 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp uge <32 x i32> undef, undef |
| 1177 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp uge i64 undef, undef |
| 1178 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp uge <2 x i64> undef, undef |
| 1179 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp uge <4 x i64> undef, undef |
| 1180 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp uge <8 x i64> undef, undef |
| 1181 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp uge <16 x i64> undef, undef |
| 1182 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1183 | ; |
| 1184 | ; AVX512BW-LABEL: 'cmp_int_uge' |
| 1185 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp uge i8 undef, undef |
| 1186 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp uge <16 x i8> undef, undef |
| 1187 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp uge <32 x i8> undef, undef |
| 1188 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V64I8 = icmp uge <64 x i8> undef, undef |
| 1189 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V128I8 = icmp uge <128 x i8> undef, undef |
| 1190 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp uge i16 undef, undef |
| 1191 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp uge <8 x i16> undef, undef |
| 1192 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp uge <16 x i16> undef, undef |
| 1193 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I16 = icmp uge <32 x i16> undef, undef |
| 1194 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I16 = icmp uge <64 x i16> undef, undef |
| 1195 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp uge i32 undef, undef |
| 1196 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp uge <4 x i32> undef, undef |
| 1197 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp uge <8 x i32> undef, undef |
| 1198 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp uge <16 x i32> undef, undef |
| 1199 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp uge <32 x i32> undef, undef |
| 1200 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp uge i64 undef, undef |
| 1201 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp uge <2 x i64> undef, undef |
| 1202 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp uge <4 x i64> undef, undef |
| 1203 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp uge <8 x i64> undef, undef |
| 1204 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp uge <16 x i64> undef, undef |
| 1205 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1206 | ; |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 1207 | ; XOPAVX1-LABEL: 'cmp_int_uge' |
| 1208 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp uge i8 undef, undef |
| 1209 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp uge <16 x i8> undef, undef |
| 1210 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp uge <32 x i8> undef, undef |
| 1211 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp uge <64 x i8> undef, undef |
| 1212 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp uge <128 x i8> undef, undef |
| 1213 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp uge i16 undef, undef |
| 1214 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp uge <8 x i16> undef, undef |
| 1215 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp uge <16 x i16> undef, undef |
| 1216 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp uge <32 x i16> undef, undef |
| 1217 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp uge <64 x i16> undef, undef |
| 1218 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp uge i32 undef, undef |
| 1219 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp uge <4 x i32> undef, undef |
| 1220 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp uge <8 x i32> undef, undef |
| 1221 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp uge <16 x i32> undef, undef |
| 1222 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp uge <32 x i32> undef, undef |
| 1223 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp uge i64 undef, undef |
| 1224 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp uge <2 x i64> undef, undef |
| 1225 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp uge <4 x i64> undef, undef |
| 1226 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp uge <8 x i64> undef, undef |
| 1227 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp uge <16 x i64> undef, undef |
| 1228 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1229 | ; |
| 1230 | ; XOPAVX2-LABEL: 'cmp_int_uge' |
| 1231 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp uge i8 undef, undef |
| 1232 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp uge <16 x i8> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1233 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp uge <32 x i8> undef, undef |
| 1234 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp uge <64 x i8> undef, undef |
| 1235 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp uge <128 x i8> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 1236 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp uge i16 undef, undef |
| 1237 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp uge <8 x i16> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1238 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp uge <16 x i16> undef, undef |
| 1239 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp uge <32 x i16> undef, undef |
| 1240 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp uge <64 x i16> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 1241 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp uge i32 undef, undef |
| 1242 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp uge <4 x i32> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1243 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp uge <8 x i32> undef, undef |
| 1244 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp uge <16 x i32> undef, undef |
| 1245 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp uge <32 x i32> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 1246 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp uge i64 undef, undef |
| 1247 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp uge <2 x i64> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1248 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp uge <4 x i64> undef, undef |
| 1249 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp uge <8 x i64> undef, undef |
| 1250 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp uge <16 x i64> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 1251 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1252 | ; |
Simon Pilgrim | d7f0207 | 2019-09-26 10:14:38 +0000 | [diff] [blame] | 1253 | ; SLM-LABEL: 'cmp_int_uge' |
| 1254 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp uge i8 undef, undef |
| 1255 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp uge <16 x i8> undef, undef |
| 1256 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp uge <32 x i8> undef, undef |
| 1257 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp uge <64 x i8> undef, undef |
| 1258 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp uge <128 x i8> undef, undef |
| 1259 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp uge i16 undef, undef |
| 1260 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp uge <8 x i16> undef, undef |
| 1261 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp uge <16 x i16> undef, undef |
| 1262 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp uge <32 x i16> undef, undef |
| 1263 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp uge <64 x i16> undef, undef |
| 1264 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp uge i32 undef, undef |
| 1265 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp uge <4 x i32> undef, undef |
| 1266 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp uge <8 x i32> undef, undef |
| 1267 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp uge <16 x i32> undef, undef |
| 1268 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp uge <32 x i32> undef, undef |
| 1269 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp uge i64 undef, undef |
| 1270 | ; SLM-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V2I64 = icmp uge <2 x i64> undef, undef |
| 1271 | ; SLM-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V4I64 = icmp uge <4 x i64> undef, undef |
| 1272 | ; SLM-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V8I64 = icmp uge <8 x i64> undef, undef |
| 1273 | ; SLM-NEXT: Cost Model: Found an estimated cost of 40 for instruction: %V16I64 = icmp uge <16 x i64> undef, undef |
| 1274 | ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1275 | ; |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1276 | ; BTVER2-LABEL: 'cmp_int_uge' |
| 1277 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp uge i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1278 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp uge <16 x i8> undef, undef |
| 1279 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V32I8 = icmp uge <32 x i8> undef, undef |
| 1280 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V64I8 = icmp uge <64 x i8> undef, undef |
| 1281 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V128I8 = icmp uge <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1282 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp uge i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1283 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp uge <8 x i16> undef, undef |
| 1284 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V16I16 = icmp uge <16 x i16> undef, undef |
| 1285 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V32I16 = icmp uge <32 x i16> undef, undef |
| 1286 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V64I16 = icmp uge <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1287 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp uge i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1288 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp uge <4 x i32> undef, undef |
| 1289 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V8I32 = icmp uge <8 x i32> undef, undef |
| 1290 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V16I32 = icmp uge <16 x i32> undef, undef |
| 1291 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V32I32 = icmp uge <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1292 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp uge i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1293 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V2I64 = icmp uge <2 x i64> undef, undef |
| 1294 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 7 for instruction: %V4I64 = icmp uge <4 x i64> undef, undef |
| 1295 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 14 for instruction: %V8I64 = icmp uge <8 x i64> undef, undef |
| 1296 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 28 for instruction: %V16I64 = icmp uge <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1297 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1298 | ; |
| 1299 | %I8 = icmp uge i8 undef, undef |
| 1300 | %V16I8 = icmp uge <16 x i8> undef, undef |
| 1301 | %V32I8 = icmp uge <32 x i8> undef, undef |
| 1302 | %V64I8 = icmp uge <64 x i8> undef, undef |
| 1303 | %V128I8 = icmp uge <128 x i8> undef, undef |
| 1304 | |
| 1305 | %I16 = icmp uge i16 undef, undef |
| 1306 | %V8I16 = icmp uge <8 x i16> undef, undef |
| 1307 | %V16I16 = icmp uge <16 x i16> undef, undef |
| 1308 | %V32I16 = icmp uge <32 x i16> undef, undef |
| 1309 | %V64I16 = icmp uge <64 x i16> undef, undef |
| 1310 | |
| 1311 | %I32 = icmp uge i32 undef, undef |
| 1312 | %V4I32 = icmp uge <4 x i32> undef, undef |
| 1313 | %V8I32 = icmp uge <8 x i32> undef, undef |
| 1314 | %V16I32 = icmp uge <16 x i32> undef, undef |
| 1315 | %V32I32 = icmp uge <32 x i32> undef, undef |
| 1316 | |
| 1317 | %I64 = icmp uge i64 undef, undef |
| 1318 | %V2I64 = icmp uge <2 x i64> undef, undef |
| 1319 | %V4I64 = icmp uge <4 x i64> undef, undef |
| 1320 | %V8I64 = icmp uge <8 x i64> undef, undef |
| 1321 | %V16I64 = icmp uge <16 x i64> undef, undef |
| 1322 | |
| 1323 | ret i32 undef |
| 1324 | } |
| 1325 | |
| 1326 | define i32 @cmp_int_sgt(i32 %arg) { |
| 1327 | ; SSE2-LABEL: 'cmp_int_sgt' |
| 1328 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sgt i8 undef, undef |
| 1329 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sgt <16 x i8> undef, undef |
| 1330 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp sgt <32 x i8> undef, undef |
| 1331 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp sgt <64 x i8> undef, undef |
| 1332 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp sgt <128 x i8> undef, undef |
| 1333 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sgt i16 undef, undef |
| 1334 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sgt <8 x i16> undef, undef |
| 1335 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp sgt <16 x i16> undef, undef |
| 1336 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp sgt <32 x i16> undef, undef |
| 1337 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp sgt <64 x i16> undef, undef |
| 1338 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sgt i32 undef, undef |
| 1339 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sgt <4 x i32> undef, undef |
| 1340 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp sgt <8 x i32> undef, undef |
| 1341 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp sgt <16 x i32> undef, undef |
| 1342 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp sgt <32 x i32> undef, undef |
| 1343 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sgt i64 undef, undef |
| 1344 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V2I64 = icmp sgt <2 x i64> undef, undef |
| 1345 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V4I64 = icmp sgt <4 x i64> undef, undef |
| 1346 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V8I64 = icmp sgt <8 x i64> undef, undef |
| 1347 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 64 for instruction: %V16I64 = icmp sgt <16 x i64> undef, undef |
| 1348 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1349 | ; |
| 1350 | ; SSE3-LABEL: 'cmp_int_sgt' |
| 1351 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sgt i8 undef, undef |
| 1352 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sgt <16 x i8> undef, undef |
| 1353 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp sgt <32 x i8> undef, undef |
| 1354 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp sgt <64 x i8> undef, undef |
| 1355 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp sgt <128 x i8> undef, undef |
| 1356 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sgt i16 undef, undef |
| 1357 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sgt <8 x i16> undef, undef |
| 1358 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp sgt <16 x i16> undef, undef |
| 1359 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp sgt <32 x i16> undef, undef |
| 1360 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp sgt <64 x i16> undef, undef |
| 1361 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sgt i32 undef, undef |
| 1362 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sgt <4 x i32> undef, undef |
| 1363 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp sgt <8 x i32> undef, undef |
| 1364 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp sgt <16 x i32> undef, undef |
| 1365 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp sgt <32 x i32> undef, undef |
| 1366 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sgt i64 undef, undef |
| 1367 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V2I64 = icmp sgt <2 x i64> undef, undef |
| 1368 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V4I64 = icmp sgt <4 x i64> undef, undef |
| 1369 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V8I64 = icmp sgt <8 x i64> undef, undef |
| 1370 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 64 for instruction: %V16I64 = icmp sgt <16 x i64> undef, undef |
| 1371 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1372 | ; |
| 1373 | ; SSSE3-LABEL: 'cmp_int_sgt' |
| 1374 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sgt i8 undef, undef |
| 1375 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sgt <16 x i8> undef, undef |
| 1376 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp sgt <32 x i8> undef, undef |
| 1377 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp sgt <64 x i8> undef, undef |
| 1378 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp sgt <128 x i8> undef, undef |
| 1379 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sgt i16 undef, undef |
| 1380 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sgt <8 x i16> undef, undef |
| 1381 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp sgt <16 x i16> undef, undef |
| 1382 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp sgt <32 x i16> undef, undef |
| 1383 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp sgt <64 x i16> undef, undef |
| 1384 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sgt i32 undef, undef |
| 1385 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sgt <4 x i32> undef, undef |
| 1386 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp sgt <8 x i32> undef, undef |
| 1387 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp sgt <16 x i32> undef, undef |
| 1388 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp sgt <32 x i32> undef, undef |
| 1389 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sgt i64 undef, undef |
| 1390 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V2I64 = icmp sgt <2 x i64> undef, undef |
| 1391 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V4I64 = icmp sgt <4 x i64> undef, undef |
| 1392 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V8I64 = icmp sgt <8 x i64> undef, undef |
| 1393 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 64 for instruction: %V16I64 = icmp sgt <16 x i64> undef, undef |
| 1394 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1395 | ; |
| 1396 | ; SSE41-LABEL: 'cmp_int_sgt' |
| 1397 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sgt i8 undef, undef |
| 1398 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sgt <16 x i8> undef, undef |
| 1399 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp sgt <32 x i8> undef, undef |
| 1400 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp sgt <64 x i8> undef, undef |
| 1401 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp sgt <128 x i8> undef, undef |
| 1402 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sgt i16 undef, undef |
| 1403 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sgt <8 x i16> undef, undef |
| 1404 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp sgt <16 x i16> undef, undef |
| 1405 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp sgt <32 x i16> undef, undef |
| 1406 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp sgt <64 x i16> undef, undef |
| 1407 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sgt i32 undef, undef |
| 1408 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sgt <4 x i32> undef, undef |
| 1409 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp sgt <8 x i32> undef, undef |
| 1410 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp sgt <16 x i32> undef, undef |
| 1411 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp sgt <32 x i32> undef, undef |
| 1412 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sgt i64 undef, undef |
| 1413 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V2I64 = icmp sgt <2 x i64> undef, undef |
| 1414 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V4I64 = icmp sgt <4 x i64> undef, undef |
| 1415 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V8I64 = icmp sgt <8 x i64> undef, undef |
| 1416 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 64 for instruction: %V16I64 = icmp sgt <16 x i64> undef, undef |
| 1417 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1418 | ; |
| 1419 | ; SSE42-LABEL: 'cmp_int_sgt' |
| 1420 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sgt i8 undef, undef |
| 1421 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sgt <16 x i8> undef, undef |
| 1422 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp sgt <32 x i8> undef, undef |
| 1423 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp sgt <64 x i8> undef, undef |
| 1424 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp sgt <128 x i8> undef, undef |
| 1425 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sgt i16 undef, undef |
| 1426 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sgt <8 x i16> undef, undef |
| 1427 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp sgt <16 x i16> undef, undef |
| 1428 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp sgt <32 x i16> undef, undef |
| 1429 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp sgt <64 x i16> undef, undef |
| 1430 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sgt i32 undef, undef |
| 1431 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sgt <4 x i32> undef, undef |
| 1432 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp sgt <8 x i32> undef, undef |
| 1433 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp sgt <16 x i32> undef, undef |
| 1434 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp sgt <32 x i32> undef, undef |
| 1435 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sgt i64 undef, undef |
| 1436 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp sgt <2 x i64> undef, undef |
| 1437 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I64 = icmp sgt <4 x i64> undef, undef |
| 1438 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I64 = icmp sgt <8 x i64> undef, undef |
| 1439 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I64 = icmp sgt <16 x i64> undef, undef |
| 1440 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1441 | ; |
| 1442 | ; AVX1-LABEL: 'cmp_int_sgt' |
| 1443 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sgt i8 undef, undef |
| 1444 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sgt <16 x i8> undef, undef |
| 1445 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sgt <32 x i8> undef, undef |
| 1446 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sgt <64 x i8> undef, undef |
| 1447 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sgt <128 x i8> undef, undef |
| 1448 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sgt i16 undef, undef |
| 1449 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sgt <8 x i16> undef, undef |
| 1450 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sgt <16 x i16> undef, undef |
| 1451 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sgt <32 x i16> undef, undef |
| 1452 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sgt <64 x i16> undef, undef |
| 1453 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sgt i32 undef, undef |
| 1454 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sgt <4 x i32> undef, undef |
| 1455 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sgt <8 x i32> undef, undef |
| 1456 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sgt <16 x i32> undef, undef |
| 1457 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sgt <32 x i32> undef, undef |
| 1458 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sgt i64 undef, undef |
| 1459 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp sgt <2 x i64> undef, undef |
| 1460 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp sgt <4 x i64> undef, undef |
| 1461 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp sgt <8 x i64> undef, undef |
| 1462 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp sgt <16 x i64> undef, undef |
| 1463 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1464 | ; |
| 1465 | ; AVX2-LABEL: 'cmp_int_sgt' |
| 1466 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sgt i8 undef, undef |
| 1467 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sgt <16 x i8> undef, undef |
| 1468 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp sgt <32 x i8> undef, undef |
| 1469 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I8 = icmp sgt <64 x i8> undef, undef |
| 1470 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V128I8 = icmp sgt <128 x i8> undef, undef |
| 1471 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sgt i16 undef, undef |
| 1472 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sgt <8 x i16> undef, undef |
| 1473 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp sgt <16 x i16> undef, undef |
| 1474 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I16 = icmp sgt <32 x i16> undef, undef |
| 1475 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I16 = icmp sgt <64 x i16> undef, undef |
| 1476 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sgt i32 undef, undef |
| 1477 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sgt <4 x i32> undef, undef |
| 1478 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp sgt <8 x i32> undef, undef |
| 1479 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I32 = icmp sgt <16 x i32> undef, undef |
| 1480 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I32 = icmp sgt <32 x i32> undef, undef |
| 1481 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sgt i64 undef, undef |
| 1482 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp sgt <2 x i64> undef, undef |
| 1483 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp sgt <4 x i64> undef, undef |
| 1484 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I64 = icmp sgt <8 x i64> undef, undef |
| 1485 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I64 = icmp sgt <16 x i64> undef, undef |
| 1486 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1487 | ; |
| 1488 | ; AVX512F-LABEL: 'cmp_int_sgt' |
| 1489 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sgt i8 undef, undef |
| 1490 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sgt <16 x i8> undef, undef |
| 1491 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp sgt <32 x i8> undef, undef |
| 1492 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I8 = icmp sgt <64 x i8> undef, undef |
| 1493 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V128I8 = icmp sgt <128 x i8> undef, undef |
| 1494 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sgt i16 undef, undef |
| 1495 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sgt <8 x i16> undef, undef |
| 1496 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp sgt <16 x i16> undef, undef |
| 1497 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I16 = icmp sgt <32 x i16> undef, undef |
| 1498 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I16 = icmp sgt <64 x i16> undef, undef |
| 1499 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sgt i32 undef, undef |
| 1500 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sgt <4 x i32> undef, undef |
| 1501 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp sgt <8 x i32> undef, undef |
| 1502 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp sgt <16 x i32> undef, undef |
| 1503 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp sgt <32 x i32> undef, undef |
| 1504 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sgt i64 undef, undef |
| 1505 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp sgt <2 x i64> undef, undef |
| 1506 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp sgt <4 x i64> undef, undef |
| 1507 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp sgt <8 x i64> undef, undef |
| 1508 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp sgt <16 x i64> undef, undef |
| 1509 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1510 | ; |
| 1511 | ; AVX512BW-LABEL: 'cmp_int_sgt' |
| 1512 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sgt i8 undef, undef |
| 1513 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sgt <16 x i8> undef, undef |
| 1514 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp sgt <32 x i8> undef, undef |
| 1515 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V64I8 = icmp sgt <64 x i8> undef, undef |
| 1516 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V128I8 = icmp sgt <128 x i8> undef, undef |
| 1517 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sgt i16 undef, undef |
| 1518 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sgt <8 x i16> undef, undef |
| 1519 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp sgt <16 x i16> undef, undef |
| 1520 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I16 = icmp sgt <32 x i16> undef, undef |
| 1521 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I16 = icmp sgt <64 x i16> undef, undef |
| 1522 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sgt i32 undef, undef |
| 1523 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sgt <4 x i32> undef, undef |
| 1524 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp sgt <8 x i32> undef, undef |
| 1525 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp sgt <16 x i32> undef, undef |
| 1526 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp sgt <32 x i32> undef, undef |
| 1527 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sgt i64 undef, undef |
| 1528 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp sgt <2 x i64> undef, undef |
| 1529 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp sgt <4 x i64> undef, undef |
| 1530 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp sgt <8 x i64> undef, undef |
| 1531 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp sgt <16 x i64> undef, undef |
| 1532 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1533 | ; |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 1534 | ; XOPAVX1-LABEL: 'cmp_int_sgt' |
| 1535 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sgt i8 undef, undef |
| 1536 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sgt <16 x i8> undef, undef |
| 1537 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sgt <32 x i8> undef, undef |
| 1538 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sgt <64 x i8> undef, undef |
| 1539 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sgt <128 x i8> undef, undef |
| 1540 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sgt i16 undef, undef |
| 1541 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sgt <8 x i16> undef, undef |
| 1542 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sgt <16 x i16> undef, undef |
| 1543 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sgt <32 x i16> undef, undef |
| 1544 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sgt <64 x i16> undef, undef |
| 1545 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sgt i32 undef, undef |
| 1546 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sgt <4 x i32> undef, undef |
| 1547 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sgt <8 x i32> undef, undef |
| 1548 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sgt <16 x i32> undef, undef |
| 1549 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sgt <32 x i32> undef, undef |
| 1550 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sgt i64 undef, undef |
| 1551 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp sgt <2 x i64> undef, undef |
| 1552 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp sgt <4 x i64> undef, undef |
| 1553 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp sgt <8 x i64> undef, undef |
| 1554 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp sgt <16 x i64> undef, undef |
| 1555 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1556 | ; |
| 1557 | ; XOPAVX2-LABEL: 'cmp_int_sgt' |
| 1558 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sgt i8 undef, undef |
| 1559 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sgt <16 x i8> undef, undef |
| 1560 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp sgt <32 x i8> undef, undef |
| 1561 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I8 = icmp sgt <64 x i8> undef, undef |
| 1562 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V128I8 = icmp sgt <128 x i8> undef, undef |
| 1563 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sgt i16 undef, undef |
| 1564 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sgt <8 x i16> undef, undef |
| 1565 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp sgt <16 x i16> undef, undef |
| 1566 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I16 = icmp sgt <32 x i16> undef, undef |
| 1567 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I16 = icmp sgt <64 x i16> undef, undef |
| 1568 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sgt i32 undef, undef |
| 1569 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sgt <4 x i32> undef, undef |
| 1570 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp sgt <8 x i32> undef, undef |
| 1571 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I32 = icmp sgt <16 x i32> undef, undef |
| 1572 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I32 = icmp sgt <32 x i32> undef, undef |
| 1573 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sgt i64 undef, undef |
| 1574 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp sgt <2 x i64> undef, undef |
| 1575 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp sgt <4 x i64> undef, undef |
| 1576 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I64 = icmp sgt <8 x i64> undef, undef |
| 1577 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I64 = icmp sgt <16 x i64> undef, undef |
| 1578 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1579 | ; |
Simon Pilgrim | d7f0207 | 2019-09-26 10:14:38 +0000 | [diff] [blame] | 1580 | ; SLM-LABEL: 'cmp_int_sgt' |
| 1581 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sgt i8 undef, undef |
| 1582 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sgt <16 x i8> undef, undef |
| 1583 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp sgt <32 x i8> undef, undef |
| 1584 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp sgt <64 x i8> undef, undef |
| 1585 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp sgt <128 x i8> undef, undef |
| 1586 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sgt i16 undef, undef |
| 1587 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sgt <8 x i16> undef, undef |
| 1588 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp sgt <16 x i16> undef, undef |
| 1589 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp sgt <32 x i16> undef, undef |
| 1590 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp sgt <64 x i16> undef, undef |
| 1591 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sgt i32 undef, undef |
| 1592 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sgt <4 x i32> undef, undef |
| 1593 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp sgt <8 x i32> undef, undef |
| 1594 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp sgt <16 x i32> undef, undef |
| 1595 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp sgt <32 x i32> undef, undef |
| 1596 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sgt i64 undef, undef |
| 1597 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V2I64 = icmp sgt <2 x i64> undef, undef |
| 1598 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp sgt <4 x i64> undef, undef |
| 1599 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp sgt <8 x i64> undef, undef |
| 1600 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp sgt <16 x i64> undef, undef |
| 1601 | ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1602 | ; |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1603 | ; BTVER2-LABEL: 'cmp_int_sgt' |
| 1604 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sgt i8 undef, undef |
| 1605 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sgt <16 x i8> undef, undef |
| 1606 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sgt <32 x i8> undef, undef |
| 1607 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sgt <64 x i8> undef, undef |
| 1608 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sgt <128 x i8> undef, undef |
| 1609 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sgt i16 undef, undef |
| 1610 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sgt <8 x i16> undef, undef |
| 1611 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sgt <16 x i16> undef, undef |
| 1612 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sgt <32 x i16> undef, undef |
| 1613 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sgt <64 x i16> undef, undef |
| 1614 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sgt i32 undef, undef |
| 1615 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sgt <4 x i32> undef, undef |
| 1616 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sgt <8 x i32> undef, undef |
| 1617 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sgt <16 x i32> undef, undef |
| 1618 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sgt <32 x i32> undef, undef |
| 1619 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sgt i64 undef, undef |
| 1620 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp sgt <2 x i64> undef, undef |
| 1621 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp sgt <4 x i64> undef, undef |
| 1622 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp sgt <8 x i64> undef, undef |
| 1623 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp sgt <16 x i64> undef, undef |
| 1624 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1625 | ; |
| 1626 | %I8 = icmp sgt i8 undef, undef |
| 1627 | %V16I8 = icmp sgt <16 x i8> undef, undef |
| 1628 | %V32I8 = icmp sgt <32 x i8> undef, undef |
| 1629 | %V64I8 = icmp sgt <64 x i8> undef, undef |
| 1630 | %V128I8 = icmp sgt <128 x i8> undef, undef |
| 1631 | |
| 1632 | %I16 = icmp sgt i16 undef, undef |
| 1633 | %V8I16 = icmp sgt <8 x i16> undef, undef |
| 1634 | %V16I16 = icmp sgt <16 x i16> undef, undef |
| 1635 | %V32I16 = icmp sgt <32 x i16> undef, undef |
| 1636 | %V64I16 = icmp sgt <64 x i16> undef, undef |
| 1637 | |
| 1638 | %I32 = icmp sgt i32 undef, undef |
| 1639 | %V4I32 = icmp sgt <4 x i32> undef, undef |
| 1640 | %V8I32 = icmp sgt <8 x i32> undef, undef |
| 1641 | %V16I32 = icmp sgt <16 x i32> undef, undef |
| 1642 | %V32I32 = icmp sgt <32 x i32> undef, undef |
| 1643 | |
| 1644 | %I64 = icmp sgt i64 undef, undef |
| 1645 | %V2I64 = icmp sgt <2 x i64> undef, undef |
| 1646 | %V4I64 = icmp sgt <4 x i64> undef, undef |
| 1647 | %V8I64 = icmp sgt <8 x i64> undef, undef |
| 1648 | %V16I64 = icmp sgt <16 x i64> undef, undef |
| 1649 | |
| 1650 | ret i32 undef |
| 1651 | } |
| 1652 | |
| 1653 | define i32 @cmp_int_ugt(i32 %arg) { |
| 1654 | ; SSE2-LABEL: 'cmp_int_ugt' |
| 1655 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ugt i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1656 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ugt <16 x i8> undef, undef |
| 1657 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I8 = icmp ugt <32 x i8> undef, undef |
| 1658 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I8 = icmp ugt <64 x i8> undef, undef |
| 1659 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V128I8 = icmp ugt <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1660 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ugt i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1661 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ugt <8 x i16> undef, undef |
| 1662 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I16 = icmp ugt <16 x i16> undef, undef |
| 1663 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I16 = icmp ugt <32 x i16> undef, undef |
| 1664 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V64I16 = icmp ugt <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1665 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ugt i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1666 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ugt <4 x i32> undef, undef |
| 1667 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I32 = icmp ugt <8 x i32> undef, undef |
| 1668 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I32 = icmp ugt <16 x i32> undef, undef |
| 1669 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V32I32 = icmp ugt <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1670 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ugt i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1671 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V2I64 = icmp ugt <2 x i64> undef, undef |
| 1672 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V4I64 = icmp ugt <4 x i64> undef, undef |
| 1673 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 40 for instruction: %V8I64 = icmp ugt <8 x i64> undef, undef |
| 1674 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 80 for instruction: %V16I64 = icmp ugt <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1675 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1676 | ; |
| 1677 | ; SSE3-LABEL: 'cmp_int_ugt' |
| 1678 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ugt i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1679 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ugt <16 x i8> undef, undef |
| 1680 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I8 = icmp ugt <32 x i8> undef, undef |
| 1681 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I8 = icmp ugt <64 x i8> undef, undef |
| 1682 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V128I8 = icmp ugt <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1683 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ugt i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1684 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ugt <8 x i16> undef, undef |
| 1685 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I16 = icmp ugt <16 x i16> undef, undef |
| 1686 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I16 = icmp ugt <32 x i16> undef, undef |
| 1687 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V64I16 = icmp ugt <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1688 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ugt i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1689 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ugt <4 x i32> undef, undef |
| 1690 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I32 = icmp ugt <8 x i32> undef, undef |
| 1691 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I32 = icmp ugt <16 x i32> undef, undef |
| 1692 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V32I32 = icmp ugt <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1693 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ugt i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1694 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V2I64 = icmp ugt <2 x i64> undef, undef |
| 1695 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V4I64 = icmp ugt <4 x i64> undef, undef |
| 1696 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 40 for instruction: %V8I64 = icmp ugt <8 x i64> undef, undef |
| 1697 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 80 for instruction: %V16I64 = icmp ugt <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1698 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1699 | ; |
| 1700 | ; SSSE3-LABEL: 'cmp_int_ugt' |
| 1701 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ugt i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1702 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ugt <16 x i8> undef, undef |
| 1703 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I8 = icmp ugt <32 x i8> undef, undef |
| 1704 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I8 = icmp ugt <64 x i8> undef, undef |
| 1705 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V128I8 = icmp ugt <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1706 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ugt i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1707 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ugt <8 x i16> undef, undef |
| 1708 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I16 = icmp ugt <16 x i16> undef, undef |
| 1709 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I16 = icmp ugt <32 x i16> undef, undef |
| 1710 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V64I16 = icmp ugt <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1711 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ugt i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1712 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ugt <4 x i32> undef, undef |
| 1713 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I32 = icmp ugt <8 x i32> undef, undef |
| 1714 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I32 = icmp ugt <16 x i32> undef, undef |
| 1715 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V32I32 = icmp ugt <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1716 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ugt i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1717 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V2I64 = icmp ugt <2 x i64> undef, undef |
| 1718 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V4I64 = icmp ugt <4 x i64> undef, undef |
| 1719 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 40 for instruction: %V8I64 = icmp ugt <8 x i64> undef, undef |
| 1720 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 80 for instruction: %V16I64 = icmp ugt <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1721 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1722 | ; |
| 1723 | ; SSE41-LABEL: 'cmp_int_ugt' |
| 1724 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ugt i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1725 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ugt <16 x i8> undef, undef |
| 1726 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I8 = icmp ugt <32 x i8> undef, undef |
| 1727 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I8 = icmp ugt <64 x i8> undef, undef |
| 1728 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V128I8 = icmp ugt <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1729 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ugt i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1730 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ugt <8 x i16> undef, undef |
| 1731 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I16 = icmp ugt <16 x i16> undef, undef |
| 1732 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I16 = icmp ugt <32 x i16> undef, undef |
| 1733 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V64I16 = icmp ugt <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1734 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ugt i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1735 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ugt <4 x i32> undef, undef |
| 1736 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I32 = icmp ugt <8 x i32> undef, undef |
| 1737 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I32 = icmp ugt <16 x i32> undef, undef |
| 1738 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V32I32 = icmp ugt <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1739 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ugt i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1740 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V2I64 = icmp ugt <2 x i64> undef, undef |
| 1741 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V4I64 = icmp ugt <4 x i64> undef, undef |
| 1742 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 40 for instruction: %V8I64 = icmp ugt <8 x i64> undef, undef |
| 1743 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 80 for instruction: %V16I64 = icmp ugt <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1744 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1745 | ; |
| 1746 | ; SSE42-LABEL: 'cmp_int_ugt' |
| 1747 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ugt i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1748 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ugt <16 x i8> undef, undef |
| 1749 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I8 = icmp ugt <32 x i8> undef, undef |
| 1750 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I8 = icmp ugt <64 x i8> undef, undef |
| 1751 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V128I8 = icmp ugt <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1752 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ugt i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1753 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ugt <8 x i16> undef, undef |
| 1754 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I16 = icmp ugt <16 x i16> undef, undef |
| 1755 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I16 = icmp ugt <32 x i16> undef, undef |
| 1756 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V64I16 = icmp ugt <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1757 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ugt i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1758 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ugt <4 x i32> undef, undef |
| 1759 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I32 = icmp ugt <8 x i32> undef, undef |
| 1760 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I32 = icmp ugt <16 x i32> undef, undef |
| 1761 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V32I32 = icmp ugt <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1762 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ugt i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1763 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V2I64 = icmp ugt <2 x i64> undef, undef |
| 1764 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V4I64 = icmp ugt <4 x i64> undef, undef |
| 1765 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V8I64 = icmp ugt <8 x i64> undef, undef |
| 1766 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V16I64 = icmp ugt <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1767 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1768 | ; |
| 1769 | ; AVX1-LABEL: 'cmp_int_ugt' |
| 1770 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ugt i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1771 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ugt <16 x i8> undef, undef |
| 1772 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I8 = icmp ugt <32 x i8> undef, undef |
| 1773 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I8 = icmp ugt <64 x i8> undef, undef |
| 1774 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V128I8 = icmp ugt <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1775 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ugt i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1776 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ugt <8 x i16> undef, undef |
| 1777 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I16 = icmp ugt <16 x i16> undef, undef |
| 1778 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I16 = icmp ugt <32 x i16> undef, undef |
| 1779 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V64I16 = icmp ugt <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1780 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ugt i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1781 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ugt <4 x i32> undef, undef |
| 1782 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I32 = icmp ugt <8 x i32> undef, undef |
| 1783 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I32 = icmp ugt <16 x i32> undef, undef |
| 1784 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V32I32 = icmp ugt <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1785 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ugt i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1786 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V2I64 = icmp ugt <2 x i64> undef, undef |
| 1787 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V4I64 = icmp ugt <4 x i64> undef, undef |
| 1788 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V8I64 = icmp ugt <8 x i64> undef, undef |
| 1789 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V16I64 = icmp ugt <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1790 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1791 | ; |
| 1792 | ; AVX2-LABEL: 'cmp_int_ugt' |
| 1793 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ugt i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1794 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ugt <16 x i8> undef, undef |
| 1795 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V32I8 = icmp ugt <32 x i8> undef, undef |
| 1796 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V64I8 = icmp ugt <64 x i8> undef, undef |
| 1797 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V128I8 = icmp ugt <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1798 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ugt i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1799 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ugt <8 x i16> undef, undef |
| 1800 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I16 = icmp ugt <16 x i16> undef, undef |
| 1801 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I16 = icmp ugt <32 x i16> undef, undef |
| 1802 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I16 = icmp ugt <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1803 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ugt i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1804 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ugt <4 x i32> undef, undef |
| 1805 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I32 = icmp ugt <8 x i32> undef, undef |
| 1806 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I32 = icmp ugt <16 x i32> undef, undef |
| 1807 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I32 = icmp ugt <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1808 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ugt i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1809 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V2I64 = icmp ugt <2 x i64> undef, undef |
| 1810 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I64 = icmp ugt <4 x i64> undef, undef |
| 1811 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I64 = icmp ugt <8 x i64> undef, undef |
| 1812 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I64 = icmp ugt <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1813 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1814 | ; |
| 1815 | ; AVX512F-LABEL: 'cmp_int_ugt' |
| 1816 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ugt i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1817 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ugt <16 x i8> undef, undef |
| 1818 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V32I8 = icmp ugt <32 x i8> undef, undef |
Craig Topper | 8dfb962 | 2020-04-15 12:03:39 -0700 | [diff] [blame^] | 1819 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp ugt <64 x i8> undef, undef |
| 1820 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp ugt <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1821 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ugt i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1822 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ugt <8 x i16> undef, undef |
| 1823 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I16 = icmp ugt <16 x i16> undef, undef |
Craig Topper | 8dfb962 | 2020-04-15 12:03:39 -0700 | [diff] [blame^] | 1824 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp ugt <32 x i16> undef, undef |
| 1825 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp ugt <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1826 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ugt i32 undef, undef |
| 1827 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp ugt <4 x i32> undef, undef |
| 1828 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp ugt <8 x i32> undef, undef |
| 1829 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp ugt <16 x i32> undef, undef |
| 1830 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp ugt <32 x i32> undef, undef |
| 1831 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ugt i64 undef, undef |
| 1832 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp ugt <2 x i64> undef, undef |
| 1833 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp ugt <4 x i64> undef, undef |
| 1834 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp ugt <8 x i64> undef, undef |
| 1835 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp ugt <16 x i64> undef, undef |
| 1836 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1837 | ; |
| 1838 | ; AVX512BW-LABEL: 'cmp_int_ugt' |
| 1839 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ugt i8 undef, undef |
| 1840 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp ugt <16 x i8> undef, undef |
| 1841 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp ugt <32 x i8> undef, undef |
| 1842 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V64I8 = icmp ugt <64 x i8> undef, undef |
| 1843 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V128I8 = icmp ugt <128 x i8> undef, undef |
| 1844 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ugt i16 undef, undef |
| 1845 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp ugt <8 x i16> undef, undef |
| 1846 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp ugt <16 x i16> undef, undef |
| 1847 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I16 = icmp ugt <32 x i16> undef, undef |
| 1848 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I16 = icmp ugt <64 x i16> undef, undef |
| 1849 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ugt i32 undef, undef |
| 1850 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp ugt <4 x i32> undef, undef |
| 1851 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp ugt <8 x i32> undef, undef |
| 1852 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp ugt <16 x i32> undef, undef |
| 1853 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp ugt <32 x i32> undef, undef |
| 1854 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ugt i64 undef, undef |
| 1855 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp ugt <2 x i64> undef, undef |
| 1856 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp ugt <4 x i64> undef, undef |
| 1857 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp ugt <8 x i64> undef, undef |
| 1858 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp ugt <16 x i64> undef, undef |
| 1859 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1860 | ; |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 1861 | ; XOPAVX1-LABEL: 'cmp_int_ugt' |
| 1862 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ugt i8 undef, undef |
| 1863 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp ugt <16 x i8> undef, undef |
| 1864 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp ugt <32 x i8> undef, undef |
| 1865 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp ugt <64 x i8> undef, undef |
| 1866 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp ugt <128 x i8> undef, undef |
| 1867 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ugt i16 undef, undef |
| 1868 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp ugt <8 x i16> undef, undef |
| 1869 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp ugt <16 x i16> undef, undef |
| 1870 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp ugt <32 x i16> undef, undef |
| 1871 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp ugt <64 x i16> undef, undef |
| 1872 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ugt i32 undef, undef |
| 1873 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp ugt <4 x i32> undef, undef |
| 1874 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp ugt <8 x i32> undef, undef |
| 1875 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp ugt <16 x i32> undef, undef |
| 1876 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp ugt <32 x i32> undef, undef |
| 1877 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ugt i64 undef, undef |
| 1878 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp ugt <2 x i64> undef, undef |
| 1879 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp ugt <4 x i64> undef, undef |
| 1880 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp ugt <8 x i64> undef, undef |
| 1881 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp ugt <16 x i64> undef, undef |
| 1882 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1883 | ; |
| 1884 | ; XOPAVX2-LABEL: 'cmp_int_ugt' |
| 1885 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ugt i8 undef, undef |
| 1886 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp ugt <16 x i8> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1887 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V32I8 = icmp ugt <32 x i8> undef, undef |
| 1888 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V64I8 = icmp ugt <64 x i8> undef, undef |
| 1889 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V128I8 = icmp ugt <128 x i8> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 1890 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ugt i16 undef, undef |
| 1891 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp ugt <8 x i16> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1892 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I16 = icmp ugt <16 x i16> undef, undef |
| 1893 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I16 = icmp ugt <32 x i16> undef, undef |
| 1894 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I16 = icmp ugt <64 x i16> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 1895 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ugt i32 undef, undef |
| 1896 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp ugt <4 x i32> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1897 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I32 = icmp ugt <8 x i32> undef, undef |
| 1898 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I32 = icmp ugt <16 x i32> undef, undef |
| 1899 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I32 = icmp ugt <32 x i32> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 1900 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ugt i64 undef, undef |
| 1901 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp ugt <2 x i64> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1902 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I64 = icmp ugt <4 x i64> undef, undef |
| 1903 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I64 = icmp ugt <8 x i64> undef, undef |
| 1904 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I64 = icmp ugt <16 x i64> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 1905 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1906 | ; |
Simon Pilgrim | d7f0207 | 2019-09-26 10:14:38 +0000 | [diff] [blame] | 1907 | ; SLM-LABEL: 'cmp_int_ugt' |
| 1908 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ugt i8 undef, undef |
| 1909 | ; SLM-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ugt <16 x i8> undef, undef |
| 1910 | ; SLM-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I8 = icmp ugt <32 x i8> undef, undef |
| 1911 | ; SLM-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I8 = icmp ugt <64 x i8> undef, undef |
| 1912 | ; SLM-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V128I8 = icmp ugt <128 x i8> undef, undef |
| 1913 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ugt i16 undef, undef |
| 1914 | ; SLM-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ugt <8 x i16> undef, undef |
| 1915 | ; SLM-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I16 = icmp ugt <16 x i16> undef, undef |
| 1916 | ; SLM-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I16 = icmp ugt <32 x i16> undef, undef |
| 1917 | ; SLM-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V64I16 = icmp ugt <64 x i16> undef, undef |
| 1918 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ugt i32 undef, undef |
| 1919 | ; SLM-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ugt <4 x i32> undef, undef |
| 1920 | ; SLM-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I32 = icmp ugt <8 x i32> undef, undef |
| 1921 | ; SLM-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I32 = icmp ugt <16 x i32> undef, undef |
| 1922 | ; SLM-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V32I32 = icmp ugt <32 x i32> undef, undef |
| 1923 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ugt i64 undef, undef |
| 1924 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V2I64 = icmp ugt <2 x i64> undef, undef |
| 1925 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V4I64 = icmp ugt <4 x i64> undef, undef |
| 1926 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V8I64 = icmp ugt <8 x i64> undef, undef |
| 1927 | ; SLM-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V16I64 = icmp ugt <16 x i64> undef, undef |
| 1928 | ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1929 | ; |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1930 | ; BTVER2-LABEL: 'cmp_int_ugt' |
| 1931 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ugt i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1932 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ugt <16 x i8> undef, undef |
| 1933 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I8 = icmp ugt <32 x i8> undef, undef |
| 1934 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I8 = icmp ugt <64 x i8> undef, undef |
| 1935 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V128I8 = icmp ugt <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1936 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ugt i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1937 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ugt <8 x i16> undef, undef |
| 1938 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I16 = icmp ugt <16 x i16> undef, undef |
| 1939 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I16 = icmp ugt <32 x i16> undef, undef |
| 1940 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V64I16 = icmp ugt <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1941 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ugt i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1942 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ugt <4 x i32> undef, undef |
| 1943 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I32 = icmp ugt <8 x i32> undef, undef |
| 1944 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I32 = icmp ugt <16 x i32> undef, undef |
| 1945 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V32I32 = icmp ugt <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1946 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ugt i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1947 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V2I64 = icmp ugt <2 x i64> undef, undef |
| 1948 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V4I64 = icmp ugt <4 x i64> undef, undef |
| 1949 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V8I64 = icmp ugt <8 x i64> undef, undef |
| 1950 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V16I64 = icmp ugt <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1951 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 1952 | ; |
| 1953 | %I8 = icmp ugt i8 undef, undef |
| 1954 | %V16I8 = icmp ugt <16 x i8> undef, undef |
| 1955 | %V32I8 = icmp ugt <32 x i8> undef, undef |
| 1956 | %V64I8 = icmp ugt <64 x i8> undef, undef |
| 1957 | %V128I8 = icmp ugt <128 x i8> undef, undef |
| 1958 | |
| 1959 | %I16 = icmp ugt i16 undef, undef |
| 1960 | %V8I16 = icmp ugt <8 x i16> undef, undef |
| 1961 | %V16I16 = icmp ugt <16 x i16> undef, undef |
| 1962 | %V32I16 = icmp ugt <32 x i16> undef, undef |
| 1963 | %V64I16 = icmp ugt <64 x i16> undef, undef |
| 1964 | |
| 1965 | %I32 = icmp ugt i32 undef, undef |
| 1966 | %V4I32 = icmp ugt <4 x i32> undef, undef |
| 1967 | %V8I32 = icmp ugt <8 x i32> undef, undef |
| 1968 | %V16I32 = icmp ugt <16 x i32> undef, undef |
| 1969 | %V32I32 = icmp ugt <32 x i32> undef, undef |
| 1970 | |
| 1971 | %I64 = icmp ugt i64 undef, undef |
| 1972 | %V2I64 = icmp ugt <2 x i64> undef, undef |
| 1973 | %V4I64 = icmp ugt <4 x i64> undef, undef |
| 1974 | %V8I64 = icmp ugt <8 x i64> undef, undef |
| 1975 | %V16I64 = icmp ugt <16 x i64> undef, undef |
| 1976 | |
| 1977 | ret i32 undef |
| 1978 | } |
| 1979 | |
| 1980 | define i32 @cmp_int_sle(i32 %arg) { |
| 1981 | ; SSE2-LABEL: 'cmp_int_sle' |
| 1982 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sle i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1983 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sle <16 x i8> undef, undef |
| 1984 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sle <32 x i8> undef, undef |
| 1985 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sle <64 x i8> undef, undef |
| 1986 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sle <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1987 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sle i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1988 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sle <8 x i16> undef, undef |
| 1989 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sle <16 x i16> undef, undef |
| 1990 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sle <32 x i16> undef, undef |
| 1991 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sle <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1992 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sle i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1993 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sle <4 x i32> undef, undef |
| 1994 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sle <8 x i32> undef, undef |
| 1995 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sle <16 x i32> undef, undef |
| 1996 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sle <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 1997 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sle i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 1998 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 9 for instruction: %V2I64 = icmp sle <2 x i64> undef, undef |
| 1999 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 18 for instruction: %V4I64 = icmp sle <4 x i64> undef, undef |
| 2000 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 36 for instruction: %V8I64 = icmp sle <8 x i64> undef, undef |
| 2001 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 72 for instruction: %V16I64 = icmp sle <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2002 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2003 | ; |
| 2004 | ; SSE3-LABEL: 'cmp_int_sle' |
| 2005 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sle i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2006 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sle <16 x i8> undef, undef |
| 2007 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sle <32 x i8> undef, undef |
| 2008 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sle <64 x i8> undef, undef |
| 2009 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sle <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2010 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sle i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2011 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sle <8 x i16> undef, undef |
| 2012 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sle <16 x i16> undef, undef |
| 2013 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sle <32 x i16> undef, undef |
| 2014 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sle <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2015 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sle i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2016 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sle <4 x i32> undef, undef |
| 2017 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sle <8 x i32> undef, undef |
| 2018 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sle <16 x i32> undef, undef |
| 2019 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sle <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2020 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sle i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2021 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 9 for instruction: %V2I64 = icmp sle <2 x i64> undef, undef |
| 2022 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 18 for instruction: %V4I64 = icmp sle <4 x i64> undef, undef |
| 2023 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 36 for instruction: %V8I64 = icmp sle <8 x i64> undef, undef |
| 2024 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 72 for instruction: %V16I64 = icmp sle <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2025 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2026 | ; |
| 2027 | ; SSSE3-LABEL: 'cmp_int_sle' |
| 2028 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sle i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2029 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sle <16 x i8> undef, undef |
| 2030 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sle <32 x i8> undef, undef |
| 2031 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sle <64 x i8> undef, undef |
| 2032 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sle <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2033 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sle i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2034 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sle <8 x i16> undef, undef |
| 2035 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sle <16 x i16> undef, undef |
| 2036 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sle <32 x i16> undef, undef |
| 2037 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sle <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2038 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sle i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2039 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sle <4 x i32> undef, undef |
| 2040 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sle <8 x i32> undef, undef |
| 2041 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sle <16 x i32> undef, undef |
| 2042 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sle <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2043 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sle i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2044 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 9 for instruction: %V2I64 = icmp sle <2 x i64> undef, undef |
| 2045 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 18 for instruction: %V4I64 = icmp sle <4 x i64> undef, undef |
| 2046 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 36 for instruction: %V8I64 = icmp sle <8 x i64> undef, undef |
| 2047 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 72 for instruction: %V16I64 = icmp sle <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2048 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2049 | ; |
| 2050 | ; SSE41-LABEL: 'cmp_int_sle' |
| 2051 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sle i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2052 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sle <16 x i8> undef, undef |
| 2053 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sle <32 x i8> undef, undef |
| 2054 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sle <64 x i8> undef, undef |
| 2055 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sle <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2056 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sle i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2057 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sle <8 x i16> undef, undef |
| 2058 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sle <16 x i16> undef, undef |
| 2059 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sle <32 x i16> undef, undef |
| 2060 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sle <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2061 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sle i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2062 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sle <4 x i32> undef, undef |
| 2063 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sle <8 x i32> undef, undef |
| 2064 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sle <16 x i32> undef, undef |
| 2065 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sle <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2066 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sle i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2067 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 9 for instruction: %V2I64 = icmp sle <2 x i64> undef, undef |
| 2068 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 18 for instruction: %V4I64 = icmp sle <4 x i64> undef, undef |
| 2069 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 36 for instruction: %V8I64 = icmp sle <8 x i64> undef, undef |
| 2070 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 72 for instruction: %V16I64 = icmp sle <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2071 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2072 | ; |
| 2073 | ; SSE42-LABEL: 'cmp_int_sle' |
| 2074 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sle i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2075 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sle <16 x i8> undef, undef |
| 2076 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sle <32 x i8> undef, undef |
| 2077 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sle <64 x i8> undef, undef |
| 2078 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sle <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2079 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sle i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2080 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sle <8 x i16> undef, undef |
| 2081 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sle <16 x i16> undef, undef |
| 2082 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sle <32 x i16> undef, undef |
| 2083 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sle <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2084 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sle i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2085 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sle <4 x i32> undef, undef |
| 2086 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sle <8 x i32> undef, undef |
| 2087 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sle <16 x i32> undef, undef |
| 2088 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sle <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2089 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sle i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2090 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V2I64 = icmp sle <2 x i64> undef, undef |
| 2091 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp sle <4 x i64> undef, undef |
| 2092 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp sle <8 x i64> undef, undef |
| 2093 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp sle <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2094 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2095 | ; |
| 2096 | ; AVX1-LABEL: 'cmp_int_sle' |
| 2097 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sle i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2098 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sle <16 x i8> undef, undef |
| 2099 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V32I8 = icmp sle <32 x i8> undef, undef |
| 2100 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V64I8 = icmp sle <64 x i8> undef, undef |
| 2101 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V128I8 = icmp sle <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2102 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sle i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2103 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sle <8 x i16> undef, undef |
| 2104 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V16I16 = icmp sle <16 x i16> undef, undef |
| 2105 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V32I16 = icmp sle <32 x i16> undef, undef |
| 2106 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V64I16 = icmp sle <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2107 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sle i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2108 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sle <4 x i32> undef, undef |
| 2109 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V8I32 = icmp sle <8 x i32> undef, undef |
| 2110 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V16I32 = icmp sle <16 x i32> undef, undef |
| 2111 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V32I32 = icmp sle <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2112 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sle i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2113 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V2I64 = icmp sle <2 x i64> undef, undef |
| 2114 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V4I64 = icmp sle <4 x i64> undef, undef |
| 2115 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V8I64 = icmp sle <8 x i64> undef, undef |
| 2116 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V16I64 = icmp sle <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2117 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2118 | ; |
| 2119 | ; AVX2-LABEL: 'cmp_int_sle' |
| 2120 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sle i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2121 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sle <16 x i8> undef, undef |
| 2122 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp sle <32 x i8> undef, undef |
| 2123 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp sle <64 x i8> undef, undef |
| 2124 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp sle <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2125 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sle i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2126 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sle <8 x i16> undef, undef |
| 2127 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp sle <16 x i16> undef, undef |
| 2128 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp sle <32 x i16> undef, undef |
| 2129 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp sle <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2130 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sle i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2131 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sle <4 x i32> undef, undef |
| 2132 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp sle <8 x i32> undef, undef |
| 2133 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp sle <16 x i32> undef, undef |
| 2134 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp sle <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2135 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sle i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2136 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V2I64 = icmp sle <2 x i64> undef, undef |
| 2137 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I64 = icmp sle <4 x i64> undef, undef |
| 2138 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I64 = icmp sle <8 x i64> undef, undef |
| 2139 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I64 = icmp sle <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2140 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2141 | ; |
| 2142 | ; AVX512F-LABEL: 'cmp_int_sle' |
| 2143 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sle i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2144 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sle <16 x i8> undef, undef |
| 2145 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp sle <32 x i8> undef, undef |
Craig Topper | 8dfb962 | 2020-04-15 12:03:39 -0700 | [diff] [blame^] | 2146 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V64I8 = icmp sle <64 x i8> undef, undef |
| 2147 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V128I8 = icmp sle <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2148 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sle i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2149 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sle <8 x i16> undef, undef |
| 2150 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp sle <16 x i16> undef, undef |
Craig Topper | 8dfb962 | 2020-04-15 12:03:39 -0700 | [diff] [blame^] | 2151 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V32I16 = icmp sle <32 x i16> undef, undef |
| 2152 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V64I16 = icmp sle <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2153 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sle i32 undef, undef |
| 2154 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sle <4 x i32> undef, undef |
| 2155 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp sle <8 x i32> undef, undef |
| 2156 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp sle <16 x i32> undef, undef |
| 2157 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp sle <32 x i32> undef, undef |
| 2158 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sle i64 undef, undef |
| 2159 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp sle <2 x i64> undef, undef |
| 2160 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp sle <4 x i64> undef, undef |
| 2161 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp sle <8 x i64> undef, undef |
| 2162 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp sle <16 x i64> undef, undef |
| 2163 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2164 | ; |
| 2165 | ; AVX512BW-LABEL: 'cmp_int_sle' |
| 2166 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sle i8 undef, undef |
| 2167 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sle <16 x i8> undef, undef |
| 2168 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp sle <32 x i8> undef, undef |
| 2169 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V64I8 = icmp sle <64 x i8> undef, undef |
| 2170 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V128I8 = icmp sle <128 x i8> undef, undef |
| 2171 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sle i16 undef, undef |
| 2172 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sle <8 x i16> undef, undef |
| 2173 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp sle <16 x i16> undef, undef |
| 2174 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I16 = icmp sle <32 x i16> undef, undef |
| 2175 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I16 = icmp sle <64 x i16> undef, undef |
| 2176 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sle i32 undef, undef |
| 2177 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sle <4 x i32> undef, undef |
| 2178 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp sle <8 x i32> undef, undef |
| 2179 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp sle <16 x i32> undef, undef |
| 2180 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp sle <32 x i32> undef, undef |
| 2181 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sle i64 undef, undef |
| 2182 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp sle <2 x i64> undef, undef |
| 2183 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp sle <4 x i64> undef, undef |
| 2184 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp sle <8 x i64> undef, undef |
| 2185 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp sle <16 x i64> undef, undef |
| 2186 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2187 | ; |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 2188 | ; XOPAVX1-LABEL: 'cmp_int_sle' |
| 2189 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sle i8 undef, undef |
| 2190 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sle <16 x i8> undef, undef |
| 2191 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sle <32 x i8> undef, undef |
| 2192 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sle <64 x i8> undef, undef |
| 2193 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sle <128 x i8> undef, undef |
| 2194 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sle i16 undef, undef |
| 2195 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sle <8 x i16> undef, undef |
| 2196 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sle <16 x i16> undef, undef |
| 2197 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sle <32 x i16> undef, undef |
| 2198 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sle <64 x i16> undef, undef |
| 2199 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sle i32 undef, undef |
| 2200 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sle <4 x i32> undef, undef |
| 2201 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sle <8 x i32> undef, undef |
| 2202 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sle <16 x i32> undef, undef |
| 2203 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sle <32 x i32> undef, undef |
| 2204 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sle i64 undef, undef |
| 2205 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp sle <2 x i64> undef, undef |
| 2206 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp sle <4 x i64> undef, undef |
| 2207 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp sle <8 x i64> undef, undef |
| 2208 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp sle <16 x i64> undef, undef |
| 2209 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2210 | ; |
| 2211 | ; XOPAVX2-LABEL: 'cmp_int_sle' |
| 2212 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sle i8 undef, undef |
| 2213 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp sle <16 x i8> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2214 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp sle <32 x i8> undef, undef |
| 2215 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp sle <64 x i8> undef, undef |
| 2216 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp sle <128 x i8> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 2217 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sle i16 undef, undef |
| 2218 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp sle <8 x i16> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2219 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp sle <16 x i16> undef, undef |
| 2220 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp sle <32 x i16> undef, undef |
| 2221 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp sle <64 x i16> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 2222 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sle i32 undef, undef |
| 2223 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp sle <4 x i32> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2224 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp sle <8 x i32> undef, undef |
| 2225 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp sle <16 x i32> undef, undef |
| 2226 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp sle <32 x i32> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 2227 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sle i64 undef, undef |
| 2228 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp sle <2 x i64> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2229 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I64 = icmp sle <4 x i64> undef, undef |
| 2230 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I64 = icmp sle <8 x i64> undef, undef |
| 2231 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I64 = icmp sle <16 x i64> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 2232 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2233 | ; |
Simon Pilgrim | d7f0207 | 2019-09-26 10:14:38 +0000 | [diff] [blame] | 2234 | ; SLM-LABEL: 'cmp_int_sle' |
| 2235 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sle i8 undef, undef |
| 2236 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sle <16 x i8> undef, undef |
| 2237 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp sle <32 x i8> undef, undef |
| 2238 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp sle <64 x i8> undef, undef |
| 2239 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp sle <128 x i8> undef, undef |
| 2240 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sle i16 undef, undef |
| 2241 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sle <8 x i16> undef, undef |
| 2242 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp sle <16 x i16> undef, undef |
| 2243 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp sle <32 x i16> undef, undef |
| 2244 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp sle <64 x i16> undef, undef |
| 2245 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sle i32 undef, undef |
| 2246 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sle <4 x i32> undef, undef |
| 2247 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp sle <8 x i32> undef, undef |
| 2248 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp sle <16 x i32> undef, undef |
| 2249 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp sle <32 x i32> undef, undef |
| 2250 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sle i64 undef, undef |
| 2251 | ; SLM-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V2I64 = icmp sle <2 x i64> undef, undef |
| 2252 | ; SLM-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V4I64 = icmp sle <4 x i64> undef, undef |
| 2253 | ; SLM-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V8I64 = icmp sle <8 x i64> undef, undef |
| 2254 | ; SLM-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V16I64 = icmp sle <16 x i64> undef, undef |
| 2255 | ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2256 | ; |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2257 | ; BTVER2-LABEL: 'cmp_int_sle' |
| 2258 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp sle i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2259 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp sle <16 x i8> undef, undef |
| 2260 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V32I8 = icmp sle <32 x i8> undef, undef |
| 2261 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V64I8 = icmp sle <64 x i8> undef, undef |
| 2262 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V128I8 = icmp sle <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2263 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp sle i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2264 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp sle <8 x i16> undef, undef |
| 2265 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V16I16 = icmp sle <16 x i16> undef, undef |
| 2266 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V32I16 = icmp sle <32 x i16> undef, undef |
| 2267 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V64I16 = icmp sle <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2268 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp sle i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2269 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp sle <4 x i32> undef, undef |
| 2270 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V8I32 = icmp sle <8 x i32> undef, undef |
| 2271 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V16I32 = icmp sle <16 x i32> undef, undef |
| 2272 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V32I32 = icmp sle <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2273 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp sle i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2274 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V2I64 = icmp sle <2 x i64> undef, undef |
| 2275 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V4I64 = icmp sle <4 x i64> undef, undef |
| 2276 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V8I64 = icmp sle <8 x i64> undef, undef |
| 2277 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V16I64 = icmp sle <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2278 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2279 | ; |
| 2280 | %I8 = icmp sle i8 undef, undef |
| 2281 | %V16I8 = icmp sle <16 x i8> undef, undef |
| 2282 | %V32I8 = icmp sle <32 x i8> undef, undef |
| 2283 | %V64I8 = icmp sle <64 x i8> undef, undef |
| 2284 | %V128I8 = icmp sle <128 x i8> undef, undef |
| 2285 | |
| 2286 | %I16 = icmp sle i16 undef, undef |
| 2287 | %V8I16 = icmp sle <8 x i16> undef, undef |
| 2288 | %V16I16 = icmp sle <16 x i16> undef, undef |
| 2289 | %V32I16 = icmp sle <32 x i16> undef, undef |
| 2290 | %V64I16 = icmp sle <64 x i16> undef, undef |
| 2291 | |
| 2292 | %I32 = icmp sle i32 undef, undef |
| 2293 | %V4I32 = icmp sle <4 x i32> undef, undef |
| 2294 | %V8I32 = icmp sle <8 x i32> undef, undef |
| 2295 | %V16I32 = icmp sle <16 x i32> undef, undef |
| 2296 | %V32I32 = icmp sle <32 x i32> undef, undef |
| 2297 | |
| 2298 | %I64 = icmp sle i64 undef, undef |
| 2299 | %V2I64 = icmp sle <2 x i64> undef, undef |
| 2300 | %V4I64 = icmp sle <4 x i64> undef, undef |
| 2301 | %V8I64 = icmp sle <8 x i64> undef, undef |
| 2302 | %V16I64 = icmp sle <16 x i64> undef, undef |
| 2303 | |
| 2304 | ret i32 undef |
| 2305 | } |
| 2306 | |
| 2307 | define i32 @cmp_int_ule(i32 %arg) { |
| 2308 | ; SSE2-LABEL: 'cmp_int_ule' |
| 2309 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ule i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2310 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ule <16 x i8> undef, undef |
| 2311 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp ule <32 x i8> undef, undef |
| 2312 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp ule <64 x i8> undef, undef |
| 2313 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp ule <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2314 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ule i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2315 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ule <8 x i16> undef, undef |
| 2316 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp ule <16 x i16> undef, undef |
| 2317 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp ule <32 x i16> undef, undef |
| 2318 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp ule <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2319 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ule i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2320 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I32 = icmp ule <4 x i32> undef, undef |
| 2321 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I32 = icmp ule <8 x i32> undef, undef |
| 2322 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I32 = icmp ule <16 x i32> undef, undef |
| 2323 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V32I32 = icmp ule <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2324 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ule i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2325 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 11 for instruction: %V2I64 = icmp ule <2 x i64> undef, undef |
| 2326 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 22 for instruction: %V4I64 = icmp ule <4 x i64> undef, undef |
| 2327 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 44 for instruction: %V8I64 = icmp ule <8 x i64> undef, undef |
| 2328 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 88 for instruction: %V16I64 = icmp ule <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2329 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2330 | ; |
| 2331 | ; SSE3-LABEL: 'cmp_int_ule' |
| 2332 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ule i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2333 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ule <16 x i8> undef, undef |
| 2334 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp ule <32 x i8> undef, undef |
| 2335 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp ule <64 x i8> undef, undef |
| 2336 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp ule <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2337 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ule i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2338 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ule <8 x i16> undef, undef |
| 2339 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp ule <16 x i16> undef, undef |
| 2340 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp ule <32 x i16> undef, undef |
| 2341 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp ule <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2342 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ule i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2343 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I32 = icmp ule <4 x i32> undef, undef |
| 2344 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I32 = icmp ule <8 x i32> undef, undef |
| 2345 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I32 = icmp ule <16 x i32> undef, undef |
| 2346 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V32I32 = icmp ule <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2347 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ule i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2348 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 11 for instruction: %V2I64 = icmp ule <2 x i64> undef, undef |
| 2349 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 22 for instruction: %V4I64 = icmp ule <4 x i64> undef, undef |
| 2350 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 44 for instruction: %V8I64 = icmp ule <8 x i64> undef, undef |
| 2351 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 88 for instruction: %V16I64 = icmp ule <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2352 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2353 | ; |
| 2354 | ; SSSE3-LABEL: 'cmp_int_ule' |
| 2355 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ule i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2356 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ule <16 x i8> undef, undef |
| 2357 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp ule <32 x i8> undef, undef |
| 2358 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp ule <64 x i8> undef, undef |
| 2359 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp ule <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2360 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ule i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2361 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ule <8 x i16> undef, undef |
| 2362 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp ule <16 x i16> undef, undef |
| 2363 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp ule <32 x i16> undef, undef |
| 2364 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp ule <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2365 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ule i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2366 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I32 = icmp ule <4 x i32> undef, undef |
| 2367 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I32 = icmp ule <8 x i32> undef, undef |
| 2368 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I32 = icmp ule <16 x i32> undef, undef |
| 2369 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V32I32 = icmp ule <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2370 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ule i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2371 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 11 for instruction: %V2I64 = icmp ule <2 x i64> undef, undef |
| 2372 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 22 for instruction: %V4I64 = icmp ule <4 x i64> undef, undef |
| 2373 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 44 for instruction: %V8I64 = icmp ule <8 x i64> undef, undef |
| 2374 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 88 for instruction: %V16I64 = icmp ule <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2375 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2376 | ; |
| 2377 | ; SSE41-LABEL: 'cmp_int_ule' |
| 2378 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ule i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2379 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ule <16 x i8> undef, undef |
| 2380 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp ule <32 x i8> undef, undef |
| 2381 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp ule <64 x i8> undef, undef |
| 2382 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp ule <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2383 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ule i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2384 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ule <8 x i16> undef, undef |
| 2385 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp ule <16 x i16> undef, undef |
| 2386 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp ule <32 x i16> undef, undef |
| 2387 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp ule <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2388 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ule i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2389 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp ule <4 x i32> undef, undef |
| 2390 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp ule <8 x i32> undef, undef |
| 2391 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp ule <16 x i32> undef, undef |
| 2392 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp ule <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2393 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ule i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2394 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 11 for instruction: %V2I64 = icmp ule <2 x i64> undef, undef |
| 2395 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 22 for instruction: %V4I64 = icmp ule <4 x i64> undef, undef |
| 2396 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 44 for instruction: %V8I64 = icmp ule <8 x i64> undef, undef |
| 2397 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 88 for instruction: %V16I64 = icmp ule <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2398 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2399 | ; |
| 2400 | ; SSE42-LABEL: 'cmp_int_ule' |
| 2401 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ule i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2402 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ule <16 x i8> undef, undef |
| 2403 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp ule <32 x i8> undef, undef |
| 2404 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp ule <64 x i8> undef, undef |
| 2405 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp ule <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2406 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ule i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2407 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ule <8 x i16> undef, undef |
| 2408 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp ule <16 x i16> undef, undef |
| 2409 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp ule <32 x i16> undef, undef |
| 2410 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp ule <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2411 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ule i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2412 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp ule <4 x i32> undef, undef |
| 2413 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp ule <8 x i32> undef, undef |
| 2414 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp ule <16 x i32> undef, undef |
| 2415 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp ule <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2416 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ule i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2417 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V2I64 = icmp ule <2 x i64> undef, undef |
| 2418 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V4I64 = icmp ule <4 x i64> undef, undef |
| 2419 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V8I64 = icmp ule <8 x i64> undef, undef |
| 2420 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V16I64 = icmp ule <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2421 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2422 | ; |
| 2423 | ; AVX1-LABEL: 'cmp_int_ule' |
| 2424 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ule i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2425 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ule <16 x i8> undef, undef |
| 2426 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V32I8 = icmp ule <32 x i8> undef, undef |
| 2427 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V64I8 = icmp ule <64 x i8> undef, undef |
| 2428 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V128I8 = icmp ule <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2429 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ule i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2430 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ule <8 x i16> undef, undef |
| 2431 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V16I16 = icmp ule <16 x i16> undef, undef |
| 2432 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V32I16 = icmp ule <32 x i16> undef, undef |
| 2433 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V64I16 = icmp ule <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2434 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ule i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2435 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp ule <4 x i32> undef, undef |
| 2436 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V8I32 = icmp ule <8 x i32> undef, undef |
| 2437 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V16I32 = icmp ule <16 x i32> undef, undef |
| 2438 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V32I32 = icmp ule <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2439 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ule i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2440 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V2I64 = icmp ule <2 x i64> undef, undef |
| 2441 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 7 for instruction: %V4I64 = icmp ule <4 x i64> undef, undef |
| 2442 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 14 for instruction: %V8I64 = icmp ule <8 x i64> undef, undef |
| 2443 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 28 for instruction: %V16I64 = icmp ule <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2444 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2445 | ; |
| 2446 | ; AVX2-LABEL: 'cmp_int_ule' |
| 2447 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ule i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2448 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ule <16 x i8> undef, undef |
| 2449 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp ule <32 x i8> undef, undef |
| 2450 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp ule <64 x i8> undef, undef |
| 2451 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp ule <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2452 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ule i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2453 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ule <8 x i16> undef, undef |
| 2454 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp ule <16 x i16> undef, undef |
| 2455 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp ule <32 x i16> undef, undef |
| 2456 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp ule <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2457 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ule i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2458 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp ule <4 x i32> undef, undef |
| 2459 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp ule <8 x i32> undef, undef |
| 2460 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp ule <16 x i32> undef, undef |
| 2461 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp ule <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2462 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ule i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2463 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V2I64 = icmp ule <2 x i64> undef, undef |
| 2464 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp ule <4 x i64> undef, undef |
| 2465 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp ule <8 x i64> undef, undef |
| 2466 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp ule <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2467 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2468 | ; |
| 2469 | ; AVX512F-LABEL: 'cmp_int_ule' |
| 2470 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ule i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2471 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ule <16 x i8> undef, undef |
| 2472 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp ule <32 x i8> undef, undef |
Craig Topper | 8dfb962 | 2020-04-15 12:03:39 -0700 | [diff] [blame^] | 2473 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V64I8 = icmp ule <64 x i8> undef, undef |
| 2474 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V128I8 = icmp ule <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2475 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ule i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2476 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ule <8 x i16> undef, undef |
| 2477 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp ule <16 x i16> undef, undef |
Craig Topper | 8dfb962 | 2020-04-15 12:03:39 -0700 | [diff] [blame^] | 2478 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V32I16 = icmp ule <32 x i16> undef, undef |
| 2479 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V64I16 = icmp ule <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2480 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ule i32 undef, undef |
| 2481 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp ule <4 x i32> undef, undef |
| 2482 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp ule <8 x i32> undef, undef |
| 2483 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp ule <16 x i32> undef, undef |
| 2484 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp ule <32 x i32> undef, undef |
| 2485 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ule i64 undef, undef |
| 2486 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp ule <2 x i64> undef, undef |
| 2487 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp ule <4 x i64> undef, undef |
| 2488 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp ule <8 x i64> undef, undef |
| 2489 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp ule <16 x i64> undef, undef |
| 2490 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2491 | ; |
| 2492 | ; AVX512BW-LABEL: 'cmp_int_ule' |
| 2493 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ule i8 undef, undef |
| 2494 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp ule <16 x i8> undef, undef |
| 2495 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp ule <32 x i8> undef, undef |
| 2496 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V64I8 = icmp ule <64 x i8> undef, undef |
| 2497 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V128I8 = icmp ule <128 x i8> undef, undef |
| 2498 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ule i16 undef, undef |
| 2499 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp ule <8 x i16> undef, undef |
| 2500 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp ule <16 x i16> undef, undef |
| 2501 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I16 = icmp ule <32 x i16> undef, undef |
| 2502 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I16 = icmp ule <64 x i16> undef, undef |
| 2503 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ule i32 undef, undef |
| 2504 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp ule <4 x i32> undef, undef |
| 2505 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp ule <8 x i32> undef, undef |
| 2506 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp ule <16 x i32> undef, undef |
| 2507 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp ule <32 x i32> undef, undef |
| 2508 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ule i64 undef, undef |
| 2509 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp ule <2 x i64> undef, undef |
| 2510 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp ule <4 x i64> undef, undef |
| 2511 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp ule <8 x i64> undef, undef |
| 2512 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp ule <16 x i64> undef, undef |
| 2513 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2514 | ; |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 2515 | ; XOPAVX1-LABEL: 'cmp_int_ule' |
| 2516 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ule i8 undef, undef |
| 2517 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp ule <16 x i8> undef, undef |
| 2518 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp ule <32 x i8> undef, undef |
| 2519 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp ule <64 x i8> undef, undef |
| 2520 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp ule <128 x i8> undef, undef |
| 2521 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ule i16 undef, undef |
| 2522 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp ule <8 x i16> undef, undef |
| 2523 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp ule <16 x i16> undef, undef |
| 2524 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp ule <32 x i16> undef, undef |
| 2525 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp ule <64 x i16> undef, undef |
| 2526 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ule i32 undef, undef |
| 2527 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp ule <4 x i32> undef, undef |
| 2528 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp ule <8 x i32> undef, undef |
| 2529 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp ule <16 x i32> undef, undef |
| 2530 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp ule <32 x i32> undef, undef |
| 2531 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ule i64 undef, undef |
| 2532 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp ule <2 x i64> undef, undef |
| 2533 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp ule <4 x i64> undef, undef |
| 2534 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp ule <8 x i64> undef, undef |
| 2535 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp ule <16 x i64> undef, undef |
| 2536 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2537 | ; |
| 2538 | ; XOPAVX2-LABEL: 'cmp_int_ule' |
| 2539 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ule i8 undef, undef |
| 2540 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp ule <16 x i8> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2541 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp ule <32 x i8> undef, undef |
| 2542 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp ule <64 x i8> undef, undef |
| 2543 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp ule <128 x i8> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 2544 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ule i16 undef, undef |
| 2545 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp ule <8 x i16> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2546 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp ule <16 x i16> undef, undef |
| 2547 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp ule <32 x i16> undef, undef |
| 2548 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp ule <64 x i16> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 2549 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ule i32 undef, undef |
| 2550 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp ule <4 x i32> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2551 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp ule <8 x i32> undef, undef |
| 2552 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp ule <16 x i32> undef, undef |
| 2553 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp ule <32 x i32> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 2554 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ule i64 undef, undef |
| 2555 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp ule <2 x i64> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2556 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp ule <4 x i64> undef, undef |
| 2557 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp ule <8 x i64> undef, undef |
| 2558 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp ule <16 x i64> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 2559 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2560 | ; |
Simon Pilgrim | d7f0207 | 2019-09-26 10:14:38 +0000 | [diff] [blame] | 2561 | ; SLM-LABEL: 'cmp_int_ule' |
| 2562 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ule i8 undef, undef |
| 2563 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ule <16 x i8> undef, undef |
| 2564 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp ule <32 x i8> undef, undef |
| 2565 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp ule <64 x i8> undef, undef |
| 2566 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp ule <128 x i8> undef, undef |
| 2567 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ule i16 undef, undef |
| 2568 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ule <8 x i16> undef, undef |
| 2569 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp ule <16 x i16> undef, undef |
| 2570 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp ule <32 x i16> undef, undef |
| 2571 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp ule <64 x i16> undef, undef |
| 2572 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ule i32 undef, undef |
| 2573 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp ule <4 x i32> undef, undef |
| 2574 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp ule <8 x i32> undef, undef |
| 2575 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp ule <16 x i32> undef, undef |
| 2576 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp ule <32 x i32> undef, undef |
| 2577 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ule i64 undef, undef |
| 2578 | ; SLM-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V2I64 = icmp ule <2 x i64> undef, undef |
| 2579 | ; SLM-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V4I64 = icmp ule <4 x i64> undef, undef |
| 2580 | ; SLM-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V8I64 = icmp ule <8 x i64> undef, undef |
| 2581 | ; SLM-NEXT: Cost Model: Found an estimated cost of 40 for instruction: %V16I64 = icmp ule <16 x i64> undef, undef |
| 2582 | ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2583 | ; |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2584 | ; BTVER2-LABEL: 'cmp_int_ule' |
| 2585 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ule i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2586 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I8 = icmp ule <16 x i8> undef, undef |
| 2587 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V32I8 = icmp ule <32 x i8> undef, undef |
| 2588 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V64I8 = icmp ule <64 x i8> undef, undef |
| 2589 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V128I8 = icmp ule <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2590 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ule i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2591 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I16 = icmp ule <8 x i16> undef, undef |
| 2592 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V16I16 = icmp ule <16 x i16> undef, undef |
| 2593 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V32I16 = icmp ule <32 x i16> undef, undef |
| 2594 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V64I16 = icmp ule <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2595 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ule i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2596 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I32 = icmp ule <4 x i32> undef, undef |
| 2597 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 5 for instruction: %V8I32 = icmp ule <8 x i32> undef, undef |
| 2598 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V16I32 = icmp ule <16 x i32> undef, undef |
| 2599 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V32I32 = icmp ule <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2600 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ule i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2601 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V2I64 = icmp ule <2 x i64> undef, undef |
| 2602 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 7 for instruction: %V4I64 = icmp ule <4 x i64> undef, undef |
| 2603 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 14 for instruction: %V8I64 = icmp ule <8 x i64> undef, undef |
| 2604 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 28 for instruction: %V16I64 = icmp ule <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2605 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2606 | ; |
| 2607 | %I8 = icmp ule i8 undef, undef |
| 2608 | %V16I8 = icmp ule <16 x i8> undef, undef |
| 2609 | %V32I8 = icmp ule <32 x i8> undef, undef |
| 2610 | %V64I8 = icmp ule <64 x i8> undef, undef |
| 2611 | %V128I8 = icmp ule <128 x i8> undef, undef |
| 2612 | |
| 2613 | %I16 = icmp ule i16 undef, undef |
| 2614 | %V8I16 = icmp ule <8 x i16> undef, undef |
| 2615 | %V16I16 = icmp ule <16 x i16> undef, undef |
| 2616 | %V32I16 = icmp ule <32 x i16> undef, undef |
| 2617 | %V64I16 = icmp ule <64 x i16> undef, undef |
| 2618 | |
| 2619 | %I32 = icmp ule i32 undef, undef |
| 2620 | %V4I32 = icmp ule <4 x i32> undef, undef |
| 2621 | %V8I32 = icmp ule <8 x i32> undef, undef |
| 2622 | %V16I32 = icmp ule <16 x i32> undef, undef |
| 2623 | %V32I32 = icmp ule <32 x i32> undef, undef |
| 2624 | |
| 2625 | %I64 = icmp ule i64 undef, undef |
| 2626 | %V2I64 = icmp ule <2 x i64> undef, undef |
| 2627 | %V4I64 = icmp ule <4 x i64> undef, undef |
| 2628 | %V8I64 = icmp ule <8 x i64> undef, undef |
| 2629 | %V16I64 = icmp ule <16 x i64> undef, undef |
| 2630 | |
| 2631 | ret i32 undef |
| 2632 | } |
| 2633 | |
| 2634 | define i32 @cmp_int_slt(i32 %arg) { |
| 2635 | ; SSE2-LABEL: 'cmp_int_slt' |
| 2636 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp slt i8 undef, undef |
| 2637 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp slt <16 x i8> undef, undef |
| 2638 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp slt <32 x i8> undef, undef |
| 2639 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp slt <64 x i8> undef, undef |
| 2640 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp slt <128 x i8> undef, undef |
| 2641 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp slt i16 undef, undef |
| 2642 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp slt <8 x i16> undef, undef |
| 2643 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp slt <16 x i16> undef, undef |
| 2644 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp slt <32 x i16> undef, undef |
| 2645 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp slt <64 x i16> undef, undef |
| 2646 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp slt i32 undef, undef |
| 2647 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp slt <4 x i32> undef, undef |
| 2648 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp slt <8 x i32> undef, undef |
| 2649 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp slt <16 x i32> undef, undef |
| 2650 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp slt <32 x i32> undef, undef |
| 2651 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp slt i64 undef, undef |
| 2652 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V2I64 = icmp slt <2 x i64> undef, undef |
| 2653 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V4I64 = icmp slt <4 x i64> undef, undef |
| 2654 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V8I64 = icmp slt <8 x i64> undef, undef |
| 2655 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 64 for instruction: %V16I64 = icmp slt <16 x i64> undef, undef |
| 2656 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2657 | ; |
| 2658 | ; SSE3-LABEL: 'cmp_int_slt' |
| 2659 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp slt i8 undef, undef |
| 2660 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp slt <16 x i8> undef, undef |
| 2661 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp slt <32 x i8> undef, undef |
| 2662 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp slt <64 x i8> undef, undef |
| 2663 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp slt <128 x i8> undef, undef |
| 2664 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp slt i16 undef, undef |
| 2665 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp slt <8 x i16> undef, undef |
| 2666 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp slt <16 x i16> undef, undef |
| 2667 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp slt <32 x i16> undef, undef |
| 2668 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp slt <64 x i16> undef, undef |
| 2669 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp slt i32 undef, undef |
| 2670 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp slt <4 x i32> undef, undef |
| 2671 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp slt <8 x i32> undef, undef |
| 2672 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp slt <16 x i32> undef, undef |
| 2673 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp slt <32 x i32> undef, undef |
| 2674 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp slt i64 undef, undef |
| 2675 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V2I64 = icmp slt <2 x i64> undef, undef |
| 2676 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V4I64 = icmp slt <4 x i64> undef, undef |
| 2677 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V8I64 = icmp slt <8 x i64> undef, undef |
| 2678 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 64 for instruction: %V16I64 = icmp slt <16 x i64> undef, undef |
| 2679 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2680 | ; |
| 2681 | ; SSSE3-LABEL: 'cmp_int_slt' |
| 2682 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp slt i8 undef, undef |
| 2683 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp slt <16 x i8> undef, undef |
| 2684 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp slt <32 x i8> undef, undef |
| 2685 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp slt <64 x i8> undef, undef |
| 2686 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp slt <128 x i8> undef, undef |
| 2687 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp slt i16 undef, undef |
| 2688 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp slt <8 x i16> undef, undef |
| 2689 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp slt <16 x i16> undef, undef |
| 2690 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp slt <32 x i16> undef, undef |
| 2691 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp slt <64 x i16> undef, undef |
| 2692 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp slt i32 undef, undef |
| 2693 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp slt <4 x i32> undef, undef |
| 2694 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp slt <8 x i32> undef, undef |
| 2695 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp slt <16 x i32> undef, undef |
| 2696 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp slt <32 x i32> undef, undef |
| 2697 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp slt i64 undef, undef |
| 2698 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V2I64 = icmp slt <2 x i64> undef, undef |
| 2699 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V4I64 = icmp slt <4 x i64> undef, undef |
| 2700 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V8I64 = icmp slt <8 x i64> undef, undef |
| 2701 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 64 for instruction: %V16I64 = icmp slt <16 x i64> undef, undef |
| 2702 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2703 | ; |
| 2704 | ; SSE41-LABEL: 'cmp_int_slt' |
| 2705 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp slt i8 undef, undef |
| 2706 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp slt <16 x i8> undef, undef |
| 2707 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp slt <32 x i8> undef, undef |
| 2708 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp slt <64 x i8> undef, undef |
| 2709 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp slt <128 x i8> undef, undef |
| 2710 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp slt i16 undef, undef |
| 2711 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp slt <8 x i16> undef, undef |
| 2712 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp slt <16 x i16> undef, undef |
| 2713 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp slt <32 x i16> undef, undef |
| 2714 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp slt <64 x i16> undef, undef |
| 2715 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp slt i32 undef, undef |
| 2716 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp slt <4 x i32> undef, undef |
| 2717 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp slt <8 x i32> undef, undef |
| 2718 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp slt <16 x i32> undef, undef |
| 2719 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp slt <32 x i32> undef, undef |
| 2720 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp slt i64 undef, undef |
| 2721 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V2I64 = icmp slt <2 x i64> undef, undef |
| 2722 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V4I64 = icmp slt <4 x i64> undef, undef |
| 2723 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V8I64 = icmp slt <8 x i64> undef, undef |
| 2724 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 64 for instruction: %V16I64 = icmp slt <16 x i64> undef, undef |
| 2725 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2726 | ; |
| 2727 | ; SSE42-LABEL: 'cmp_int_slt' |
| 2728 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp slt i8 undef, undef |
| 2729 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp slt <16 x i8> undef, undef |
| 2730 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp slt <32 x i8> undef, undef |
| 2731 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp slt <64 x i8> undef, undef |
| 2732 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp slt <128 x i8> undef, undef |
| 2733 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp slt i16 undef, undef |
| 2734 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp slt <8 x i16> undef, undef |
| 2735 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp slt <16 x i16> undef, undef |
| 2736 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp slt <32 x i16> undef, undef |
| 2737 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp slt <64 x i16> undef, undef |
| 2738 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp slt i32 undef, undef |
| 2739 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp slt <4 x i32> undef, undef |
| 2740 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp slt <8 x i32> undef, undef |
| 2741 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp slt <16 x i32> undef, undef |
| 2742 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp slt <32 x i32> undef, undef |
| 2743 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp slt i64 undef, undef |
| 2744 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp slt <2 x i64> undef, undef |
| 2745 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4I64 = icmp slt <4 x i64> undef, undef |
| 2746 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I64 = icmp slt <8 x i64> undef, undef |
| 2747 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I64 = icmp slt <16 x i64> undef, undef |
| 2748 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2749 | ; |
| 2750 | ; AVX1-LABEL: 'cmp_int_slt' |
| 2751 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp slt i8 undef, undef |
| 2752 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp slt <16 x i8> undef, undef |
| 2753 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp slt <32 x i8> undef, undef |
| 2754 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp slt <64 x i8> undef, undef |
| 2755 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp slt <128 x i8> undef, undef |
| 2756 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp slt i16 undef, undef |
| 2757 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp slt <8 x i16> undef, undef |
| 2758 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp slt <16 x i16> undef, undef |
| 2759 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp slt <32 x i16> undef, undef |
| 2760 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp slt <64 x i16> undef, undef |
| 2761 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp slt i32 undef, undef |
| 2762 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp slt <4 x i32> undef, undef |
| 2763 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp slt <8 x i32> undef, undef |
| 2764 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp slt <16 x i32> undef, undef |
| 2765 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp slt <32 x i32> undef, undef |
| 2766 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp slt i64 undef, undef |
| 2767 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp slt <2 x i64> undef, undef |
| 2768 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp slt <4 x i64> undef, undef |
| 2769 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp slt <8 x i64> undef, undef |
| 2770 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp slt <16 x i64> undef, undef |
| 2771 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2772 | ; |
| 2773 | ; AVX2-LABEL: 'cmp_int_slt' |
| 2774 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp slt i8 undef, undef |
| 2775 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp slt <16 x i8> undef, undef |
| 2776 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp slt <32 x i8> undef, undef |
| 2777 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I8 = icmp slt <64 x i8> undef, undef |
| 2778 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V128I8 = icmp slt <128 x i8> undef, undef |
| 2779 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp slt i16 undef, undef |
| 2780 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp slt <8 x i16> undef, undef |
| 2781 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp slt <16 x i16> undef, undef |
| 2782 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I16 = icmp slt <32 x i16> undef, undef |
| 2783 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I16 = icmp slt <64 x i16> undef, undef |
| 2784 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp slt i32 undef, undef |
| 2785 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp slt <4 x i32> undef, undef |
| 2786 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp slt <8 x i32> undef, undef |
| 2787 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I32 = icmp slt <16 x i32> undef, undef |
| 2788 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I32 = icmp slt <32 x i32> undef, undef |
| 2789 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp slt i64 undef, undef |
| 2790 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp slt <2 x i64> undef, undef |
| 2791 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp slt <4 x i64> undef, undef |
| 2792 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I64 = icmp slt <8 x i64> undef, undef |
| 2793 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I64 = icmp slt <16 x i64> undef, undef |
| 2794 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2795 | ; |
| 2796 | ; AVX512F-LABEL: 'cmp_int_slt' |
| 2797 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp slt i8 undef, undef |
| 2798 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp slt <16 x i8> undef, undef |
| 2799 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp slt <32 x i8> undef, undef |
| 2800 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I8 = icmp slt <64 x i8> undef, undef |
| 2801 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V128I8 = icmp slt <128 x i8> undef, undef |
| 2802 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp slt i16 undef, undef |
| 2803 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp slt <8 x i16> undef, undef |
| 2804 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp slt <16 x i16> undef, undef |
| 2805 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I16 = icmp slt <32 x i16> undef, undef |
| 2806 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I16 = icmp slt <64 x i16> undef, undef |
| 2807 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp slt i32 undef, undef |
| 2808 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp slt <4 x i32> undef, undef |
| 2809 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp slt <8 x i32> undef, undef |
| 2810 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp slt <16 x i32> undef, undef |
| 2811 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp slt <32 x i32> undef, undef |
| 2812 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp slt i64 undef, undef |
| 2813 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp slt <2 x i64> undef, undef |
| 2814 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp slt <4 x i64> undef, undef |
| 2815 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp slt <8 x i64> undef, undef |
| 2816 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp slt <16 x i64> undef, undef |
| 2817 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2818 | ; |
| 2819 | ; AVX512BW-LABEL: 'cmp_int_slt' |
| 2820 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp slt i8 undef, undef |
| 2821 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp slt <16 x i8> undef, undef |
| 2822 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp slt <32 x i8> undef, undef |
| 2823 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V64I8 = icmp slt <64 x i8> undef, undef |
| 2824 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V128I8 = icmp slt <128 x i8> undef, undef |
| 2825 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp slt i16 undef, undef |
| 2826 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp slt <8 x i16> undef, undef |
| 2827 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp slt <16 x i16> undef, undef |
| 2828 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I16 = icmp slt <32 x i16> undef, undef |
| 2829 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I16 = icmp slt <64 x i16> undef, undef |
| 2830 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp slt i32 undef, undef |
| 2831 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp slt <4 x i32> undef, undef |
| 2832 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp slt <8 x i32> undef, undef |
| 2833 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp slt <16 x i32> undef, undef |
| 2834 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp slt <32 x i32> undef, undef |
| 2835 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp slt i64 undef, undef |
| 2836 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp slt <2 x i64> undef, undef |
| 2837 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp slt <4 x i64> undef, undef |
| 2838 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp slt <8 x i64> undef, undef |
| 2839 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp slt <16 x i64> undef, undef |
| 2840 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2841 | ; |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 2842 | ; XOPAVX1-LABEL: 'cmp_int_slt' |
| 2843 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp slt i8 undef, undef |
| 2844 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp slt <16 x i8> undef, undef |
| 2845 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp slt <32 x i8> undef, undef |
| 2846 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp slt <64 x i8> undef, undef |
| 2847 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp slt <128 x i8> undef, undef |
| 2848 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp slt i16 undef, undef |
| 2849 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp slt <8 x i16> undef, undef |
| 2850 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp slt <16 x i16> undef, undef |
| 2851 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp slt <32 x i16> undef, undef |
| 2852 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp slt <64 x i16> undef, undef |
| 2853 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp slt i32 undef, undef |
| 2854 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp slt <4 x i32> undef, undef |
| 2855 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp slt <8 x i32> undef, undef |
| 2856 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp slt <16 x i32> undef, undef |
| 2857 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp slt <32 x i32> undef, undef |
| 2858 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp slt i64 undef, undef |
| 2859 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp slt <2 x i64> undef, undef |
| 2860 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp slt <4 x i64> undef, undef |
| 2861 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp slt <8 x i64> undef, undef |
| 2862 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp slt <16 x i64> undef, undef |
| 2863 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2864 | ; |
| 2865 | ; XOPAVX2-LABEL: 'cmp_int_slt' |
| 2866 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp slt i8 undef, undef |
| 2867 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp slt <16 x i8> undef, undef |
| 2868 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp slt <32 x i8> undef, undef |
| 2869 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I8 = icmp slt <64 x i8> undef, undef |
| 2870 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V128I8 = icmp slt <128 x i8> undef, undef |
| 2871 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp slt i16 undef, undef |
| 2872 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp slt <8 x i16> undef, undef |
| 2873 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp slt <16 x i16> undef, undef |
| 2874 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I16 = icmp slt <32 x i16> undef, undef |
| 2875 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I16 = icmp slt <64 x i16> undef, undef |
| 2876 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp slt i32 undef, undef |
| 2877 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp slt <4 x i32> undef, undef |
| 2878 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp slt <8 x i32> undef, undef |
| 2879 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I32 = icmp slt <16 x i32> undef, undef |
| 2880 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I32 = icmp slt <32 x i32> undef, undef |
| 2881 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp slt i64 undef, undef |
| 2882 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp slt <2 x i64> undef, undef |
| 2883 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp slt <4 x i64> undef, undef |
| 2884 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I64 = icmp slt <8 x i64> undef, undef |
| 2885 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I64 = icmp slt <16 x i64> undef, undef |
| 2886 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2887 | ; |
Simon Pilgrim | d7f0207 | 2019-09-26 10:14:38 +0000 | [diff] [blame] | 2888 | ; SLM-LABEL: 'cmp_int_slt' |
| 2889 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp slt i8 undef, undef |
| 2890 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp slt <16 x i8> undef, undef |
| 2891 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I8 = icmp slt <32 x i8> undef, undef |
| 2892 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp slt <64 x i8> undef, undef |
| 2893 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp slt <128 x i8> undef, undef |
| 2894 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp slt i16 undef, undef |
| 2895 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp slt <8 x i16> undef, undef |
| 2896 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I16 = icmp slt <16 x i16> undef, undef |
| 2897 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp slt <32 x i16> undef, undef |
| 2898 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp slt <64 x i16> undef, undef |
| 2899 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp slt i32 undef, undef |
| 2900 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp slt <4 x i32> undef, undef |
| 2901 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V8I32 = icmp slt <8 x i32> undef, undef |
| 2902 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I32 = icmp slt <16 x i32> undef, undef |
| 2903 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I32 = icmp slt <32 x i32> undef, undef |
| 2904 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp slt i64 undef, undef |
| 2905 | ; SLM-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V2I64 = icmp slt <2 x i64> undef, undef |
| 2906 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp slt <4 x i64> undef, undef |
| 2907 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp slt <8 x i64> undef, undef |
| 2908 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp slt <16 x i64> undef, undef |
| 2909 | ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2910 | ; |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2911 | ; BTVER2-LABEL: 'cmp_int_slt' |
| 2912 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp slt i8 undef, undef |
| 2913 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp slt <16 x i8> undef, undef |
| 2914 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp slt <32 x i8> undef, undef |
| 2915 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp slt <64 x i8> undef, undef |
| 2916 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp slt <128 x i8> undef, undef |
| 2917 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp slt i16 undef, undef |
| 2918 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp slt <8 x i16> undef, undef |
| 2919 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp slt <16 x i16> undef, undef |
| 2920 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp slt <32 x i16> undef, undef |
| 2921 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp slt <64 x i16> undef, undef |
| 2922 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp slt i32 undef, undef |
| 2923 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp slt <4 x i32> undef, undef |
| 2924 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp slt <8 x i32> undef, undef |
| 2925 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp slt <16 x i32> undef, undef |
| 2926 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp slt <32 x i32> undef, undef |
| 2927 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp slt i64 undef, undef |
| 2928 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp slt <2 x i64> undef, undef |
| 2929 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp slt <4 x i64> undef, undef |
| 2930 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp slt <8 x i64> undef, undef |
| 2931 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp slt <16 x i64> undef, undef |
| 2932 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2933 | ; |
| 2934 | %I8 = icmp slt i8 undef, undef |
| 2935 | %V16I8 = icmp slt <16 x i8> undef, undef |
| 2936 | %V32I8 = icmp slt <32 x i8> undef, undef |
| 2937 | %V64I8 = icmp slt <64 x i8> undef, undef |
| 2938 | %V128I8 = icmp slt <128 x i8> undef, undef |
| 2939 | |
| 2940 | %I16 = icmp slt i16 undef, undef |
| 2941 | %V8I16 = icmp slt <8 x i16> undef, undef |
| 2942 | %V16I16 = icmp slt <16 x i16> undef, undef |
| 2943 | %V32I16 = icmp slt <32 x i16> undef, undef |
| 2944 | %V64I16 = icmp slt <64 x i16> undef, undef |
| 2945 | |
| 2946 | %I32 = icmp slt i32 undef, undef |
| 2947 | %V4I32 = icmp slt <4 x i32> undef, undef |
| 2948 | %V8I32 = icmp slt <8 x i32> undef, undef |
| 2949 | %V16I32 = icmp slt <16 x i32> undef, undef |
| 2950 | %V32I32 = icmp slt <32 x i32> undef, undef |
| 2951 | |
| 2952 | %I64 = icmp slt i64 undef, undef |
| 2953 | %V2I64 = icmp slt <2 x i64> undef, undef |
| 2954 | %V4I64 = icmp slt <4 x i64> undef, undef |
| 2955 | %V8I64 = icmp slt <8 x i64> undef, undef |
| 2956 | %V16I64 = icmp slt <16 x i64> undef, undef |
| 2957 | |
| 2958 | ret i32 undef |
| 2959 | } |
| 2960 | |
| 2961 | define i32 @cmp_int_ult(i32 %arg) { |
| 2962 | ; SSE2-LABEL: 'cmp_int_ult' |
| 2963 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ult i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2964 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ult <16 x i8> undef, undef |
| 2965 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I8 = icmp ult <32 x i8> undef, undef |
| 2966 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I8 = icmp ult <64 x i8> undef, undef |
| 2967 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V128I8 = icmp ult <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2968 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ult i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2969 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ult <8 x i16> undef, undef |
| 2970 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I16 = icmp ult <16 x i16> undef, undef |
| 2971 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I16 = icmp ult <32 x i16> undef, undef |
| 2972 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V64I16 = icmp ult <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2973 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ult i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2974 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ult <4 x i32> undef, undef |
| 2975 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I32 = icmp ult <8 x i32> undef, undef |
| 2976 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I32 = icmp ult <16 x i32> undef, undef |
| 2977 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V32I32 = icmp ult <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2978 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ult i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2979 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V2I64 = icmp ult <2 x i64> undef, undef |
| 2980 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V4I64 = icmp ult <4 x i64> undef, undef |
| 2981 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 40 for instruction: %V8I64 = icmp ult <8 x i64> undef, undef |
| 2982 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 80 for instruction: %V16I64 = icmp ult <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2983 | ; SSE2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 2984 | ; |
| 2985 | ; SSE3-LABEL: 'cmp_int_ult' |
| 2986 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ult i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2987 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ult <16 x i8> undef, undef |
| 2988 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I8 = icmp ult <32 x i8> undef, undef |
| 2989 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I8 = icmp ult <64 x i8> undef, undef |
| 2990 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V128I8 = icmp ult <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2991 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ult i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2992 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ult <8 x i16> undef, undef |
| 2993 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I16 = icmp ult <16 x i16> undef, undef |
| 2994 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I16 = icmp ult <32 x i16> undef, undef |
| 2995 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V64I16 = icmp ult <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 2996 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ult i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 2997 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ult <4 x i32> undef, undef |
| 2998 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I32 = icmp ult <8 x i32> undef, undef |
| 2999 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I32 = icmp ult <16 x i32> undef, undef |
| 3000 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V32I32 = icmp ult <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3001 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ult i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3002 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V2I64 = icmp ult <2 x i64> undef, undef |
| 3003 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V4I64 = icmp ult <4 x i64> undef, undef |
| 3004 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 40 for instruction: %V8I64 = icmp ult <8 x i64> undef, undef |
| 3005 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 80 for instruction: %V16I64 = icmp ult <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3006 | ; SSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 3007 | ; |
| 3008 | ; SSSE3-LABEL: 'cmp_int_ult' |
| 3009 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ult i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3010 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ult <16 x i8> undef, undef |
| 3011 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I8 = icmp ult <32 x i8> undef, undef |
| 3012 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I8 = icmp ult <64 x i8> undef, undef |
| 3013 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V128I8 = icmp ult <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3014 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ult i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3015 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ult <8 x i16> undef, undef |
| 3016 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I16 = icmp ult <16 x i16> undef, undef |
| 3017 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I16 = icmp ult <32 x i16> undef, undef |
| 3018 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V64I16 = icmp ult <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3019 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ult i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3020 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ult <4 x i32> undef, undef |
| 3021 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I32 = icmp ult <8 x i32> undef, undef |
| 3022 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I32 = icmp ult <16 x i32> undef, undef |
| 3023 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V32I32 = icmp ult <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3024 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ult i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3025 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V2I64 = icmp ult <2 x i64> undef, undef |
| 3026 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V4I64 = icmp ult <4 x i64> undef, undef |
| 3027 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 40 for instruction: %V8I64 = icmp ult <8 x i64> undef, undef |
| 3028 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 80 for instruction: %V16I64 = icmp ult <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3029 | ; SSSE3-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 3030 | ; |
| 3031 | ; SSE41-LABEL: 'cmp_int_ult' |
| 3032 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ult i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3033 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ult <16 x i8> undef, undef |
| 3034 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I8 = icmp ult <32 x i8> undef, undef |
| 3035 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I8 = icmp ult <64 x i8> undef, undef |
| 3036 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V128I8 = icmp ult <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3037 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ult i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3038 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ult <8 x i16> undef, undef |
| 3039 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I16 = icmp ult <16 x i16> undef, undef |
| 3040 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I16 = icmp ult <32 x i16> undef, undef |
| 3041 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V64I16 = icmp ult <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3042 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ult i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3043 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ult <4 x i32> undef, undef |
| 3044 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I32 = icmp ult <8 x i32> undef, undef |
| 3045 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I32 = icmp ult <16 x i32> undef, undef |
| 3046 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V32I32 = icmp ult <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3047 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ult i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3048 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %V2I64 = icmp ult <2 x i64> undef, undef |
| 3049 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 20 for instruction: %V4I64 = icmp ult <4 x i64> undef, undef |
| 3050 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 40 for instruction: %V8I64 = icmp ult <8 x i64> undef, undef |
| 3051 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 80 for instruction: %V16I64 = icmp ult <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3052 | ; SSE41-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 3053 | ; |
| 3054 | ; SSE42-LABEL: 'cmp_int_ult' |
| 3055 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ult i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3056 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ult <16 x i8> undef, undef |
| 3057 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I8 = icmp ult <32 x i8> undef, undef |
| 3058 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I8 = icmp ult <64 x i8> undef, undef |
| 3059 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V128I8 = icmp ult <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3060 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ult i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3061 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ult <8 x i16> undef, undef |
| 3062 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I16 = icmp ult <16 x i16> undef, undef |
| 3063 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I16 = icmp ult <32 x i16> undef, undef |
| 3064 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V64I16 = icmp ult <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3065 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ult i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3066 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ult <4 x i32> undef, undef |
| 3067 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I32 = icmp ult <8 x i32> undef, undef |
| 3068 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I32 = icmp ult <16 x i32> undef, undef |
| 3069 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V32I32 = icmp ult <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3070 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ult i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3071 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V2I64 = icmp ult <2 x i64> undef, undef |
| 3072 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V4I64 = icmp ult <4 x i64> undef, undef |
| 3073 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V8I64 = icmp ult <8 x i64> undef, undef |
| 3074 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V16I64 = icmp ult <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3075 | ; SSE42-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 3076 | ; |
| 3077 | ; AVX1-LABEL: 'cmp_int_ult' |
| 3078 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ult i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3079 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ult <16 x i8> undef, undef |
| 3080 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I8 = icmp ult <32 x i8> undef, undef |
| 3081 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I8 = icmp ult <64 x i8> undef, undef |
| 3082 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V128I8 = icmp ult <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3083 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ult i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3084 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ult <8 x i16> undef, undef |
| 3085 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I16 = icmp ult <16 x i16> undef, undef |
| 3086 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I16 = icmp ult <32 x i16> undef, undef |
| 3087 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V64I16 = icmp ult <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3088 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ult i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3089 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ult <4 x i32> undef, undef |
| 3090 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I32 = icmp ult <8 x i32> undef, undef |
| 3091 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I32 = icmp ult <16 x i32> undef, undef |
| 3092 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V32I32 = icmp ult <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3093 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ult i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3094 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V2I64 = icmp ult <2 x i64> undef, undef |
| 3095 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V4I64 = icmp ult <4 x i64> undef, undef |
| 3096 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V8I64 = icmp ult <8 x i64> undef, undef |
| 3097 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V16I64 = icmp ult <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3098 | ; AVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 3099 | ; |
| 3100 | ; AVX2-LABEL: 'cmp_int_ult' |
| 3101 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ult i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3102 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ult <16 x i8> undef, undef |
| 3103 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V32I8 = icmp ult <32 x i8> undef, undef |
| 3104 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V64I8 = icmp ult <64 x i8> undef, undef |
| 3105 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V128I8 = icmp ult <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3106 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ult i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3107 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ult <8 x i16> undef, undef |
| 3108 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I16 = icmp ult <16 x i16> undef, undef |
| 3109 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I16 = icmp ult <32 x i16> undef, undef |
| 3110 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I16 = icmp ult <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3111 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ult i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3112 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ult <4 x i32> undef, undef |
| 3113 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I32 = icmp ult <8 x i32> undef, undef |
| 3114 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I32 = icmp ult <16 x i32> undef, undef |
| 3115 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I32 = icmp ult <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3116 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ult i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3117 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V2I64 = icmp ult <2 x i64> undef, undef |
| 3118 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I64 = icmp ult <4 x i64> undef, undef |
| 3119 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I64 = icmp ult <8 x i64> undef, undef |
| 3120 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I64 = icmp ult <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3121 | ; AVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 3122 | ; |
| 3123 | ; AVX512F-LABEL: 'cmp_int_ult' |
| 3124 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ult i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3125 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ult <16 x i8> undef, undef |
| 3126 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V32I8 = icmp ult <32 x i8> undef, undef |
Craig Topper | 8dfb962 | 2020-04-15 12:03:39 -0700 | [diff] [blame^] | 3127 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V64I8 = icmp ult <64 x i8> undef, undef |
| 3128 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V128I8 = icmp ult <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3129 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ult i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3130 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ult <8 x i16> undef, undef |
| 3131 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I16 = icmp ult <16 x i16> undef, undef |
Craig Topper | 8dfb962 | 2020-04-15 12:03:39 -0700 | [diff] [blame^] | 3132 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I16 = icmp ult <32 x i16> undef, undef |
| 3133 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I16 = icmp ult <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3134 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ult i32 undef, undef |
| 3135 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp ult <4 x i32> undef, undef |
| 3136 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp ult <8 x i32> undef, undef |
| 3137 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp ult <16 x i32> undef, undef |
| 3138 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp ult <32 x i32> undef, undef |
| 3139 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ult i64 undef, undef |
| 3140 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp ult <2 x i64> undef, undef |
| 3141 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp ult <4 x i64> undef, undef |
| 3142 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp ult <8 x i64> undef, undef |
| 3143 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp ult <16 x i64> undef, undef |
| 3144 | ; AVX512F-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 3145 | ; |
| 3146 | ; AVX512BW-LABEL: 'cmp_int_ult' |
| 3147 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ult i8 undef, undef |
| 3148 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp ult <16 x i8> undef, undef |
| 3149 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I8 = icmp ult <32 x i8> undef, undef |
| 3150 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V64I8 = icmp ult <64 x i8> undef, undef |
| 3151 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V128I8 = icmp ult <128 x i8> undef, undef |
| 3152 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ult i16 undef, undef |
| 3153 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp ult <8 x i16> undef, undef |
| 3154 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I16 = icmp ult <16 x i16> undef, undef |
| 3155 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V32I16 = icmp ult <32 x i16> undef, undef |
| 3156 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V64I16 = icmp ult <64 x i16> undef, undef |
| 3157 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ult i32 undef, undef |
| 3158 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp ult <4 x i32> undef, undef |
| 3159 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I32 = icmp ult <8 x i32> undef, undef |
| 3160 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I32 = icmp ult <16 x i32> undef, undef |
| 3161 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V32I32 = icmp ult <32 x i32> undef, undef |
| 3162 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ult i64 undef, undef |
| 3163 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp ult <2 x i64> undef, undef |
| 3164 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I64 = icmp ult <4 x i64> undef, undef |
| 3165 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I64 = icmp ult <8 x i64> undef, undef |
| 3166 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V16I64 = icmp ult <16 x i64> undef, undef |
| 3167 | ; AVX512BW-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 3168 | ; |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 3169 | ; XOPAVX1-LABEL: 'cmp_int_ult' |
| 3170 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ult i8 undef, undef |
| 3171 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp ult <16 x i8> undef, undef |
| 3172 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V32I8 = icmp ult <32 x i8> undef, undef |
| 3173 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V64I8 = icmp ult <64 x i8> undef, undef |
| 3174 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V128I8 = icmp ult <128 x i8> undef, undef |
| 3175 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ult i16 undef, undef |
| 3176 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp ult <8 x i16> undef, undef |
| 3177 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V16I16 = icmp ult <16 x i16> undef, undef |
| 3178 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V32I16 = icmp ult <32 x i16> undef, undef |
| 3179 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V64I16 = icmp ult <64 x i16> undef, undef |
| 3180 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ult i32 undef, undef |
| 3181 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp ult <4 x i32> undef, undef |
| 3182 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8I32 = icmp ult <8 x i32> undef, undef |
| 3183 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V16I32 = icmp ult <16 x i32> undef, undef |
| 3184 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V32I32 = icmp ult <32 x i32> undef, undef |
| 3185 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ult i64 undef, undef |
| 3186 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp ult <2 x i64> undef, undef |
| 3187 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4I64 = icmp ult <4 x i64> undef, undef |
| 3188 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V8I64 = icmp ult <8 x i64> undef, undef |
| 3189 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V16I64 = icmp ult <16 x i64> undef, undef |
| 3190 | ; XOPAVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 3191 | ; |
| 3192 | ; XOPAVX2-LABEL: 'cmp_int_ult' |
| 3193 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ult i8 undef, undef |
| 3194 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V16I8 = icmp ult <16 x i8> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3195 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V32I8 = icmp ult <32 x i8> undef, undef |
| 3196 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V64I8 = icmp ult <64 x i8> undef, undef |
| 3197 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V128I8 = icmp ult <128 x i8> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 3198 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ult i16 undef, undef |
| 3199 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V8I16 = icmp ult <8 x i16> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3200 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I16 = icmp ult <16 x i16> undef, undef |
| 3201 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I16 = icmp ult <32 x i16> undef, undef |
| 3202 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I16 = icmp ult <64 x i16> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 3203 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ult i32 undef, undef |
| 3204 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4I32 = icmp ult <4 x i32> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3205 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I32 = icmp ult <8 x i32> undef, undef |
| 3206 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I32 = icmp ult <16 x i32> undef, undef |
| 3207 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I32 = icmp ult <32 x i32> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 3208 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ult i64 undef, undef |
| 3209 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V2I64 = icmp ult <2 x i64> undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3210 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I64 = icmp ult <4 x i64> undef, undef |
| 3211 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I64 = icmp ult <8 x i64> undef, undef |
| 3212 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I64 = icmp ult <16 x i64> undef, undef |
Simon Pilgrim | 44feb4a | 2019-01-21 11:33:52 +0000 | [diff] [blame] | 3213 | ; XOPAVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 3214 | ; |
Simon Pilgrim | d7f0207 | 2019-09-26 10:14:38 +0000 | [diff] [blame] | 3215 | ; SLM-LABEL: 'cmp_int_ult' |
| 3216 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ult i8 undef, undef |
| 3217 | ; SLM-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ult <16 x i8> undef, undef |
| 3218 | ; SLM-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I8 = icmp ult <32 x i8> undef, undef |
| 3219 | ; SLM-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I8 = icmp ult <64 x i8> undef, undef |
| 3220 | ; SLM-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V128I8 = icmp ult <128 x i8> undef, undef |
| 3221 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ult i16 undef, undef |
| 3222 | ; SLM-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ult <8 x i16> undef, undef |
| 3223 | ; SLM-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I16 = icmp ult <16 x i16> undef, undef |
| 3224 | ; SLM-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I16 = icmp ult <32 x i16> undef, undef |
| 3225 | ; SLM-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V64I16 = icmp ult <64 x i16> undef, undef |
| 3226 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ult i32 undef, undef |
| 3227 | ; SLM-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ult <4 x i32> undef, undef |
| 3228 | ; SLM-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I32 = icmp ult <8 x i32> undef, undef |
| 3229 | ; SLM-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I32 = icmp ult <16 x i32> undef, undef |
| 3230 | ; SLM-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V32I32 = icmp ult <32 x i32> undef, undef |
| 3231 | ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ult i64 undef, undef |
| 3232 | ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V2I64 = icmp ult <2 x i64> undef, undef |
| 3233 | ; SLM-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V4I64 = icmp ult <4 x i64> undef, undef |
| 3234 | ; SLM-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V8I64 = icmp ult <8 x i64> undef, undef |
| 3235 | ; SLM-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %V16I64 = icmp ult <16 x i64> undef, undef |
| 3236 | ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 3237 | ; |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3238 | ; BTVER2-LABEL: 'cmp_int_ult' |
| 3239 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I8 = icmp ult i8 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3240 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V16I8 = icmp ult <16 x i8> undef, undef |
| 3241 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V32I8 = icmp ult <32 x i8> undef, undef |
| 3242 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V64I8 = icmp ult <64 x i8> undef, undef |
| 3243 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V128I8 = icmp ult <128 x i8> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3244 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I16 = icmp ult i16 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3245 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8I16 = icmp ult <8 x i16> undef, undef |
| 3246 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V16I16 = icmp ult <16 x i16> undef, undef |
| 3247 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V32I16 = icmp ult <32 x i16> undef, undef |
| 3248 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V64I16 = icmp ult <64 x i16> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3249 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = icmp ult i32 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3250 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V4I32 = icmp ult <4 x i32> undef, undef |
| 3251 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V8I32 = icmp ult <8 x i32> undef, undef |
| 3252 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V16I32 = icmp ult <16 x i32> undef, undef |
| 3253 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V32I32 = icmp ult <32 x i32> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3254 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I64 = icmp ult i64 undef, undef |
Simon Pilgrim | ee900ef | 2019-01-22 12:29:38 +0000 | [diff] [blame] | 3255 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V2I64 = icmp ult <2 x i64> undef, undef |
| 3256 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V4I64 = icmp ult <4 x i64> undef, undef |
| 3257 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V8I64 = icmp ult <8 x i64> undef, undef |
| 3258 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 24 for instruction: %V16I64 = icmp ult <16 x i64> undef, undef |
Simon Pilgrim | 60e5a3ac | 2019-01-20 12:10:42 +0000 | [diff] [blame] | 3259 | ; BTVER2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef |
| 3260 | ; |
| 3261 | %I8 = icmp ult i8 undef, undef |
| 3262 | %V16I8 = icmp ult <16 x i8> undef, undef |
| 3263 | %V32I8 = icmp ult <32 x i8> undef, undef |
| 3264 | %V64I8 = icmp ult <64 x i8> undef, undef |
| 3265 | %V128I8 = icmp ult <128 x i8> undef, undef |
| 3266 | |
| 3267 | %I16 = icmp ult i16 undef, undef |
| 3268 | %V8I16 = icmp ult <8 x i16> undef, undef |
| 3269 | %V16I16 = icmp ult <16 x i16> undef, undef |
| 3270 | %V32I16 = icmp ult <32 x i16> undef, undef |
| 3271 | %V64I16 = icmp ult <64 x i16> undef, undef |
| 3272 | |
| 3273 | %I32 = icmp ult i32 undef, undef |
| 3274 | %V4I32 = icmp ult <4 x i32> undef, undef |
| 3275 | %V8I32 = icmp ult <8 x i32> undef, undef |
| 3276 | %V16I32 = icmp ult <16 x i32> undef, undef |
| 3277 | %V32I32 = icmp ult <32 x i32> undef, undef |
| 3278 | |
| 3279 | %I64 = icmp ult i64 undef, undef |
| 3280 | %V2I64 = icmp ult <2 x i64> undef, undef |
| 3281 | %V4I64 = icmp ult <4 x i64> undef, undef |
| 3282 | %V8I64 = icmp ult <8 x i64> undef, undef |
| 3283 | %V16I64 = icmp ult <16 x i64> undef, undef |
| 3284 | |
| 3285 | ret i32 undef |
| 3286 | } |
| 3287 | |