Update, forgot to put the PR number in the Change Log.
authorCarl Love <carll@gcc.gnu.org>
Mon, 1 Oct 2018 15:57:13 +0000 (15:57 +0000)
committerCarl Love <carll@gcc.gnu.org>
Mon, 1 Oct 2018 15:57:13 +0000 (15:57 +0000)
gcc/ChangeLog:

2018-10-01  Carl Love  <cel@us.ibm.com>

PR 69431
* config/rs6000/rs6000-builtin.def (__builtin_mffsl): New.
(__builtin_mtfsb0): New.
(__builtin_mtfsb1): New.
( __builtin_set_fpscr_rn): New.
(__builtin_set_fpscr_drn): New.
* config/rs6000/rs6000.c (rs6000_expand_mtfsb_builtin): Add.
(rs6000_expand_set_fpscr_rn_builtin): Add.
(rs6000_expand_set_fpscr_drn_builtin): Add.
(rs6000_expand_builtin): Add case statement entries for
RS6000_BUILTIN_MTFSB0, RS6000_BUILTIN_MTFSB1,
RS6000_BUILTIN_SET_FPSCR_RN, RS6000_BUILTIN_SET_FPSCR_DRN,
RS6000_BUILTIN_MFFSL.
(rs6000_init_builtins): Add ftype initialization and def_builtin
calls for __builtin_mffsl, __builtin_mtfsb0, __builtin_mtfsb1,
__builtin_set_fpscr_rn, __builtin_set_fpscr_drn.
* config/rs6000.md (rs6000_mtfsb0, rs6000_mtfsb1, rs6000_mffscrn,
rs6000_mffscdrn): Add define_insn.
(rs6000_set_fpscr_rn, rs6000_set_fpscr_drn): Add define_expand.
* doc/extend.texi: Add documentation for the builtins.

gcc/testsuite/ChangeLog:

2018-10-01  Carl Love  <cel@us.ibm.com>

PR 69431
* gcc.target/powerpc/test_mffsl-p9.c: New file.
* gcc.target/powerpc/test_fpscr_rn_builtin.c: New file.
* gcc.target/powerpc/test_fpscr_drn_builtin.c: New file.
* gcc.target/powerpc/test_fpscr_rn_builtin_error.c: New file.
* gcc.target/powerpc/test_fpscr_drn_builtin_error.c: New file.

From-SVN: r264764

gcc/ChangeLog
gcc/testsuite/ChangeLog

index 49f99edf132d01cffce05c4e07b8e63977c5d5b4..b43cc388fa8187523e15638d45579e68c170230a 100644 (file)
@@ -1,5 +1,6 @@
 2018-10-01  Carl Love  <cel@us.ibm.com>
 
+       PR 69431
        * config/rs6000/rs6000-builtin.def (__builtin_mffsl): New.
        (__builtin_mtfsb0): New.
        (__builtin_mtfsb1): New.
index 22713d9c4ab83f23d03d2cd502c1fe9c59539fca..f322cc56caab316fab5162d0d67add277149daf0 100644 (file)
@@ -1,5 +1,6 @@
 2018-10-01  Carl Love  <cel@us.ibm.com>
 
+       PR 69431
        * gcc.target/powerpc/test_mffsl-p9.c: New file.
        * gcc.target/powerpc/test_fpscr_rn_builtin.c: New file.
        * gcc.target/powerpc/test_fpscr_drn_builtin.c: New file.