From f4d252dc3acd29af03f7825716a8361585b5f432 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 8 Sep 2006 06:34:02 +0000 Subject: [PATCH] new powi intrinsic git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30175 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 42 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index 0cfd533c25e..232b4683323 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -156,7 +156,7 @@
  • 'llvm.memset.*' Intrinsic
  • 'llvm.isunordered.*' Intrinsic
  • 'llvm.sqrt.*' Intrinsic
  • - +
  • 'llvm.powi.*' Intrinsic
  • Bit Manipulation Intrinsics @@ -3630,8 +3630,8 @@ false.
    Syntax:
    -  declare double %llvm.sqrt.f32(float Val)
    -  declare double %llvm.sqrt.f64(double Val)
    +  declare float %llvm.sqrt.f32(float %Val)
    +  declare double %llvm.sqrt.f64(double %Val)
     
    Overview:
    @@ -3657,6 +3657,42 @@ floating point number.

    + + + +
    + +
    Syntax:
    +
    +  declare float  %llvm.powi.f32(float  %Val, int %power)
    +  declare double %llvm.powi.f64(double %Val, int %power)
    +
    + +
    Overview:
    + +

    +The 'llvm.powi.*' intrinsics return the first operand raised to the +specified (positive or negative) power. The order of evaluation of +multiplications is not defined. +

    + +
    Arguments:
    + +

    +The second argument is an integer power, and the first is a value to raise to +that power. +

    + +
    Semantics:
    + +

    +This function returns the first value raised to the second power with an +unspecified sequence of rounding operations.

    +
    + +