summaryrefslogtreecommitdiff
path: root/gcc/doc/rtl.texi
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2009-12-17 10:43:23 -0500
committerSandra Loosemore <sandra@gcc.gnu.org>2009-12-17 10:43:23 -0500
commita0274eae644ea499d83f4090a915bc8bf2f77c77 (patch)
treee7b2e3a57eb0960e93d76050cab84c182a65b484 /gcc/doc/rtl.texi
parent0c23e1be874aec1658ae7f95499d289d95530ad6 (diff)
downloadgcc-a0274eae644ea499d83f4090a915bc8bf2f77c77.tar.gz
rtl.texi (Vector Operations): Clarify vec_select result mode.
2009-12-17 Sandra Loosemore <sandra@codesourcery.com> gcc/ * doc/rtl.texi (Vector Operations): Clarify vec_select result mode. From-SVN: r155320
Diffstat (limited to 'gcc/doc/rtl.texi')
-rw-r--r--gcc/doc/rtl.texi7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi
index 4888eb3f1e1..eda42c79eae 100644
--- a/gcc/doc/rtl.texi
+++ b/gcc/doc/rtl.texi
@@ -2614,9 +2614,12 @@ a set bit indicates it is taken from @var{vec1}.
@findex vec_select
@item (vec_select:@var{m} @var{vec1} @var{selection})
This describes an operation that selects parts of a vector. @var{vec1} is
-the source vector, @var{selection} is a @code{parallel} that contains a
+the source vector, and @var{selection} is a @code{parallel} that contains a
@code{const_int} for each of the subparts of the result vector, giving the
-number of the source subpart that should be stored into it.
+number of the source subpart that should be stored into it.
+The result mode @var{m} is either the submode for a single element of
+@var{vec1} (if only one subpart is selected), or another vector mode
+with that element submode (if multiple subparts are selected).
@findex vec_concat
@item (vec_concat:@var{m} @var{vec1} @var{vec2})