sh.c (sh_expand_t_scc): Emit movrt for SH2A if possible.
authorNaveen.H.S <naveen.hs@kpitcummins.com>
Tue, 25 Mar 2008 13:41:23 +0000 (13:41 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Tue, 25 Mar 2008 13:41:23 +0000 (13:41 +0000)
commitf326a6cbc00ba13125882eb13d257660f2618d56
tree611a36da838d794beb466fa7805b1c7e331eaed3
parentb4b0018b305101e1f5b4951169e1d5649747367e
sh.c (sh_expand_t_scc): Emit movrt for SH2A if possible.

* config/sh/sh.c (sh_expand_t_scc): Emit movrt for SH2A if
possible.
* config/sh/sh.md (xorsi3_movrt, movrt): New insns.

* gcc.target/sh/sh2a-movrt.c: New test.

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