From 5513e23973024b809c1327807c1c1ac2197bf4e8 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Fri, 8 Jun 2007 13:22:44 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/doc/extend.texi | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ab4231d1795d..6ef4d8c6b635 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-06-08 Uros Bizjak + + * doc/extend.texi (X86 Built-in Functions): Document __builtin_fabsq, + __builtin_copysignq and __builtin_infq built-in functions. + 2007-06-08 Uros Bizjak * doc/extend.texi (X86 Built-in Functions): Add missing `@item's in diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 6b65ed857bb8..baeff309adfc 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. -- 2.47.2