aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2013-02-21 16:41:25 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2013-02-21 16:41:25 +0000
commit38fe784da807e95e77fde9a4a7fdeefb96d4db44 (patch)
treed0758934d7107b298927f3818a59a5af34547a31 /gcc/doc
parent0fd44da38705c491a51156ca623ad18c949cf772 (diff)
downloadgcc-38fe784da807e95e77fde9a4a7fdeefb96d4db44.zip
gcc-38fe784da807e95e77fde9a4a7fdeefb96d4db44.tar.gz
gcc-38fe784da807e95e77fde9a4a7fdeefb96d4db44.tar.bz2
rtl.texi (vec_concat, [...]): Mention that scalars are valid operands.
* doc/rtl.texi (vec_concat, vec_duplicate): Mention that scalars are valid operands. From-SVN: r196208
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/rtl.texi17
1 files changed, 9 insertions, 8 deletions
diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi
index b0b0723..aa33d1c 100644
--- a/gcc/doc/rtl.texi
+++ b/gcc/doc/rtl.texi
@@ -2627,17 +2627,18 @@ The result mode @var{m} is either the submode for a single element of
with that element submode (if multiple subparts are selected).
@findex vec_concat
-@item (vec_concat:@var{m} @var{vec1} @var{vec2})
+@item (vec_concat:@var{m} @var{x1} @var{x2})
Describes a vector concat operation. The result is a concatenation of the
-vectors @var{vec1} and @var{vec2}; its length is the sum of the lengths of
-the two inputs.
+vectors or scalars @var{x1} and @var{x2}; its length is the sum of the
+lengths of the two inputs.
@findex vec_duplicate
-@item (vec_duplicate:@var{m} @var{vec})
-This operation converts a small vector into a larger one by duplicating the
-input values. The output vector mode must have the same submodes as the
-input vector mode, and the number of output parts must be an integer multiple
-of the number of input parts.
+@item (vec_duplicate:@var{m} @var{x})
+This operation converts a scalar into a vector or a small vector into a
+larger one by duplicating the input values. The output vector mode must have
+the same submodes as the input vector mode or the scalar modes, and the
+number of output parts must be an integer multiple of the number of input
+parts.
@end table