re PR target/63260 ([SH] fabs, fneg do not need fp-mode setting and do not use fpscr)
authorOleg Endo <olegendo@gcc.gnu.org>
Tue, 14 Oct 2014 00:50:18 +0000 (00:50 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Tue, 14 Oct 2014 00:50:18 +0000 (00:50 +0000)
commit340232b7e42de8661735ea188ef7a3acf1a46a07
tree1313f6dec5acc0aadfee401c681fd28f1b06dd72
parentf0a81c69c90c9ce3f3d339cd62b62ded0e602ffa
re PR target/63260 ([SH] fabs, fneg do not need fp-mode setting and do not use fpscr)

gcc/
PR target/63260
* config/sh/sh.md (negsf2, negsf2_i, negdf2, negdf2_i, abssf2,
abssf2_i, absdf2, absdf2_i): Remove fp_mode attribute.  Remove use
of FPSCR.
(negsf2_i): Rename to *negsf2_i.
(abssf2_i): Rename to *abssf2_i.
(negdf2_i): Rename to *negdf2_i.
(absdf2_i): Rename to *absdf2_i.

gcc/testsuite/
PR target/63260
* gcc.target/sh/pr63260.c: New.

From-SVN: r216173
gcc/ChangeLog
gcc/config/sh/sh.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/sh/pr63260.c [new file with mode: 0644]