]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR middle-end/53024 (Support vector_size that is not a power of 2)
authorMarc Glisse <marc.glisse@inria.fr>
Thu, 27 Sep 2012 10:06:23 +0000 (12:06 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Thu, 27 Sep 2012 10:06:23 +0000 (10:06 +0000)
2012-09-27  Marc Glisse  <marc.glisse@inria.fr>

PR c/53024
PR c++/54427
* gcc/doc/extend.texi (Vector Extensions): C++ improvements.
Power of 2 size requirement.

From-SVN: r191800

gcc/ChangeLog
gcc/doc/extend.texi

index cb66af6b446d7f3a60ee384870c744492785bdb6..5850528c51e9d7f46688a793f1593a64e22e74a7 100644 (file)
@@ -1,3 +1,10 @@
+2012-09-27  Marc Glisse  <marc.glisse@inria.fr>
+
+       PR c/53024
+       PR c++/54427
+       * doc/extend.texi (Vector Extensions): C++ improvements.
+       Power of 2 size requirement.
+
 2012-09-27  Richard Guenther  <rguenther@suse.de>
 
        PR lto/54709
index 8b4a867775945e77b61df6bb3263a379d8828e20..9b216df8e1c315c4c2fc55dda053aeab9b944130 100644 (file)
@@ -6820,7 +6820,8 @@ corresponding mode of @code{foo} will be @acronym{V4SI}.
 
 The @code{vector_size} attribute is only applicable to integral and
 float scalars, although arrays, pointers, and function return values
-are allowed in conjunction with this construct.
+are allowed in conjunction with this construct. Only power of two
+sizes are currently allowed.
 
 All the basic integer types can be used as base types, both as signed
 and as unsigned: @code{char}, @code{short}, @code{int}, @code{long},
@@ -6857,7 +6858,7 @@ minus or complement operators on a vector type is a vector whose
 elements are the negative or complemented values of the corresponding
 elements in the operand.
 
-In C it is possible to use shifting operators @code{<<}, @code{>>} on
+It is possible to use shifting operators @code{<<}, @code{>>} on
 integer-type vectors. The operation is defined as following: @code{@{a0,
 a1, @dots{}, an@} >> @{b0, b1, @dots{}, bn@} == @{a0 >> b0, a1 >> b1,
 @dots{}, an >> bn@}}@. Vector operands must have the same number of
@@ -6888,7 +6889,7 @@ invoke undefined behavior at runtime.  Warnings for out of bound
 accesses for vector subscription can be enabled with
 @option{-Warray-bounds}.
 
-In GNU C vector comparison is supported within standard comparison
+Vector comparison is supported with standard comparison
 operators: @code{==, !=, <, <=, >, >=}. Comparison operands can be
 vector expressions of integer-type or real-type. Comparison between
 integer-type vectors and real-type vectors are not supported.  The