[llvm-commits] CVS: llvm/docs/LangRef.html

Chris Lattner lattner at cs.uiuc.edu
Mon Jan 16 14:39:11 PST 2006



Changes in directory llvm/docs:

LangRef.html updated: 1.130 -> 1.131
---
Log message:

like bswap, the ct* intrinsics require unsigned operands


---
Diffs of the changes:  (+27 -27)

 LangRef.html |   54 +++++++++++++++++++++++++++---------------------------
 1 files changed, 27 insertions(+), 27 deletions(-)


Index: llvm/docs/LangRef.html
diff -u llvm/docs/LangRef.html:1.130 llvm/docs/LangRef.html:1.131
--- llvm/docs/LangRef.html:1.130	Mon Jan 16 16:34:14 2006
+++ llvm/docs/LangRef.html	Mon Jan 16 16:38:59 2006
@@ -147,8 +147,8 @@
           <li><a href="#i_memcpy">'<tt>llvm.memcpy</tt>' Intrinsic</a></li>
           <li><a href="#i_memmove">'<tt>llvm.memmove</tt>' Intrinsic</a></li>
           <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_isunordered">'<tt>llvm.isunordered.*</tt>' Intrinsic</a></li>
+          <li><a href="#i_sqrt">'<tt>llvm.sqrt.*</tt>' Intrinsic</a></li>
 
         </ol>
       </li>
@@ -3429,7 +3429,7 @@
 
 <!-- _______________________________________________________________________ -->
 <div class="doc_subsubsection">
-  <a name="i_sqrt">'<tt>llvm.sqrt</tt>' Intrinsic</a>
+  <a name="i_sqrt">'<tt>llvm.sqrt.*</tt>' Intrinsic</a>
 </div>
 
 <div class="doc_text">
@@ -3485,9 +3485,9 @@
 
 <h5>Syntax:</h5>
 <pre>
-  declare ushort %llvm.bswap.i16( ushort <id> )
-  declare uint %llvm.bswap.i32( uint <id> )
-  declare ulong %llvm.bswap.i64( ulong <id> )
+  declare ushort %llvm.bswap.i16(ushort <id>)
+  declare uint   %llvm.bswap.i32(uint <id>)
+  declare ulong  %llvm.bswap.i64(ulong <id>)
 </pre>
 
 <h5>Overview:</h5>
@@ -3501,11 +3501,11 @@
 <h5>Semantics:</h5>
 
 <p>
-The llvm.bswap.16 intrinsic returns a ushort value that has the high and low
-byte of the input ushort swapped.  Similarly, the llvm.bswap.i32 intrinsic
+The <tt>llvm.bswap.16</tt> intrinsic returns a ushort value that has the high and low
+byte of the input ushort swapped.  Similarly, the <tt>llvm.bswap.i32</tt> intrinsic
 returns a uint value that has the four bytes of the input uint swapped, so that 
 if the input bytes are numbered 0, 1, 2, 3 then the returned uint will have its
-bytes in 3, 2, 1, 0 order.  The llvm.bswap.i64 intrinsic extends this concept
+bytes in 3, 2, 1, 0 order.  The <tt>llvm.bswap.i64</tt> intrinsic extends this concept
 to 64 bits.
 </p>
 
@@ -3520,24 +3520,24 @@
 
 <h5>Syntax:</h5>
 <pre>
-  declare sbyte %llvm.ctpop.i8(sbyte <src>)
-  declare short %llvm.ctpop.i16(short <src>)
-  declare int   %llvm.ctpop.i32(int <src>)
-  declare long  %llvm.ctpop.i64(long <src>)
+  declare ubyte  %llvm.ctpop.i8 (ubyte <src>)
+  declare ushort %llvm.ctpop.i16(ushort <src>)
+  declare uint   %llvm.ctpop.i32(uint <src>)
+  declare ulong  %llvm.ctpop.i64(ulong <src>)
 </pre>
 
 <h5>Overview:</h5>
 
 <p>
-The '<tt>llvm.ctpop</tt>' family of intrinsics counts the number of ones in a 
-variable.
+The '<tt>llvm.ctpop</tt>' family of intrinsics counts the number of bits set in a 
+value.
 </p>
 
 <h5>Arguments:</h5>
 
 <p>
 The only argument is the value to be counted.  The argument may be of any
-integer type.  The return type must match the argument type.
+unsigned integer type.  The return type must match the argument type.
 </p>
 
 <h5>Semantics:</h5>
@@ -3556,10 +3556,10 @@
 
 <h5>Syntax:</h5>
 <pre>
-  declare sbyte %llvm.ctlz.i8(sbyte <src>)
-  declare short %llvm.ctlz.i16(short <src>)
-  declare int   %llvm.ctlz.i32(int <src>)
-  declare long  %llvm.ctlz.i64(long <src>)
+  declare ubyte  %llvm.ctlz.i8 (ubyte <src>)
+  declare ushort %llvm.ctlz.i16(ushort <src>)
+  declare uint   %llvm.ctlz.i32(uint <src>)
+  declare ulong  %llvm.ctlz.i64(ulong <src>)
 </pre>
 
 <h5>Overview:</h5>
@@ -3573,7 +3573,7 @@
 
 <p>
 The only argument is the value to be counted.  The argument may be of any
-integer type. The return type must match the argument type.
+unsigned integer type. The return type must match the argument type.
 </p>
 
 <h5>Semantics:</h5>
@@ -3596,10 +3596,10 @@
 
 <h5>Syntax:</h5>
 <pre>
-  declare sbyte %llvm.cttz.i8(sbyte <src>)
-  declare short %llvm.cttz.i16(short <src>)
-  declare int   %llvm.cttz.i32(int <src>)
-  declare long  %llvm.cttz.i64(long <src>)
+  declare ubyte  %llvm.cttz.i8 (ubyte <src>)
+  declare ushort %llvm.cttz.i16(ushort <src>)
+  declare uint   %llvm.cttz.i32(uint <src>)
+  declare ulong  %llvm.cttz.i64(ulong <src>)
 </pre>
 
 <h5>Overview:</h5>
@@ -3613,7 +3613,7 @@
 
 <p>
 The only argument is the value to be counted.  The argument may be of any
-integer type.  The return type must match the argument type.
+unsigned integer type.  The return type must match the argument type.
 </p>
 
 <h5>Semantics:</h5>
@@ -3650,7 +3650,7 @@
 
   <a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
   <a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a><br>
-  Last modified: $Date: 2006/01/16 22:34:14 $
+  Last modified: $Date: 2006/01/16 22:38:59 $
 </address>
 </body>
 </html>






More information about the llvm-commits mailing list