This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242310 - in /branches/ARM/sve-branch/gcc: para...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Nov 2016 17:38:42 -0000
- Subject: r242310 - in /branches/ARM/sve-branch/gcc: para...
Author: rsandifo
Date: Fri Nov 11 17:38:41 2016
New Revision: 242310
URL: https://gcc.gnu.org/viewcvs?rev=242310&root=gcc&view=rev
Log:
Allow the number of iterations to be smaller than VF
Fully-masked loops can be profitable even if the iteration
count is smaller than the vectorisation factor. In this case
we're effectively doing a complete unroll followed by SLP.
The documentation for min-vect-loop-bound says that the
default value was 0, but actually the default and minimum
were 1. We need it to be 0 for this case since the parameter
counts a whole number of vector iterations.
Added:
branches/ARM/sve-branch/gcc/testsuite/gcc.target/aarch64/sve_miniloop_1.c
branches/ARM/sve-branch/gcc/testsuite/gcc.target/aarch64/sve_miniloop_2.c
Modified:
branches/ARM/sve-branch/gcc/params.def
branches/ARM/sve-branch/gcc/tree-vect-loop.c