re PR target/51244 ([SH] Inefficient conditional branch and code around T bit)
authorOleg Endo <olegendo@gcc.gnu.org>
Sun, 11 Mar 2012 13:18:08 +0000 (13:18 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Sun, 11 Mar 2012 13:18:08 +0000 (13:18 +0000)
commit07c0b5604acc658ba193b2b5f0c592ade689e8e4
tree56ef3c7d27a282bc4adfe5a73ccf5a4006a346c3
parent9237e39d541a9eed92f0487d681ba9d6bdefa7ee
re PR target/51244 ([SH] Inefficient conditional branch and code around T bit)

PR target/51244
* config/sh/sh.md (movnegt): Expand into respective insns immediately.
Use movrt_negc instead of negc pattern for non-SH2A.
(*movnegt): Remove.
(*movrt_negc, *negnegt, *movtt, *movt_qi): New insns and splits.

PR target/51244
* gcc.target/sh/pr51244-1.c: Fix thinkos.

From-SVN: r185192
gcc/ChangeLog
gcc/config/sh/sh.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/sh/pr51244-1.c