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.
Index: gcc/doc/extend.texi
===================================================================
--- gcc/doc/extend.texi (revision 218540)
+++ gcc/doc/extend.texi (working copy)
@@ -16902,6 +16902,15 @@
@end smallexample
@end deftypefn
+@deftypefn {Built-in Function} {unsigned int} __builtin_sh_get_fpscr (void)
+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})
+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
+
@node SPARC VIS Built-in Functions
@subsection SPARC VIS Built-in Functions