r217055 - Enhance the 'Vectors and Extended Vectors' section.
Anton Yartsev
anton.yartsev at gmail.com
Wed Sep 3 10:59:21 PDT 2014
Author: ayartsev
Date: Wed Sep 3 12:59:21 2014
New Revision: 217055
URL: http://llvm.org/viewvc/llvm-project?rev=217055&view=rev
Log:
Enhance the 'Vectors and Extended Vectors' section.
Added cast operations to the table of vector operations. Supported status 'no' means that there are no tests in the Clang test suite for the given cast.
Modified:
cfe/trunk/docs/LanguageExtensions.rst
Modified: cfe/trunk/docs/LanguageExtensions.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/LanguageExtensions.rst?rev=217055&r1=217054&r2=217055&view=diff
==============================================================================
--- cfe/trunk/docs/LanguageExtensions.rst (original)
+++ cfe/trunk/docs/LanguageExtensions.rst Wed Sep 3 12:59:21 2014
@@ -357,23 +357,27 @@ The table below shows the support for ea
dash indicates that an operation is not accepted according to a corresponding
specification.
-============================== ====== ======= === ====
- Opeator OpenCL AltiVec GCC NEON
-============================== ====== ======= === ====
-[] yes yes yes --
-unary operators +, -- yes yes yes --
-++, -- -- yes yes yes --
-+,--,*,/,% yes yes yes --
-bitwise operators &,|,^,~ yes yes yes --
->>,<< yes yes yes --
-!, &&, || no -- -- --
-==, !=, >, <, >=, <= yes yes -- --
-= yes yes yes yes
-:? yes -- -- --
-sizeof yes yes yes yes
-============================== ====== ======= === ====
+============================== ======= ======= ======= =======
+ Opeator OpenCL AltiVec GCC NEON
+============================== ======= ======= ======= =======
+[] yes yes yes --
+unary operators +, -- yes yes yes --
+++, -- -- yes yes yes --
++,--,*,/,% yes yes yes --
+bitwise operators &,|,^,~ yes yes yes --
+>>,<< yes yes yes --
+!, &&, || yes -- -- --
+==, !=, >, <, >=, <= yes yes -- --
+= yes yes yes yes
+:? yes -- -- --
+sizeof yes yes yes yes
+C-style cast yes yes yes no
+reinterpret_cast yes no yes no
+static_cast yes no yes no
+const_cast no no no no
+============================== ======= ======= ======= =======
-See also :ref:`langext-__builtin_shufflevector`.
+See also :ref:`langext-__builtin_shufflevector`, :ref:`langext-__builtin_convertvector`.
Messages on ``deprecated`` and ``unavailable`` Attributes
=========================================================
@@ -1324,6 +1328,8 @@ indices specified.
Query for this feature with ``__has_builtin(__builtin_shufflevector)``.
+.. _langext-__builtin_convertvector:
+
``__builtin_convertvector``
---------------------------
More information about the cfe-commits
mailing list