aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJan Voung <jvoung@chromium.org>2013-06-24 13:56:51 -0700
committerJan Voung <jvoung@chromium.org>2013-06-24 13:56:51 -0700
commitc6ab023ee092501613e452bb850aa73ba7427857 (patch)
tree8336de5d93d197215a39832b2593e1def8e8060c /docs
parent74982fb5aaa97800530c5b4d392c1e54856ae423 (diff)
Move i32/i64 cttz, ctlz, and ctpop to whitelisted intrinsics.
Disallow the other input types. BUG=https://code.google.com/p/nativeclient/issues/detail?id=3378 R=jfb@chromium.org Review URL: https://codereview.chromium.org/17613002
Diffstat (limited to 'docs')
-rw-r--r--docs/PNaClLangRef.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/PNaClLangRef.rst b/docs/PNaClLangRef.rst
index 45e4599c9d..4333bbc77f 100644
--- a/docs/PNaClLangRef.rst
+++ b/docs/PNaClLangRef.rst
@@ -339,6 +339,13 @@ TODO(jfb): atomics
The llvm.bswap intrinsic is only supported with the following argument types:
i16, i32, i64.
+* ``llvm.ctlz``
+* ``llvm.cttz``
+* ``llvm.ctpop``
+
+ The llvm.ctlz, llvm.cttz, and llvm.ctpop intrinsics only support
+ i32 and i64 argument types (the types supported by C-style GCC builtins).
+
* ``llvm.trap``
* ``llvm.nacl.read.tp``