aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2017-11-09 15:18:32 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2017-11-09 15:18:32 +0000
commit32c7bafd50e6553f2f79858cf365907979d5eb2a (patch)
tree0d3d1842c080a9bdb1106625b1d8df762c606ccf /gcc/doc
parentb8353767564e8042ce75d6879e813ce313a0a050 (diff)
downloadgcc-32c7bafd50e6553f2f79858cf365907979d5eb2a.zip
gcc-32c7bafd50e6553f2f79858cf365907979d5eb2a.tar.gz
gcc-32c7bafd50e6553f2f79858cf365907979d5eb2a.tar.bz2
Add a vect_variable_length target selector
This patch adds a target selector for variable-length vectors. Initially it's always false, but the SVE patch provides a case in which it's true. 2017-11-09 Richard Sandiford <richard.sandiford@linaro.org> Alan Hayward <alan.hayward@arm.com> David Sherwood <david.sherwood@arm.com> gcc/ * doc/sourcebuild.texi (vect_variable_length): Document. gcc/testsuite/ * lib/target-supports.exp (check_effective_target_vect_variable_length): New proc. * gcc.dg/vect/pr60482.c: XFAIL test for no epilog loop if vect_variable_length. * gcc.dg/vect/slp-reduc-6.c: XFAIL two-operation SLP if vect_variable_length. * gcc.dg/vect/vect-alias-check-5.c: XFAIL alias optimization if vect_variable_length. * gfortran.dg/vect/fast-math-mgrid-resid.f: XFAIL predictive commoning optimization if vect_variable_length. Co-Authored-By: Alan Hayward <alan.hayward@arm.com> Co-Authored-By: David Sherwood <david.sherwood@arm.com> From-SVN: r254595
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/sourcebuild.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index cdee050..25e1103 100644
--- a/gcc/doc/sourcebuild.texi
+++ b/gcc/doc/sourcebuild.texi
@@ -1486,6 +1486,9 @@ Target prefers vectors to have an alignment greater than element
alignment, but also allows unaligned vector accesses in some
circumstances.
+@item vect_variable_length
+Target has variable-length vectors.
+
@item vect_widen_sum_hi_to_si
Target supports a vector widening summation of @code{short} operands
into @code{int} results, or can promote (unpack) from @code{short}