This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/50449] [avr] Loading some 32 constants not optimal
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Sep 2011 08:22:08 +0000
- Subject: [Bug target/50449] [avr] Loading some 32 constants not optimal
- Auto-submitted: auto-generated
- References: <bug-50449-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50449
--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-09-21 08:22:08 UTC ---
Author: gjl
Date: Wed Sep 21 08:21:57 2011
New Revision: 179037
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179037
Log:
PR target/50449
PR target/50465
* config/avr/avr.md (adjust_len): New insn attribute.
(*reload_insi, *reload_insf): Use it.
(*movsi, *movsf): Use new interface of output_movsisf.
* config/avr/avr-protos.h (output_movsisf): Change prototype.
* config/avr/avr.c (output_movsisf): Ditto.
(adjust_insn_length): Use insn attribute "adjust_len" to adjust
lengths of insns *reload_insi, *reload_insf.
(output_reload_insisf_1): New static function.
(output_reload_insisf): Use it.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr-protos.h
trunk/gcc/config/avr/avr.c
trunk/gcc/config/avr/avr.md