Re: [PATCH, vec-tails 03/10] Support epilogues vectorization with no masking

2016-06-15 Thread Jeff Law
On 05/19/2016 01:39 PM, Ilya Enkovich wrote: Hi, This patch introduces changes required to run vectorizer on loop epilogue. This also enables epilogue vectorization using a vector of smaller size. Thanks, Ilya -- gcc/ 2016-05-19 Ilya Enkovich * tree-if-conv.c (tree_if_conversion):

Re: [PATCH, vec-tails 04/10] Add masking cost

2016-06-15 Thread Jeff Law
On 05/20/2016 05:32 AM, Ilya Enkovich wrote: 2016-05-20 14:15 GMT+03:00 Richard Biener : On Fri, May 20, 2016 at 11:44 AM, Ilya Enkovich wrote: 2016-05-20 12:24 GMT+03:00 Richard Biener : On Thu, May 19, 2016 at 9:40 PM, Ilya Enkovich wrote: Hi, This patch extends vectorizer cost model to

Re: [PATCH, vec-tails 04/10] Add masking cost

2016-06-15 Thread Jeff Law
On 05/19/2016 01:40 PM, Ilya Enkovich wrote: Hi, This patch extends vectorizer cost model to include masking cost by adding new cost model locations and new target hook to compute masking cost. Thanks, Ilya -- gcc/ 2016-05-19 Ilya Enkovich * config/i386/i386.c (ix86_init_cost): Ext

Re: [PATCH, vec-tails 05/10] Check if loop can be masked

2016-06-15 Thread Jeff Law
On 06/15/2016 05:22 AM, Richard Biener wrote: You look at TREE_TYPE of LOOP_VINFO_NITERS (loop_vinfo) - I don't think this is meaningful (if then only by accident). I think you should look at the control IV itself, possibly it's value-range, to determine the smallest possible type to use. Can w

Re: [RFC][PATCH, vec-tails 00/10] Support vectorization of loop epilogues

2016-06-15 Thread Jeff Law
On 05/19/2016 01:35 PM, Ilya Enkovich wrote: Hi, This series is an extension of previous work on loop epilogue combining [1]. It introduces three ways to handle vectorized loop epilogues: combine it with vectorized loop, vectorize it with masks, vectorize it using a smaller vector size. Also i

<    1   2