diff mbox

[SH,committed] Document FPSCR built-in functions

Message ID 1418200419.19509.70.camel@yam-132-YW-E178-FTW
State New
Headers show

Commit Message

Oleg Endo Dec. 10, 2014, 8:33 a.m. UTC
On Wed, 2014-12-10 at 01:24 +0100, Oleg Endo wrote:
> Hi,
> 
> This documents the new SH FPSCR built-in functions.
> Tested with 'make info dvi pdf', committed as r218551.
> 
> Cheers,
> Oleg
> 
> gcc/ChangeLog:
> 	PR target/53513
> 	* doc/extend.texi (__builtin_sh_get_fpscr, __builtin_sh_get_fpscr):
> 	Document it.

... and here's the typo / copy-pasta fix.  One of those functions is
__builtin_sh_set_fpscr.  Committed as r218563.

Cheers,
Oleg

gcc/ChangeLog:
	PR target/53513
	* doc/extend.texi (__builtin_sh_set_fpscr): Fix typo.
diff mbox

Patch

Index: gcc/doc/extend.texi
===================================================================
--- gcc/doc/extend.texi	(revision 218559)
+++ gcc/doc/extend.texi	(working copy)
@@ -16906,7 +16906,7 @@ 
 Returns the value that is currently set in the @samp{FPSCR} register.
 @end deftypefn
 
-@deftypefn {Built-in Function} {void} __builtin_sh_get_fpscr (unsigned int @var{val})
+@deftypefn {Built-in Function} {void} __builtin_sh_set_fpscr (unsigned int @var{val})
 Sets the @samp{FPSCR} register to the specified value @var{val}, while
 preserving the current values of the FR, SZ and PR bits.
 @end deftypefn