From f4d252dc3acd29af03f7825716a8361585b5f432 Mon Sep 17 00:00:00 2001
From: Chris Lattner 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.
+ declare float %llvm.powi.f32(float %Val, int %power) + declare double %llvm.powi.f64(double %Val, int %power) ++ +
+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. +
+ ++The second argument is an integer power, and the first is a value to raise to +that power. +
+ ++This function returns the first value raised to the second power with an +unspecified sequence of rounding operations.
+