------- Comment #14 from pinskia at gcc dot gnu dot org 2007-02-21 19:37 ------- The AVR back-end really needs improvement: ldi r18,lo8(1) ldi r19,hi8(1) .L3: std Y+2,r19 std Y+1,r18 ldi r24,lo8(99) ldi r25,hi8(99)
here r25 and r19 are the same, 0. Other than that, we need to estatimate the cost of adding/subtracting/comparing of integers > WORD_SIZE better. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30908