[PATCH] D115016: [CostModel][X86] Add i64 mul cost for avx as 1cy

Haohai, Wen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 3 06:13:50 PST 2021


HaohaiWen added a comment.

> This is a classic example of where having cost tables driven from (accurate) scheduler models would be much more useful (D46276 <https://reviews.llvm.org/D46276>), but there has been very little interest in helping polish those models to make that a viable option.

Thanks for sharing this. I think using scheduler models based cost tables is more accurate and reasonable. Is there any plan to commit D46276 <https://reviews.llvm.org/D46276>?
Do we have any plan to use double as cost value type since many instruction's cost is less than 1 on modern superscalar CPU?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115016/new/

https://reviews.llvm.org/D115016



More information about the llvm-commits mailing list