summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-08-19 15:31:42 +0000
committerSanjay Patel <spatel@rotateright.com>2018-08-19 15:31:42 +0000
commit6e672c87dfa10d1a96263a52cae8a0d5572754cf (patch)
tree2fe2ab90da7d1b889d4e210c5d6b85933eeeafea /docs
parent276876b8b35fb90cf33969410f06cb699365fda2 (diff)
downloadclang-6e672c87dfa10d1a96263a52cae8a0d5572754cf.tar.gz
revert r340137: [CodeGen] add rotate builtins
At least a couple of bots (gcc host compiler on PPC only?) are showing the compiler dying while trying to compile. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LanguageExtensions.rst64
1 files changed, 0 insertions, 64 deletions
diff --git a/docs/LanguageExtensions.rst b/docs/LanguageExtensions.rst
index 894b7504fd..1aef265a85 100644
--- a/docs/LanguageExtensions.rst
+++ b/docs/LanguageExtensions.rst
@@ -1739,70 +1739,6 @@ The '``__builtin_bitreverse``' family of builtins is used to reverse
the bitpattern of an integer value; for example ``0b10110110`` becomes
``0b01101101``.
-``__builtin_rotateleft``
-------------------------
-
-* ``__builtin_rotateleft8``
-* ``__builtin_rotateleft16``
-* ``__builtin_rotateleft32``
-* ``__builtin_rotateleft64``
-
-**Syntax**:
-
-.. code-block:: c++
-
- __builtin_rotateleft32(x, y)
-
-**Examples**:
-
-.. code-block:: c++
-
- uint8_t rot_x = __builtin_rotateleft8(x, y);
- uint16_t rot_x = __builtin_rotateleft16(x, y);
- uint32_t rot_x = __builtin_rotateleft32(x, y);
- uint64_t rot_x = __builtin_rotateleft64(x, y);
-
-**Description**:
-
-The '``__builtin_rotateleft``' family of builtins is used to rotate
-the bits in the first argument by the amount in the second argument.
-For example, ``0b10000110`` rotated left by 11 becomes ``0b00110100``.
-The shift value is treated as an unsigned amount modulo the size of
-the arguments. Both arguments and the result have the bitwidth specified
-by the name of the builtin.
-
-``__builtin_rotateright``
-_------------------------
-
-* ``__builtin_rotateright8``
-* ``__builtin_rotateright16``
-* ``__builtin_rotateright32``
-* ``__builtin_rotateright64``
-
-**Syntax**:
-
-.. code-block:: c++
-
- __builtin_rotateright32(x, y)
-
-**Examples**:
-
-.. code-block:: c++
-
- uint8_t rot_x = __builtin_rotateright8(x, y);
- uint16_t rot_x = __builtin_rotateright16(x, y);
- uint32_t rot_x = __builtin_rotateright32(x, y);
- uint64_t rot_x = __builtin_rotateright64(x, y);
-
-**Description**:
-
-The '``__builtin_rotateright``' family of builtins is used to rotate
-the bits in the first argument by the amount in the second argument.
-For example, ``0b10000110`` rotated right by 3 becomes ``0b11010000``.
-The shift value is treated as an unsigned amount modulo the size of
-the arguments. Both arguments and the result have the bitwidth specified
-by the name of the builtin.
-
``__builtin_unreachable``
-------------------------