re PR target/53513 ([SH] Add support for fpchg insn and improve fenv support)
authorOleg Endo <olegendo@gcc.gnu.org>
Wed, 10 Dec 2014 00:21:36 +0000 (00:21 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Wed, 10 Dec 2014 00:21:36 +0000 (00:21 +0000)
gcc/
PR target/53513
* doc/extend.texi (__builtin_sh_get_fpscr, __builtin_sh_get_fpscr):
Document it.

From-SVN: r218551

gcc/ChangeLog
gcc/doc/extend.texi

index ce5183523cbc06fbe45b3694c86fad06b15c5b34..28fe989c605c5faf19ebf9258a4be4887fa611b0 100644 (file)
@@ -1,3 +1,9 @@
+2014-12-10  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       PR target/53513
+       * doc/extend.texi (__builtin_sh_get_fpscr, __builtin_sh_get_fpscr):
+       Document it.
+
 2014-12-09  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
 
        PR middle-end/64225
index 773e14ce6b2797952f4b5a6501e97e7d1fe6b51f..f8bfa24c0c48065313a0c50af3234256b729a5c1 100644 (file)
@@ -16902,6 +16902,15 @@ int get_tcb_value (void)
 @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