rs6000-builtin.def (BU_FP_1MISC_1): Add define macro.
authorCarl Love <cel@us.ibm.com>
Wed, 27 Sep 2017 22:45:49 +0000 (22:45 +0000)
committerCarl Love <carll@gcc.gnu.org>
Wed, 27 Sep 2017 22:45:49 +0000 (22:45 +0000)
commit4ca4cf4e420cc817fc66949d4c8069f951d857b4
treed7de4843e9fcb20ffdf233368801957c8bc56a86
parentc32026239618bac471c9c08a723b58885061ed62
rs6000-builtin.def (BU_FP_1MISC_1): Add define macro.

gcc/ChangeLog:

2017-09-27  Carl Love  <cel@us.ibm.com>

* config/rs6000/rs6000-builtin.def (BU_FP_1MISC_1): Add define macro.
(FCTID, FCTIW): Add BU_FP_MISC_1 macro expansion for builtins.
* config/rs6000/rs6000.md (lrintsfsi2): Add define_insn for the
fctiw instruction.

gcc/testsuite/ChangeLog:

2017-09-27 Carl Love  <cel@us.ibm.com>
* gcc.target/powerpc/builtin-fctid-fctiw-runnable.c: New test file
for the __builtin_fctid and __builtin_fctiw.

From-SVN: r253238
gcc/ChangeLog
gcc/config/rs6000/rs6000-builtin.def
gcc/config/rs6000/rs6000.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/builtin-fctid-fctiw-runnable.c [new file with mode: 0644]