rtl.texi (vec_concat, [...]): Mention that scalars are valid operands.
authorHans-Peter Nilsson <hp@axis.com>
Thu, 21 Feb 2013 16:41:25 +0000 (16:41 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Thu, 21 Feb 2013 16:41:25 +0000 (16:41 +0000)
* doc/rtl.texi (vec_concat, vec_duplicate): Mention that
scalars are valid operands.

From-SVN: r196208

gcc/ChangeLog
gcc/doc/rtl.texi

index 27e8428898fa7a7536125b76984fc59e1ccd21fb..15286638fe3793268d93ad2852f3a51e879425b6 100644 (file)
@@ -1,3 +1,8 @@
+2013-02-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * doc/rtl.texi (vec_concat, vec_duplicate): Mention that
+       scalars are valid operands.
+
 2013-02-21  Martin Jambor  <mjambor@suse.cz>
 
        PR tree-optimization/56310
index b0b0723af2e17b3f2e5c94e37a4083dd5677d008..aa33d1cd80d1c2ede1ad691d1ed84b400d20d290 100644 (file)
@@ -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