aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorOleg Endo <olegendo@gcc.gnu.org>2014-12-10 00:21:36 +0000
committerOleg Endo <olegendo@gcc.gnu.org>2014-12-10 00:21:36 +0000
commit9c53a5b42371bbdfab2dac2f6e586762a549e931 (patch)
tree23f7b22e8683605c58b5330330a04a6b020cc8bc /gcc
parenta3ff84f2d4d50ceae2cf5babf4d2be1da20fc8fc (diff)
downloadgcc-9c53a5b42371bbdfab2dac2f6e586762a549e931.zip
gcc-9c53a5b42371bbdfab2dac2f6e586762a549e931.tar.gz
gcc-9c53a5b42371bbdfab2dac2f6e586762a549e931.tar.bz2
re PR target/53513 ([SH] Add support for fpchg insn and improve fenv support)
gcc/ PR target/53513 * doc/extend.texi (__builtin_sh_get_fpscr, __builtin_sh_get_fpscr): Document it. From-SVN: r218551
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/extend.texi9
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ce51835..28fe989 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 773e14c..f8bfa24 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