[llvm-commits] [llvm] r131921 - /llvm/trunk/docs/LangRef.html

Nick Lewycky nicholas at mxc.ca
Mon May 23 22:10:10 PDT 2011


Dan Gohman wrote:
> Author: djg
> Date: Mon May 23 16:13:03 2011
> New Revision: 131921
>
> URL: http://llvm.org/viewvc/llvm-project?rev=131921&view=rev
> Log:
> Document llvm.exp and llvm.pow.

But you added llvm.exp and llvm.log ...

>
> Modified:
>      llvm/trunk/docs/LangRef.html
>
> Modified: llvm/trunk/docs/LangRef.html
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=131921&r1=131920&r2=131921&view=diff
> ==============================================================================
> --- llvm/trunk/docs/LangRef.html (original)
> +++ llvm/trunk/docs/LangRef.html Mon May 23 16:13:03 2011
> @@ -239,6 +239,8 @@
>             <li><a href="#int_sin">'<tt>llvm.sin.*</tt>' Intrinsic</a></li>
>             <li><a href="#int_cos">'<tt>llvm.cos.*</tt>' Intrinsic</a></li>
>             <li><a href="#int_pow">'<tt>llvm.pow.*</tt>' Intrinsic</a></li>
> +<li><a href="#int_pow">'<tt>llvm.exp.*</tt>' Intrinsic</a></li>
> +<li><a href="#int_pow">'<tt>llvm.log.*</tt>' Intrinsic</a></li>

... then linked them both to #int_pow? Which doesn't exist?

Nick

>           </ol>
>         </li>
>         <li><a href="#int_manip">Bit Manipulation Intrinsics</a>
> @@ -6497,6 +6499,72 @@
>
>   </div>
>
> +<!-- _______________________________________________________________________ -->
> +<h4>
> +<a name="int_exp">'<tt>llvm.exp.*</tt>' Intrinsic</a>
> +</h4>
> +
> +<div>
> +
> +<h5>Syntax:</h5>
> +<p>This is an overloaded intrinsic. You can use<tt>llvm.exp</tt>  on any
> +   floating point or vector of floating point type. Not all targets support all
> +   types however.</p>
> +
> +<pre>
> +  declare float     @llvm.exp.f32(float  %Val)
> +  declare double    @llvm.exp.f64(double %Val)
> +  declare x86_fp80  @llvm.exp.f80(x86_fp80  %Val)
> +  declare fp128     @llvm.exp.f128(fp128 %Val)
> +  declare ppc_fp128 @llvm.exp.ppcf128(ppc_fp128  %Val)
> +</pre>
> +
> +<h5>Overview:</h5>
> +<p>The '<tt>llvm.exp.*</tt>' intrinsics perform the exp function.</p>
> +
> +<h5>Arguments:</h5>
> +<p>The argument and return value are floating point numbers of the same
> +   type.</p>
> +
> +<h5>Semantics:</h5>
> +<p>This function returns the same values as the libm<tt>exp</tt>  functions
> +   would, and handles error conditions in the same way.</p>
> +
> +</div>
> +
> +<!-- _______________________________________________________________________ -->
> +<h4>
> +<a name="int_log">'<tt>llvm.log.*</tt>' Intrinsic</a>
> +</h4>
> +
> +<div>
> +
> +<h5>Syntax:</h5>
> +<p>This is an overloaded intrinsic. You can use<tt>llvm.log</tt>  on any
> +   floating point or vector of floating point type. Not all targets support all
> +   types however.</p>
> +
> +<pre>
> +  declare float     @llvm.log.f32(float  %Val)
> +  declare double    @llvm.log.f64(double %Val)
> +  declare x86_fp80  @llvm.log.f80(x86_fp80  %Val)
> +  declare fp128     @llvm.log.f128(fp128 %Val)
> +  declare ppc_fp128 @llvm.log.ppcf128(ppc_fp128  %Val)
> +</pre>
> +
> +<h5>Overview:</h5>
> +<p>The '<tt>llvm.log.*</tt>' intrinsics perform the log function.</p>
> +
> +<h5>Arguments:</h5>
> +<p>The argument and return value are floating point numbers of the same
> +   type.</p>
> +
> +<h5>Semantics:</h5>
> +<p>This function returns the same values as the libm<tt>log</tt>  functions
> +   would, and handles error conditions in the same way.</p>
> +
> +</div>
> +
>   <!-- ======================================================================= -->
>   <h3>
>     <a name="int_manip">Bit Manipulation Intrinsics</a>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list