aboutsummaryrefslogtreecommitdiffstats
path: root/docs/LangRef.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-08 06:34:02 +0000
committerChris Lattner <sabre@nondot.org>2006-09-08 06:34:02 +0000
commitf4d252dc3acd29af03f7825716a8361585b5f432 (patch)
treed372dd0a32fb2ebb7960a829e897d13f646c89d1 /docs/LangRef.html
parent6fe6084ebfa583fbbfbb971fca1d90de79ddb33f (diff)
downloadexternal_llvm-f4d252dc3acd29af03f7825716a8361585b5f432.zip
external_llvm-f4d252dc3acd29af03f7825716a8361585b5f432.tar.gz
external_llvm-f4d252dc3acd29af03f7825716a8361585b5f432.tar.bz2
new powi intrinsic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30175 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LangRef.html')
-rw-r--r--docs/LangRef.html42
1 files changed, 39 insertions, 3 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 0cfd533..232b468 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -156,7 +156,7 @@
<li><a href="#i_memset">'<tt>llvm.memset.*</tt>' Intrinsic</a></li>
<li><a href="#i_isunordered">'<tt>llvm.isunordered.*</tt>' Intrinsic</a></li>
<li><a href="#i_sqrt">'<tt>llvm.sqrt.*</tt>' Intrinsic</a></li>
-
+ <li><a href="#i_powi">'<tt>llvm.powi.*</tt>' Intrinsic</a></li>
</ol>
</li>
<li><a href="#int_manip">Bit Manipulation Intrinsics</a>
@@ -3630,8 +3630,8 @@ false.
<h5>Syntax:</h5>
<pre>
- declare double %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)
</pre>
<h5>Overview:</h5>
@@ -3657,6 +3657,42 @@ floating point number.
</p>
</div>
+<!-- _______________________________________________________________________ -->
+<div class="doc_subsubsection">
+ <a name="i_powi">'<tt>llvm.powi.*</tt>' Intrinsic</a>
+</div>
+
+<div class="doc_text">
+
+<h5>Syntax:</h5>
+<pre>
+ declare float %llvm.powi.f32(float %Val, int %power)
+ declare double %llvm.powi.f64(double %Val, int %power)
+</pre>
+
+<h5>Overview:</h5>
+
+<p>
+The '<tt>llvm.powi.*</tt>' intrinsics return the first operand raised to the
+specified (positive or negative) power. The order of evaluation of
+multiplications is not defined.
+</p>
+
+<h5>Arguments:</h5>
+
+<p>
+The second argument is an integer power, and the first is a value to raise to
+that power.
+</p>
+
+<h5>Semantics:</h5>
+
+<p>
+This function returns the first value raised to the second power with an
+unspecified sequence of rounding operations.</p>
+</div>
+
+
<!-- ======================================================================= -->
<div class="doc_subsection">
<a name="int_manip">Bit Manipulation Intrinsics</a>