mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-04 18:09:20 +00:00
Fix runaway <tt> element and section ordering.
llvm-svn: 31606
This commit is contained in:
parent
31c63cb092
commit
9456e29646
@ -2742,6 +2742,44 @@ If the <tt>value</tt> was non-zero, the bool result will be <tt>true</tt>.</p>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<!-- _______________________________________________________________________ -->
|
||||
<div class="doc_subsubsection">
|
||||
<a name="i_fptrunc">'<tt>fptrunc .. to</tt>' Instruction</a>
|
||||
</div>
|
||||
|
||||
<div class="doc_text">
|
||||
|
||||
<h5>Syntax:</h5>
|
||||
|
||||
<pre>
|
||||
<result> = fptrunc <ty> <value> to <ty2> <i>; yields ty2</i>
|
||||
</pre>
|
||||
|
||||
<h5>Overview:</h5>
|
||||
<p>The '<tt>fptrunc</tt>' instruction truncates <tt>value</tt> to type
|
||||
<tt>ty2</tt>.</p>
|
||||
|
||||
|
||||
<h5>Arguments:</h5>
|
||||
<p>The '<tt>fptrunc</tt>' instruction takes a <a href="#t_floating">floating
|
||||
point</a> value to cast and a <a href="#t_floating">floating point</a> type to
|
||||
cast it to. The size of <tt>value</tt> must be larger than the size of
|
||||
<tt>ty2</tt>. This implies that <tt>fptrunc</tt> cannot be used to make a
|
||||
<i>no-op cast</i>.</p>
|
||||
|
||||
<h5>Semantics:</h5>
|
||||
<p> The '<tt>fptrunc</tt>' instruction converts a
|
||||
<a href="#t_floating">floating point</a> value from a larger type to a smaller
|
||||
type. If the value cannot fit within the destination type, <tt>ty2</tt>, then
|
||||
the results are undefined.</p>
|
||||
|
||||
<h5>Example:</h5>
|
||||
<pre>
|
||||
%X = fptrunc double 123.0 to float <i>; yields float:123.0</i>
|
||||
%Y = fptrunc double 1.0E+300 to float <i>; yields undefined</i>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<!-- _______________________________________________________________________ -->
|
||||
<div class="doc_subsubsection">
|
||||
<a name="i_fpext">'<tt>fpext .. to</tt>' Instruction</a>
|
||||
@ -2775,44 +2813,6 @@ change.</p>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<!-- _______________________________________________________________________ -->
|
||||
<div class="doc_subsubsection">
|
||||
<a name="i_fptrunc">'<tt>fptrunc .. to</tt>' Instruction</a>
|
||||
</div>
|
||||
|
||||
<div class="doc_text">
|
||||
|
||||
<h5>Syntax:</h5>
|
||||
|
||||
<pre>
|
||||
<result> = fptrunc <ty> <value> to <ty2> <i>; yields ty2</i>
|
||||
</pre>
|
||||
|
||||
<h5>Overview:</h5>
|
||||
<p>The '<tt>fptrunc</tt>' instruction truncates <tt>value</tt> to type
|
||||
<tt>ty2</tt>.</p>
|
||||
|
||||
|
||||
<h5>Arguments:</h5>
|
||||
<p>The '<tt>fptrunc</tt>' instruction takes a <a href="#t_floating">floating
|
||||
point</a> value to cast and a <a href="#t_floating">floating point</a> type to
|
||||
cast it to. The size of <tt>value</tt> must be larger than the size of
|
||||
<tt>ty2</a>. This implies that <tt>fptrunc</tt> cannot be used to make a
|
||||
<i>no-op cast</i>.</p>
|
||||
|
||||
<h5>Semantics:</h5>
|
||||
<p> The '<tt>fptrunc</tt>' instruction converts a
|
||||
<a href="#t_floating">floating point</a> value from a larger type to a smaller
|
||||
type. If the value cannot fit within the destination type, <tt>ty2</tt>, then
|
||||
the results are undefined.</p>
|
||||
|
||||
<h5>Example:</h5>
|
||||
<pre>
|
||||
%X = fptrunc double 123.0 to float <i>; yields float:123.0</i>
|
||||
%Y = fptrunc double 1.0E+300 to float <i>; yields undefined</i>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<!-- _______________________________________________________________________ -->
|
||||
<div class="doc_subsubsection">
|
||||
<a name="i_fp2uint">'<tt>fp2uint .. to</tt>' Instruction</a>
|
||||
|
Loading…
Reference in New Issue
Block a user