re PR target/50449 ([avr] Loading some 32-bit constants not optimal)
authorGeorg-Johann Lay <avr@gjlay.de>
Wed, 21 Sep 2011 08:21:57 +0000 (08:21 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Wed, 21 Sep 2011 08:21:57 +0000 (08:21 +0000)
commit8dab2ba518fc18d57174e2042bad1e84420169d0
tree53c3150b00f955f3c54c3838a65b07336b394414
parent3653988e4640f61223336d5e12c178329d659a13
re PR target/50449 ([avr] Loading some 32-bit constants not optimal)

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.

From-SVN: r179037
gcc/ChangeLog
gcc/config/avr/avr-protos.h
gcc/config/avr/avr.c
gcc/config/avr/avr.md