avr.md (*reload_insi): Change predicate #1 to const_int_operand.
authorGeorg-Johann Lay <avr@gjlay.de>
Thu, 7 Jul 2011 07:13:13 +0000 (07:13 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Thu, 7 Jul 2011 07:13:13 +0000 (07:13 +0000)
commit1e6a67d1bd2403979137f1aac0a9d768e641f9b7
tree510d61699c33365438dbce6a67e595a914c0436c
parentffca9d534c9e8cca5aa1eee5ce28d9960b6d1179
avr.md (*reload_insi): Change predicate #1 to const_int_operand.

* config/avr/avr.md (*reload_insi): Change predicate #1 to
const_int_operand.  Ditto for peep2 producing this insn.
Add argument to output_reload_insisf call.
(*movsi,*movsf): Add argument to output_movsisf call.
(*reload_insf): New insn and new peep2 to produce it.
* config/avr/avr-protos.h (output_movsisf): Change prototype.
(output_reload_insisf): Change prototype.
* config/avr/avr.c (avr_asm_len): New function.
(output_reload_insisf): Rewrite.
(output_movsisf): Change prototype.  output_reload_insisf for
all CONST_INT and CONST_DOUBLE.  ALlow moving 0.0f to memory.
(adjust_insn_length): Add argument to output_movsisf and
output_reload_insisf call.

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