This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r243069 - in /branches/ARM/sve-branch/gcc: conf...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 30 Nov 2016 19:08:51 -0000
- Subject: r243069 - in /branches/ARM/sve-branch/gcc: conf...
Author: rsandifo
Date: Wed Nov 30 19:08:51 2016
New Revision: 243069
URL: https://gcc.gnu.org/viewcvs?rev=243069&root=gcc&view=rev
Log:
Allow capped vectorisation factors
[Branch only patch -- not intended for trunk in its current state]
This patch allows the controlling mask for a loop to be clamped to
a compile-time maximum. We can then vectorise code that has a
known dependence distance, even if it is (or might be) smaller
than a vector.
This is almost ready for trunk, but I'd prefer to do some more
checking first.
Added:
branches/ARM/sve-branch/gcc/testsuite/gcc.target/aarch64/sve_cap_1.c
branches/ARM/sve-branch/gcc/testsuite/gcc.target/aarch64/sve_cap_1_run.c
branches/ARM/sve-branch/gcc/testsuite/gcc.target/aarch64/sve_cap_2.c
branches/ARM/sve-branch/gcc/testsuite/gcc.target/aarch64/sve_cap_2_run.c
branches/ARM/sve-branch/gcc/testsuite/gcc.target/aarch64/sve_cap_3.c
branches/ARM/sve-branch/gcc/testsuite/gcc.target/aarch64/sve_cap_3_run.c
Modified:
branches/ARM/sve-branch/gcc/config/aarch64/aarch64-sve.md
branches/ARM/sve-branch/gcc/config/aarch64/aarch64.md
branches/ARM/sve-branch/gcc/internal-fn.def
branches/ARM/sve-branch/gcc/optabs.def
branches/ARM/sve-branch/gcc/testsuite/gcc.dg/vect/slp-28.c
branches/ARM/sve-branch/gcc/tree-ssa-loop-ivopts.c
branches/ARM/sve-branch/gcc/tree-vect-data-refs.c
branches/ARM/sve-branch/gcc/tree-vect-loop-manip.c
branches/ARM/sve-branch/gcc/tree-vect-loop.c
branches/ARM/sve-branch/gcc/tree-vect-stmts.c
branches/ARM/sve-branch/gcc/tree-vectorizer.h