aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2007-06-08 13:22:44 +0200
committerUros Bizjak <uros@gcc.gnu.org>2007-06-08 13:22:44 +0200
commit5513e23973024b809c1327807c1c1ac2197bf4e8 (patch)
treeb1dc1c8bceaa9ee91a2d8da2e2f13a004b979703 /gcc
parent291d9a2db03d4bad4ba2c7e607b4b11e93ace199 (diff)
downloadgcc-5513e23973024b809c1327807c1c1ac2197bf4e8.zip
gcc-5513e23973024b809c1327807c1c1ac2197bf4e8.tar.gz
gcc-5513e23973024b809c1327807c1c1ac2197bf4e8.tar.bz2
extend.texi (X86 Built-in Functions): Document __builtin_fabsq, __builtin_copysignq and __builtin_infq built-in functions.
* doc/extend.texi (X86 Built-in Functions): Document __builtin_fabsq, __builtin_copysignq and __builtin_infq built-in functions. From-SVN: r125569
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/extend.texi20
2 files changed, 25 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ab4231d..6ef4d8c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2007-06-08 Uros Bizjak <ubizjak@gmail.com>
+ * doc/extend.texi (X86 Built-in Functions): Document __builtin_fabsq,
+ __builtin_copysignq and __builtin_infq built-in functions.
+
+2007-06-08 Uros Bizjak <ubizjak@gmail.com>
+
* doc/extend.texi (X86 Built-in Functions): Add missing `@item's in
SSE4.2 section. Correct built-in function names in SSE4A section.
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 6b65ed8..baeff30 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -7034,6 +7034,26 @@ integers, these use @code{V4SI}. Finally, some instructions operate on an
entire vector register, interpreting it as a 128-bit integer, these use mode
@code{TI}.
+In the 64-bit mode, x86-64 family of processors uses additional built-in
+functions for efficient use of @code{TF} (@code{__float128}) 128-bit
+floating point and @code{TC} 128-bit complex floating point values.
+
+The following floating point built-in functions are made available in the
+64-bit mode. All of them implement the function that is part of the name.
+
+@smallexample
+__float128 __builtin_fabsq (__float128)
+__float128 __builtin_copysignq (__float128, __float128)
+@end smallexample
+
+The following floating point built-in functions are made available in the
+64-bit mode.
+
+@table @code
+@item __float128 __builtin_infq (void)
+Similar to @code{__builtin_inf}, except the return type is @code{__float128}.
+@end table
+
The following built-in functions are made available by @option{-mmmx}.
All of them generate the machine instruction that is part of the name.