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

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: Created 6 years, 8 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..a5a6a5666894166ef5b1f31228f3c5f0a8de9479 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,14 @@ 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, and float. Vectors of i1 type are allowed with
+element counts corresponding to the allowed element counts listed
+previously (their width is therefore not 128-bits).
Karl 2014/05/05 19:49:40 Isn't this last sentence a contraction of the firs
JF 2014/05/05 23:12:49 Updated to be clearer.
+
Array and struct types
----------------------
@@ -369,6 +377,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