diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2011-09-22 09:55:13 +0000 |
---|---|---|
committer | Georg-Johann Lay <gjl@gcc.gnu.org> | 2011-09-22 09:55:13 +0000 |
commit | 6ebe2d6cf6a609ac9bad183daa9f3d9a920808fa (patch) | |
tree | 770568b4ef21417ee8cb8c1fbb5cbaee1f91f68a /gcc/ipa-inline-analysis.c | |
parent | 58c1ae3667e753a492bfa224ff9194b9e2ae01ff (diff) | |
download | gcc-6ebe2d6cf6a609ac9bad183daa9f3d9a920808fa.zip gcc-6ebe2d6cf6a609ac9bad183daa9f3d9a920808fa.tar.gz gcc-6ebe2d6cf6a609ac9bad183daa9f3d9a920808fa.tar.bz2 |
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
PR target/50465
* config/avr/avr-protos.h (avr_out_bitop): New prototype.
(avr_popcount_each_byte): New prototype.
* config/avr/avr.c (avr_popcount): New static function.
(avr_popcount_each_byte): New function.
(avr_out_bitop): New function.
(adjust_insn_length): ADJUST_LEN_OUT_BITOP dispatches to
avr_out_bitop. Cleanup code.
* config/avr/constraints.md (Ca2, Co2, Cx2): New constraints.
(Ca4, Co4, Cx4): New constraints.
* config/avr/avr.md (adjust_len): Add "out_bitop" insn attribute
alternative.
(andhi3, iorhi3, xorhi3): Rewrite insns using avr_out_bitop.
(andsi3, iorsi3, xorsi3): Ditto.
(*iorhi3_clobber, *iorsi3_clobber): Remove insns.
From-SVN: r179081
Diffstat (limited to 'gcc/ipa-inline-analysis.c')
0 files changed, 0 insertions, 0 deletions