diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-10-14 16:30:17 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-10-14 16:30:17 +0000 |
commit | 1385b27e92d906dbce9dd10431c8c210d1f7ef45 (patch) | |
tree | a7f2305e69074b0a9d31ea8d68da3cc83af3ea90 /lldb/packages/Python/lldbsuite | |
parent | 2cb43b45713daca087449e6f1b1aced95b895435 (diff) | |
download | bcm5719-llvm-1385b27e92d906dbce9dd10431c8c210d1f7ef45.tar.gz bcm5719-llvm-1385b27e92d906dbce9dd10431c8c210d1f7ef45.zip |
[CostModel][X86] Add CTLZ scalar costs
Add specific scalar costs for CTLZ instructions, we can't discriminate between CTLZ and CTLZ_ZERO_UNDEF so we have to assume the worst. Given how BSR is often a microcoded nightmare on some older targets we might still be underestimating it.
For targets supporting LZCNT (Intel Haswell+ or AMD Fam10+), we provide overrides that assume 1cy costs.
llvm-svn: 374786
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
0 files changed, 0 insertions, 0 deletions