diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-08-19 13:48:06 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-08-19 13:48:06 +0000 |
commit | 39b4dd2da7120901b1295634dfd0b457c8c173e0 (patch) | |
tree | 912269e7f150d7ebbfd59d3a134a61530d7db070 /clang/docs | |
parent | 9116f0438cee22df9e5290bf71a18203cad06559 (diff) |
revert r340135: [CodeGen] add rotate builtins
At least a couple of bots (PPC only?) are showing the compiler dying while trying to compile:
http://lab.llvm.org:8011/builders/clang-ppc64be-linux-multistage/builds/11065/steps/build%20stage%201/logs/stdio
http://lab.llvm.org:8011/builders/clang-ppc64be-linux-lnt/builds/18267/steps/build%20stage%201/logs/stdio
llvm-svn: 340136
Diffstat (limited to 'clang/docs')
-rw-r--r-- | clang/docs/LanguageExtensions.rst | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst index d562519f0ca4..1aef265a8589 100644 --- a/clang/docs/LanguageExtensions.rst +++ b/clang/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`` ------------------------- |