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

Unified Diff: native_client_sdk/src/doc/reference/pnacl-undefined-behavior.rst

Issue 250433002: PNaCl documentation: add SIMD vectors. (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-undefined-behavior.rst
diff --git a/native_client_sdk/src/doc/reference/pnacl-undefined-behavior.rst b/native_client_sdk/src/doc/reference/pnacl-undefined-behavior.rst
index 30d95f91fbf2ddbc21648d30e824af3c5fcdc638..3ee94bd143ef914c5fa6698c8889797260af12e7 100644
--- a/native_client_sdk/src/doc/reference/pnacl-undefined-behavior.rst
+++ b/native_client_sdk/src/doc/reference/pnacl-undefined-behavior.rst
@@ -177,6 +177,19 @@ sources of undefined behavior which are believed to be fixable:
function implementation isn't, e.g. ``std::min`` and ``std::max``), is
well-defined in the *pexe*.
+SIMD Vectors
+^^^^^^^^^^^^
+
+SIMD vector instructions aren't specified by the C/C++ standard and as
+such their behavior isn't specified at all in C/C++, it is usually left
Derek Schuff 2014/04/24 16:06:20 maybe "SIMD vector types aren't included in the C/
JF 2014/04/24 16:16:30 Done. I went for "part of the C/C++ standards".
+up to the target architecture to specify behavior. Portable Native
+Client instead exposed :ref:`Portable SIMD Vectors
+<portable_simd_vectors>` and offers the same guarantees on these vectors
+as the guarantees offered by the contained elements. Of notable interest
+amongst these guarantees are those of alignment for load/store
+instructions on vectors: they have the same alignment restriction as the
+contained elements.
+
Hard to Fix
^^^^^^^^^^^

Powered by Google App Engine
This is Rietveld 408576698