From ec6cb6115ff9061380385b7cfce26e2e6bcad8a0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 16 Jan 2006 22:38:59 +0000 Subject: [PATCH] like bswap, the ct* intrinsics require unsigned operands git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25373 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 52 +++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index be4725ce101..7d308c46490 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -147,8 +147,8 @@
  • 'llvm.memcpy' Intrinsic
  • 'llvm.memmove' Intrinsic
  • 'llvm.memset' Intrinsic
  • -
  • 'llvm.isunordered' Intrinsic
  • -
  • 'llvm.sqrt' Intrinsic
  • +
  • 'llvm.isunordered.*' Intrinsic
  • +
  • 'llvm.sqrt.*' Intrinsic
  • @@ -3429,7 +3429,7 @@ false.
    - 'llvm.sqrt' Intrinsic + 'llvm.sqrt.*' Intrinsic
    @@ -3485,9 +3485,9 @@ These allow efficient code generation for some algorithms.
    Syntax:
    -  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>)
     
    Overview:
    @@ -3501,11 +3501,11 @@ in the target's native byte order.
    Semantics:

    -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 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 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 llvm.bswap.i64 intrinsic extends this concept to 64 bits.

    @@ -3520,24 +3520,24 @@ to 64 bits.
    Syntax:
    -  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>)
     
    Overview:

    -The 'llvm.ctpop' family of intrinsics counts the number of ones in a -variable. +The 'llvm.ctpop' family of intrinsics counts the number of bits set in a +value.

    Arguments:

    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.

    Semantics:
    @@ -3556,10 +3556,10 @@ The 'llvm.ctpop' intrinsic counts the 1's in a variable.
    Syntax:
    -  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>)
     
    Overview:
    @@ -3573,7 +3573,7 @@ leading zeros in a variable.

    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.

    Semantics:
    @@ -3596,10 +3596,10 @@ of src. For example, llvm.cttz(int 2) = 30.
    Syntax:
    -  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>)
     
    Overview:
    @@ -3613,7 +3613,7 @@ trailing zeros.

    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.

    Semantics: