OSDN Git Service

Fix clearing ZERO_REG
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Jan 2012 12:39:26 +0000 (12:39 +0000)
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Jan 2012 12:39:26 +0000 (12:39 +0000)
* config/avr/avr.md (cc): Add alternative "ldi".
(movqi_insn): Use it in cc attribute.
* config/avr/avr.c (notice_update_cc): Handle CC_LDI.
(output_reload_in_const): Use CLR to move 0 to ZERO_REG.
(output_reload_insisf): Use ZERO_REG to pre-clear register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182871 138bc75d-0d04-0410-961f-82ee72b054a4


No differences found