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

Unified Diff: native_client_sdk/doc_generated/reference/pnacl-bitcode-abi.html

Issue 938673003: [NaClDocs] Add documentation for the PNaCl fabs intrinsic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | native_client_sdk/src/doc/reference/pnacl-bitcode-abi.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/doc_generated/reference/pnacl-bitcode-abi.html
diff --git a/native_client_sdk/doc_generated/reference/pnacl-bitcode-abi.html b/native_client_sdk/doc_generated/reference/pnacl-bitcode-abi.html
index 6453709c6073dd8197b6db918d5831fd0671adbb..6367b419585ae125b91a4d6b28992ddd847f9b15 100644
--- a/native_client_sdk/doc_generated/reference/pnacl-bitcode-abi.html
+++ b/native_client_sdk/doc_generated/reference/pnacl-bitcode-abi.html
@@ -327,15 +327,23 @@ argument types: i16, i32, i64 (the types supported by C-style GCC builtins).</p>
<li><code>llvm.ctlz</code></li>
<li><code>llvm.cttz</code></li>
<li><p class="first"><code>llvm.ctpop</code></p>
-<p>The overloaded llvm.ctlz, llvm.cttz, and llvm.ctpop intrinsics are only
-supported with the i32 and i64 argument types (the types supported by
-C-style GCC builtins).</p>
+<p>The overloaded <code>llvm.ctlz</code>, <code>llvm.cttz</code>, and <code>llvm.ctpop</code> intrinsics
+are only supported with the i32 and i64 argument types (the types
+supported by C-style GCC builtins).</p>
+</li>
+<li><p class="first"><code>llvm.fabs</code></p>
+<p>The overloaded <code>llvm.fabs</code> intrinsic is supported for float, double and
+<code>&lt;4 x float&gt;</code> argument types. It returns the absolute value of
+the argument. Some notable points: it returns <code>+0.0</code> when given <code>-0.0</code>,
+<code>+inf</code> when given <code>-inf</code>, and a positive <code>NaN</code> when given any
+signed <code>NaN</code>.</p>
+<p>NOTE: This intrinsic was introduced in the pepper_42 SDK.</p>
</li>
<li><p class="first"><code>llvm.sqrt</code></p>
<p>The overloaded <code>llvm.sqrt</code> intrinsic is only supported for float
and double arguments types. This has the same semantics as the libc
-sqrt function, returning NaN for values less than -0.0. However, this
-does not set <code>errno</code> when the result is NaN (see the
+sqrt function, returning <code>NaN</code> for values less than <code>-0.0</code>.
+However, this does not set <code>errno</code> when the result is NaN (see the
<a class="reference internal" href="#ir-and-errno"><em>instructions and errno</em></a> section).</p>
</li>
<li><code>llvm.stacksave</code></li>
« no previous file with comments | « no previous file | native_client_sdk/src/doc/reference/pnacl-bitcode-abi.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698