Simon Pilgrim
7cb9be5d19
[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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374786 91177308-0d34-0410-b5e6-96231b3b80d8
2019-10-14 16:30:17 +00:00
..
2019-08-29 11:50:30 +00:00
2019-08-07 16:24:26 +00:00
2019-09-22 12:04:38 +00:00
2018-04-13 19:12:32 +00:00
2019-05-28 04:09:18 +00:00
2019-09-26 10:14:38 +00:00
2019-09-26 10:14:38 +00:00
2019-09-26 10:14:38 +00:00
2019-08-07 16:24:26 +00:00
2018-04-06 15:46:26 +00:00
2018-04-06 15:46:26 +00:00
2019-09-22 12:04:38 +00:00
2018-04-13 18:56:58 +00:00
2019-10-14 16:30:17 +00:00
2019-10-14 14:07:43 +00:00
2018-04-06 16:14:27 +00:00
2018-10-24 18:44:12 +00:00
2019-09-02 21:02:51 +00:00
2019-01-20 13:21:43 +00:00
2019-08-07 16:24:26 +00:00
2019-08-07 16:24:26 +00:00
2018-07-02 17:07:01 +00:00
2019-09-26 10:14:38 +00:00
2019-09-26 10:14:38 +00:00
2017-09-27 23:16:56 +00:00
2012-12-23 09:11:07 +00:00
2019-09-26 10:14:38 +00:00
2012-11-05 21:12:13 +00:00
2018-12-01 00:21:49 +00:00
2018-12-01 00:21:49 +00:00
2017-11-06 10:56:20 +00:00
2017-10-18 11:41:55 +00:00
2017-11-16 09:38:32 +00:00
2017-11-16 09:38:32 +00:00
2017-10-18 11:41:55 +00:00
2018-02-26 22:10:17 +00:00
2019-06-17 09:51:07 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2019-08-07 16:24:26 +00:00
2019-08-14 14:52:39 +00:00
2019-10-12 13:21:50 +00:00
2019-08-07 16:24:26 +00:00
2019-08-07 16:24:26 +00:00
2019-08-07 16:24:26 +00:00
2019-08-07 16:24:26 +00:00
2019-08-07 16:24:26 +00:00
2019-08-07 16:24:26 +00:00
2019-08-07 16:24:26 +00:00
2019-08-07 16:24:26 +00:00
2019-10-12 13:21:50 +00:00
2018-10-24 18:44:12 +00:00
2016-08-04 10:51:41 +00:00
2018-06-13 16:52:02 +00:00
2019-08-15 17:29:42 +00:00
2018-10-20 17:38:33 +00:00
2018-06-14 09:35:00 +00:00
2018-06-21 11:37:13 +00:00
2019-08-07 16:24:26 +00:00
2018-06-21 11:37:13 +00:00
2019-08-22 08:18:45 +00:00
2019-08-07 16:24:26 +00:00
2018-04-06 15:28:26 +00:00
2018-12-01 00:21:49 +00:00
2018-12-01 00:21:49 +00:00
2018-12-01 00:21:49 +00:00
2018-12-01 00:21:49 +00:00
2019-08-07 16:24:26 +00:00
2019-08-07 16:24:26 +00:00
2019-08-07 16:24:26 +00:00
2012-12-05 21:21:26 +00:00
2019-09-22 16:46:15 +00:00
2019-08-07 16:24:26 +00:00
2016-08-04 22:48:03 +00:00
2018-10-24 18:44:12 +00:00
2017-10-13 14:04:21 +00:00
2019-10-09 12:36:22 +00:00
2019-10-09 12:36:34 +00:00
2015-02-27 21:17:42 +00:00
2019-01-20 13:55:01 +00:00
2018-11-13 16:40:10 +00:00
2018-11-13 16:40:10 +00:00
2018-04-20 13:50:33 +00:00