From beacf66d3f00c09b2ef1c77f86d9715fb891dacc Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 10 Apr 2007 02:51:31 +0000 Subject: Fix name of an intrinsic: bit.part_select -> part.select git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35853 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'docs') diff --git a/docs/LangRef.html b/docs/LangRef.html index 17c67f3bd0..56f6b86411 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -184,7 +184,7 @@
  • 'llvm.ctpop.*' Intrinsic
  • 'llvm.ctlz.*' Intrinsic
  • 'llvm.cttz.*' Intrinsic
  • -
  • 'llvm.bit.part_select.*' Intrinsic
  • +
  • 'llvm.part_select.*' Intrinsic
  • Debugger intrinsics
  • @@ -4590,21 +4590,21 @@ of src. For example, llvm.cttz(2) = 1.
    - 'llvm.bit.part_select.*' Intrinsic + 'llvm.part.select.*' Intrinsic
    Syntax:
    -

    This is an overloaded intrinsic. You can use llvm.bit.part_select +

    This is an overloaded intrinsic. You can use llvm.part.select on any integer bit width.

    -  declare i17 @llvm.bit.part_select.i17.i17 (i17 %val, i32 %loBit, i32 %hiBit)
    -  declare i29 @llvm.bit.part_select.i29.i29 (i29 %val, i32 %loBit, i32 %hiBit)
    +  declare i17 @llvm.part.select.i17.i17 (i17 %val, i32 %loBit, i32 %hiBit)
    +  declare i29 @llvm.part.select.i29.i29 (i29 %val, i32 %loBit, i32 %hiBit)
     
    Overview:
    -

    The 'llvm.bit.part_select' family of intrinsic functions selects a +

    The 'llvm.part.select' family of intrinsic functions selects a range of bits from an integer value and returns them in the same bit width as the original value.

    @@ -4614,7 +4614,7 @@ any bit width but they must have the same bit width. The second and third arguments must be i32 type since they specify only a bit index.

    Semantics:
    -

    The operation of the 'llvm.bit.part_select' intrinsic has two modes +

    The operation of the 'llvm.part.select' intrinsic has two modes of operation: forwards and reverse. If %loBit is greater than %hiBits then the intrinsic operates in reverse mode. Otherwise it operates in forward mode.

    @@ -4632,11 +4632,11 @@ only the %hiBit - %loBit bits set, as follows:

    In reverse mode, a similar computation is made except that:

    1. The bits selected wrap around to include both the highest and lowest bits. - For example, part_select(i16 X, 4, 7) selects bits from X with a mask of - 0x00F0 (forwards case) while part_select(i16 X, 8, 3) selects bits from X + For example, part.select(i16 X, 4, 7) selects bits from X with a mask of + 0x00F0 (forwards case) while part.select(i16 X, 8, 3) selects bits from X with a mask of 0xFF0F.
    2. The bits returned in the reverse case are reversed. So, if X has the value - 0x6ACF and we apply part_select(i16 X, 8, 3) to it, we get back the value + 0x6ACF and we apply part.select(i16 X, 8, 3) to it, we get back the value 0x0A6F.
    -- cgit v1.2.3