re PR target/51244 ([SH] Inefficient conditional branch and code around T bit)
authorOleg Endo <olegendo@gcc.gnu.org>
Mon, 30 Jul 2012 06:46:36 +0000 (06:46 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Mon, 30 Jul 2012 06:46:36 +0000 (06:46 +0000)
commitbe8cbce15811f4d5ba02d7f3d8784b7b94b421d1
tree9cea2b0f80a42a70613848e3f11ac4a857ab77d4
parentbe82afe609f07d51a1d57fecbd1daf1882528f4c
re PR target/51244 ([SH] Inefficient conditional branch and code around T bit)

PR target/51244
* config/sh/sh.md (mov_neg_si_t): Move to Scc instructions section.
Use t_reg_operand predicate.  Add split for negated case.
(ashrsi2_31): Pass get_t_reg_rtx to gen_mov_neg_si_t.
* config/sh/sh.c (expand_ashiftrt): Likewise.

PR target/51244
* gcc.target/sh/pr51244-4.c: New.

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