public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* rs6000: Correct documentation for __builtin_mtfsf
@ 2020-02-06 14:15 Bill Schmidt
  0 siblings, 0 replies; only message in thread
From: Bill Schmidt @ 2020-02-06 14:15 UTC (permalink / raw)
  To: GCC Patches; +Cc: Segher Boessenkool

Hi,

PR93570 reports that the documentation shows __builtin_mtfsf to return a double,
but that is incorrect.  The return signature should be void.  Corrected herein.

Built on powerpc64le-unknown-linux-gnu and verified correct PDF output.  Committed
as obvious.

Thanks!
Bill


2020-02-06  Bill Schmidt  <wschmidt@linux.ibm.com>

	PR target/93570
	* doc/extend.texi (Basic PowerPC Built-in Functions): Correct
	prototype for __builtin_mtfsf.

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index ec99c38a607..5739063b330 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -17166,7 +17166,7 @@ unsigned long __builtin_ppc_mftb ();
  double __builtin_unpack_ibm128 (__ibm128, int);
  __ibm128 __builtin_pack_ibm128 (double, double);
  double __builtin_mffs (void);
-double __builtin_mtfsf (const int, double);
+void __builtin_mtfsf (const int, double);
  void __builtin_mtfsb0 (const int);
  void __builtin_mtfsb1 (const int);
  void __builtin_set_fpscr_rn (int);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-06 14:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-06 14:15 rs6000: Correct documentation for __builtin_mtfsf Bill Schmidt

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