public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [DOC PATCH]: Document new __float128 x86_64 builtin functions
@ 2007-06-08 11:18 Uros Bizjak
  2007-07-28 23:50 ` Gerald Pfeifer
  0 siblings, 1 reply; 2+ messages in thread
From: Uros Bizjak @ 2007-06-08 11:18 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

Hello!

This doc patch adds the documentation about newly introduced
__float128 x86_64 built-in functions.

Patch was tested by 'make doc'. OK for mainline?

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.

Uros.

[-- Attachment #2: doc-copysignq.diff.txt --]
[-- Type: text/plain, Size: 1153 bytes --]

Index: extend.texi
===================================================================
--- extend.texi	(revision 125566)
+++ extend.texi	(working copy)
@@ -7034,6 +7034,26 @@
 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.
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [DOC PATCH]: Document new __float128 x86_64 builtin functions
  2007-06-08 11:18 [DOC PATCH]: Document new __float128 x86_64 builtin functions Uros Bizjak
@ 2007-07-28 23:50 ` Gerald Pfeifer
  0 siblings, 0 replies; 2+ messages in thread
From: Gerald Pfeifer @ 2007-07-28 23:50 UTC (permalink / raw)
  To: Uros Bizjak; +Cc: GCC Patches

Hi Uros,

On Fri, 8 Jun 2007, Uros Bizjak wrote:
> This doc patch adds the documentation about newly introduced
> __float128 x86_64 built-in functions.
> 
> Patch was tested by 'make doc'. OK for mainline?

for the record, your realm as backend maintainer also includes approval
(including self-approval) for doc patches as related to this port.

I see you have committed this, so I guess someone else noted this (even
though I don't see it in my gcc mailbox). ;-)

> 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.

Gerald

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-28 21:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-08 11:18 [DOC PATCH]: Document new __float128 x86_64 builtin functions Uros Bizjak
2007-07-28 23:50 ` Gerald Pfeifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).