From: Dale Johannesen Date: Tue, 2 Oct 2007 17:47:38 +0000 (+0000) Subject: Document new sqrt and powi handling. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=408f9c19680046a18ec6a2d71fc05f11e5a5ecd9;p=oota-llvm.git Document new sqrt and powi handling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42540 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LangRef.html b/docs/LangRef.html index fcbbde14807..34060583ca0 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -4484,9 +4484,14 @@ this can be specified as the fourth argument, otherwise it should be set to 0 or
Syntax:
+

This is an overloaded intrinsic. You can use llvm.sqrt on any +floating point type. Not all targets support all types however.

-  declare float @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)
+  declare x86_fp80  @llvm.sqrt.f80(x86_fp80 %Val)
+  declare fp128     @llvm.sqrt.f128(fp128 %Val)
+  declare ppc_fp128 @llvm.sqrt.ppcf128(ppc_fp128 %Val)
 
Overview:
@@ -4520,9 +4525,14 @@ floating point number.
Syntax:
+

This is an overloaded intrinsic. You can use llvm.powi on any +floating point type. Not all targets support all types however.

-  declare float  @llvm.powi.f32(float  %Val, i32 %power)
-  declare double @llvm.powi.f64(double %Val, i32 %power)
+  declare float     @llvm.powi.f32(float  %Val, i32 %power)
+  declare double    @llvm.powi.f64(double %Val, i32 %power)
+  declare x86_fp80  @llvm.powi.f80(x86_fp80  %Val, i32 %power)
+  declare fp128     @llvm.powi.f128(fp128 %Val, i32 %power)
+  declare ppc_fp128 @llvm.powi.ppcf128(ppc_fp128  %Val, i32 %power)
 
Overview: