Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1758)

Unified Diff: native_client_sdk/src/doc/reference/pnacl-bitcode-abi.rst

Issue 265163004: NaCl documentation: update vector documentation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/doc/reference/pnacl-bitcode-abi.rst
diff --git a/native_client_sdk/src/doc/reference/pnacl-bitcode-abi.rst b/native_client_sdk/src/doc/reference/pnacl-bitcode-abi.rst
index 0f2740f34f24bc449cb43dcc660c6f1b0cde2985..1ffe5bf25c274cbe32b1078579914618f025510e 100644
--- a/native_client_sdk/src/doc/reference/pnacl-bitcode-abi.rst
+++ b/native_client_sdk/src/doc/reference/pnacl-bitcode-abi.rst
@@ -198,6 +198,17 @@ Scalar types
* The only integer sizes allowed for function arguments and function return
values are i32 and i64.
+Vector types
+------------
+
+The only vector types allowed are:
+
+* 128-bit vectors integers of elements size i8, i16, i32.
+* 128-bit vectors of float elements.
+* Vectors of i1 type with element counts corresponding to the allowed
+ element counts listed previously (their width is therefore not
+ 128-bits).
+
Array and struct types
----------------------
@@ -369,6 +380,8 @@ Only the LLVM instructions listed here are supported by PNaCl bitcode.
* ``select``
* ``call``
* ``unreachable``
+* ``insertelement``
+* ``extractelement``
.. _bitcode_allocainst:

Powered by Google App Engine
This is Rietveld 408576698