Re: [PATCH, rs6000] Vectorizer heuristic

2012-07-31 Thread David Edelsohn
On Tue, Jul 31, 2012 at 3:54 PM, William J. Schmidt wrote: > Now that the vectorizer cost model is set up to facilitate per-target > heuristics, I'm revisiting the "density" heuristic I submitted > previously. This allows the vec_permute and vec_promote_demote costs to > be set to their natural v

[PATCH, rs6000] Vectorizer heuristic

2012-07-31 Thread William J. Schmidt
Now that the vectorizer cost model is set up to facilitate per-target heuristics, I'm revisiting the "density" heuristic I submitted previously. This allows the vec_permute and vec_promote_demote costs to be set to their natural values, but inhibits vectorization in cases like sphinx3 where vector