From bf564a123f32cbcf2156b377f3ec5335fba2457a Mon Sep 17 00:00:00 2001 From: olegendo Date: Wed, 10 Dec 2014 00:21:36 +0000 Subject: [PATCH] gcc/ PR target/53513 * doc/extend.texi (__builtin_sh_get_fpscr, __builtin_sh_get_fpscr): Document it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218551 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/doc/extend.texi | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce5183523cbc..28fe989c605c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-12-10 Oleg Endo + + PR target/53513 + * doc/extend.texi (__builtin_sh_get_fpscr, __builtin_sh_get_fpscr): + Document it. + 2014-12-09 Bill Schmidt PR middle-end/64225 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 773e14ce6b27..f8bfa24c0c48 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -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 -- 2.47.3