Summary: | Loop can be vectorized through gathers on AVX2 platforms. | ||
---|---|---|---|
Product: | gcc | Reporter: | Yuri Rumyantsev <ysrumyan> |
Component: | tree-optimization | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | NEW --- | ||
Severity: | normal | CC: | izamyatin |
Priority: | P3 | Keywords: | missed-optimization |
Version: | 7.0 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2021-12-26 00:00:00 | |
Bug Depends on: | |||
Bug Blocks: | 53947 | ||
Attachments: | test-case to reproduce |
Description
Yuri Rumyantsev
2016-04-28 13:35:59 UTC
Created attachment 38365 [details]
test-case to reproduce
Must be compiled with -O3 -mavx2 options
Confirmed. The vectorizer uses interleaving for this. We don't consider other options (like using scalar loads or gather loads) if that turns out not to be profitable. |