3 Commits

Author SHA1 Message Date
Simon Pilgrim
a0869b14cd [CostModel][X86] Fix expanded CTPOP i8 costs
Updated to match #79989 / 9410019ac977141bc73aee19690b5896ded59219
2024-02-21 14:54:50 +00:00
Simon Pilgrim
10e0f3e948 [CostModel][X86] Add CostKinds handling for ctpop ops
This was achieved with an updated version of the 'cost-tables vs llvm-mca' script D103695 (although it still struggles with avx512 predicate numbers which had to be done manually)

Some of the pre-AVX values still aren't great - atom/slm worst case numbers for ctpop expansion really affect these (especially throughput/latency), so we need to clean them up in a more consistent way - its a pity we don't have models for more older cpus (merom/nehalem etc.) as other examples.
2022-09-06 17:27:24 +01:00
Simon Pilgrim
f560e9cc2f [CostModel][X86] Add CostKinds test coverage for ctpop intrinsics 2022-09-06 14:39:23 +01:00