r242310 - in /branches/ARM/sve-branch/gcc: para...
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Fri Nov 11 17:38:00 GMT 2016
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
More information about the Gcc-cvs
mailing list