On 05/19/2016 01:46 PM, Ilya Enkovich wrote:
Hi,

This patch enables vectorization of loop epilogues and low trip count
loops using masking.

Thanks,
Ilya
--
gcc/

2016-05-19  Ilya Enkovich  <ilya.enkov...@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 scalat epilogue cost for
s/scalat/scalar/

        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.

I don't see anything here that worries me. Richi's question is a valid one, but I don't have a strong opinion on whether or not that should be explored as a prerequisite for this work to be accepted or if it should be a follow-up item. So take guidance from Richi on that.

jeff

Reply via email to