[llvm] r372892 - [LangRef] Clarify absence of rounding guarantees for fmuladd.
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 09:09:24 PDT 2019
Author: fhahn
Date: Wed Sep 25 09:09:24 2019
New Revision: 372892
URL: http://llvm.org/viewvc/llvm-project?rev=372892&view=rev
Log:
[LangRef] Clarify absence of rounding guarantees for fmuladd.
During the review of D67434, it was recommended to make fmuladd's
behavior more explicit. D67434 depends on this interpretation.
Reviewers: efriedma, jfb, reames, scanon, lebedev.ri, spatel
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D67552
Modified:
llvm/trunk/docs/LangRef.rst
Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=372892&r1=372891&r2=372892&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Wed Sep 25 09:09:24 2019
@@ -13959,12 +13959,12 @@ The expression:
%0 = call float @llvm.fmuladd.f32(%a, %b, %c)
-is equivalent to the expression a \* b + c, except that rounding will
-not be performed between the multiplication and addition steps if the
-code generator fuses the operations. Fusion is not guaranteed, even if
-the target platform supports it. If a fused multiply-add is required, the
-corresponding :ref:`llvm.fma <int_fma>` intrinsic function should be used
-instead. This never sets errno, just as '``llvm.fma.*``'.
+is equivalent to the expression a \* b + c, except that it is unspecified
+whether rounding will be performed between the multiplication and addition
+steps. Fusion is not guaranteed, even if the target platform supports it.
+If a fused multiply-add is required, the corresponding
+:ref:`llvm.fma <int_fma>` intrinsic function should be used instead.
+This never sets errno, just as '``llvm.fma.*``'.
Examples:
"""""""""
More information about the llvm-commits
mailing list