This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, vec-tails 08/10] Support loop epilogue masking and low trip count loop vectorization
- From: Jeff Law <law at redhat dot com>
- To: Ilya Enkovich <enkovich dot gnu at gmail dot com>, Richard Biener <richard dot guenther at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 14 Jul 2016 15:03:35 -0600
- Subject: Re: [PATCH, vec-tails 08/10] Support loop epilogue masking and low trip count loop vectorization
- Authentication-results: sourceware.org; auth=none
- References: <20160519194604.GI40563@msticlxl57.ims.intel.com> <CAFiYyc3j-wan8ucvfbOibNd_5-S-6EzXdL8Z8p5Sk_5UzfRGcQ@mail.gmail.com> <CAMbmDYbuXg44Onixd_HZYjx=N68oZBgJWUjVyCP_PViRo6hYtw@mail.gmail.com> <20160624114623.GB22083@msticlxl57.ims.intel.com>
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