This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/54682] [SH] Replace constant loads with reg-reg copies
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 Oct 2012 22:17:13 +0000
- Subject: [Bug target/54682] [SH] Replace constant loads with reg-reg copies
- Auto-submitted: auto-generated
- References: <bug-54682-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54682
--- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-10-10 22:17:13 UTC ---
Another thing that could be considered are T bit stores via the 'movt' insn.
For example:
movt r2 ! EX
< something else; r2, T not modified>
movt r4 ! EX
can be turned into
movt r2 ! EX
< something else; r2, T not modified>
mov r2,r4 ! MT