Re: [PATCH 3/6] Fix prefetch heuristic calculation.

2017-01-30 Thread Richard Biener
On Mon, Jan 30, 2017 at 12:43 PM, Maxim Kuvyrkov wrote: > This patch fixes heuristic in loop array prefetching to use > "round-to-nearest" instead of "floor", which is what _all_ other similar > heuristics in the pass are doing. _all_ is a bit over-exaggregating... In the context we are testin

[PATCH 3/6] Fix prefetch heuristic calculation.

2017-01-30 Thread Maxim Kuvyrkov
This patch fixes heuristic in loop array prefetching to use "round-to-nearest" instead of "floor", which is what _all_ other similar heuristics in the pass are doing. This subtle change allows a critical loop in 429.mcf to get prefetches without making the pass too aggressive, which causes regr