summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2007-10-02 17:47:38 +0000
committerDale Johannesen <dalej@apple.com>2007-10-02 17:47:38 +0000
commitdd89d2758eed53b5800fa666a1f1f50c25c9b772 (patch)
treecd9ee562c6408709dc8a641eee46807c1e59bc28
parent4d4e77af8e9601d022aa4c5dc772d6c0d569eaac (diff)
downloadbcm5719-llvm-dd89d2758eed53b5800fa666a1f1f50c25c9b772.tar.gz
bcm5719-llvm-dd89d2758eed53b5800fa666a1f1f50c25c9b772.zip
Document new sqrt and powi handling.
llvm-svn: 42540
-rw-r--r--llvm/docs/LangRef.html18
1 files changed, 14 insertions, 4 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html
index fcbbde14807..34060583ca0 100644
--- a/llvm/docs/LangRef.html
+++ b/llvm/docs/LangRef.html
@@ -4484,9 +4484,14 @@ this can be specified as the fourth argument, otherwise it should be set to 0 or
<div class="doc_text">
<h5>Syntax:</h5>
+<p>This is an overloaded intrinsic. You can use <tt>llvm.sqrt</tt> on any
+floating point type. Not all targets support all types however.
<pre>
- declare float @llvm.sqrt.f32(float %Val)
- declare double @llvm.sqrt.f64(double %Val)
+ declare float @llvm.sqrt.f32(float %Val)
+ declare double @llvm.sqrt.f64(double %Val)
+ declare x86_fp80 @llvm.sqrt.f80(x86_fp80 %Val)
+ declare fp128 @llvm.sqrt.f128(fp128 %Val)
+ declare ppc_fp128 @llvm.sqrt.ppcf128(ppc_fp128 %Val)
</pre>
<h5>Overview:</h5>
@@ -4520,9 +4525,14 @@ floating point number.
<div class="doc_text">
<h5>Syntax:</h5>
+<p>This is an overloaded intrinsic. You can use <tt>llvm.powi</tt> on any
+floating point type. Not all targets support all types however.
<pre>
- declare float @llvm.powi.f32(float %Val, i32 %power)
- declare double @llvm.powi.f64(double %Val, i32 %power)
+ declare float @llvm.powi.f32(float %Val, i32 %power)
+ declare double @llvm.powi.f64(double %Val, i32 %power)
+ declare x86_fp80 @llvm.powi.f80(x86_fp80 %Val, i32 %power)
+ declare fp128 @llvm.powi.f128(fp128 %Val, i32 %power)
+ declare ppc_fp128 @llvm.powi.ppcf128(ppc_fp128 %Val, i32 %power)
</pre>
<h5>Overview:</h5>
OpenPOWER on IntegriCloud