[PATCH, vec-tails 08/10] Support loop epilogue masking and low trip count loop vectorization

Jeff Law law@redhat.com
Thu Jul 14 21:03:00 GMT 2016


On 06/24/2016 05:46 AM, Ilya Enkovich wrote:
>
> Here is an updated version.  It allows vectorization with a smaller vector size
> in case we fail to vectorize with masking.
>
> Thanks,
> Ilya
> --
> gcc/
>
> 2016-05-24  Ilya Enkovich  <ilya.enkovich@intel.com>
>
> 	* dbgcnt.def (vect_tail_mask): New.
> 	* tree-vect-loop.c (vect_analyze_loop_2): Support masked loop
> 	epilogues and low trip count loops.
> 	(vect_get_known_peeling_cost): Ignore scalar epilogue cost for
> 	loops we are going to mask.
> 	(vect_estimate_min_profitable_iters): Support masked loop
> 	epilogues and low trip count loops.
> 	* tree-vectorizer.c (vectorize_loops): Add a message for a case
> 	when loop epilogue can't be vectorized.
>
This is OK once the rest of the series is approved.

jeff



More information about the Gcc-patches mailing list