diff options
| author | Florian Hahn <flo@fhahn.com> | 2019-09-25 16:09:24 +0000 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2019-09-25 16:09:24 +0000 |
| commit | 6b3749f6968f0c22be821115462d551a0a780fc6 (patch) | |
| tree | eff1cdfdd0969142483ab54be2385ce7880c559f /llvm/docs/LangRef.rst | |
| parent | 7fa72881d4cbf3b0cbd1fc42f5c8d8e5ea64b9db (diff) | |
| download | bcm5719-llvm-6b3749f6968f0c22be821115462d551a0a780fc6.tar.gz bcm5719-llvm-6b3749f6968f0c22be821115462d551a0a780fc6.zip | |
[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
llvm-svn: 372892
Diffstat (limited to 'llvm/docs/LangRef.rst')
| -rw-r--r-- | llvm/docs/LangRef.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index a38356aa27e..ac1db593ac8 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -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: """"""""" |

