re PR target/50447 ([avr] Better support of AND, OR, XOR and PLUS with constant integ...
authorGeorg-Johann Lay <avr@gjlay.de>
Tue, 11 Oct 2011 18:28:49 +0000 (18:28 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Tue, 11 Oct 2011 18:28:49 +0000 (18:28 +0000)
commit05058b6e31ec87bb08cb9457b22080afbd2c4723
tree014074a311e4c9e316bbded0457287a7e8b7df50
parenta4474a3854f4fec4bfccad91706f95a6737e6a79
re PR target/50447 ([avr] Better support of AND, OR, XOR and PLUS with constant integers for 16- and 32-bit values)

PR target/50447
* config/avr/avr.md (cc): Add out_plus attribute alternative.
(addsi3): Use it.  Adapt avr_out_plus to new prototype.  Use
avr_out_plus for all CONST_INT addends.
* config/avr/avr-protos.h (avr_out_plus): Change prototype.
* config/avr/avr.c (notice_update_cc): Call avr_out_plus on
CC_OUT_PLUS.
(avr_out_plus_1): Change prototype and report effect on cc0.
(avr_out_plus): Ditto.
(adjust_insn_length): Adapt call to avr_out_plus to new prototype.

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