Author: davezarzycki
Date: Tue Aug 20 23:48:11 2019
New Revision: 369496

URL: http://llvm.org/viewvc/llvm-project?rev=369496&view=rev
Log:
[PPC Docs] Remove duplicate info about __builtin_setrnd()

This looks like a combination of a copy-and-paste (and paste and paste)
error and a commit without reviewing the diff first error.

Modified:
    cfe/trunk/docs/LanguageExtensions.rst

Modified: cfe/trunk/docs/LanguageExtensions.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/LanguageExtensions.rst?rev=369496&r1=369495&r2=369496&view=diff
==============================================================================
--- cfe/trunk/docs/LanguageExtensions.rst (original)
+++ cfe/trunk/docs/LanguageExtensions.rst Tue Aug 20 23:48:11 2019
@@ -2859,55 +2859,7 @@ PowerPC Language Extensions
 ------------------------------
 
 Set the Floating Point Rounding Mode
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-PowerPC64/PowerPC64le supports the builtin function ``__builtin_setrnd`` to set
-the floating point rounding mode. This function will use the least significant
-two bits of integer argument to set the floating point rounding mode.
-
-.. code-block:: c++
-
-  double __builtin_setrnd(int mode);
-
-The effective values for mode are:
-
-    - 0 - round to nearest
-    - 1 - round to zero
-    - 2 - round to +infinity
-    - 3 - round to -infinity
-
-Note that the mode argument will modulo 4, so if the int argument is greater
-than 3, it will only use the least significant two bits of the mode.
-Namely, ``__builtin_setrnd(102))`` is equal to ``__builtin_setrnd(2)``.
-
-PowerPC Language Extensions
-------------------------------
-
-Set the Floating Point Rounding Mode
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-PowerPC64/PowerPC64le supports the builtin function ``__builtin_setrnd`` to set
-the floating point rounding mode. This function will use the least significant
-two bits of integer argument to set the floating point rounding mode.
-
-.. code-block:: c++
-
-  double __builtin_setrnd(int mode);
-
-The effective values for mode are:
-
-    - 0 - round to nearest
-    - 1 - round to zero
-    - 2 - round to +infinity
-    - 3 - round to -infinity
-
-Note that the mode argument will modulo 4, so if the integer argument is 
greater
-than 3, it will only use the least significant two bits of the mode.
-Namely, ``__builtin_setrnd(102))`` is equal to ``__builtin_setrnd(2)``.
-
-PowerPC Language Extensions
-------------------------------
-
-Set the Floating Point Rounding Mode
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 PowerPC64/PowerPC64le supports the builtin function ``__builtin_setrnd`` to set
 the floating point rounding mode. This function will use the least significant
 two bits of integer argument to set the floating point rounding mode.


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to