diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-01-31 00:09:00 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-01-31 00:09:00 +0000 |
commit | e932091eb5e17511e0db975811fc5aaf038b7be3 (patch) | |
tree | e48df00a4fb226454a4136aba8109f9cd13b8eef /docs | |
parent | 4b4b8088609c501da779a3de6ab3d98670dc20c4 (diff) | |
download | llvm-e932091eb5e17511e0db975811fc5aaf038b7be3.tar.gz llvm-e932091eb5e17511e0db975811fc5aaf038b7be3.tar.bz2 llvm-e932091eb5e17511e0db975811fc5aaf038b7be3.tar.xz |
Allow speculating llvm.sqrt, fma and fmuladd
This doesn't set errno, so this should be OK.
Also update the documentation to explicitly state
that errno are not set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LangRef.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/LangRef.rst b/docs/LangRef.rst index d1eaee16a6..62ce112d57 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -7490,7 +7490,7 @@ Semantics: """""""""" This function returns the same values as the libm ``fma`` functions -would. +would, and does not set errno. '``llvm.fabs.*``' Intrinsic ^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -8298,7 +8298,8 @@ 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 llvm.fma.\* intrinsic function should be used instead. +corresponding llvm.fma.\* intrinsic function should be used +instead. This never sets errno, just as '``llvm.fma.*``'. Examples: """"""""" |