Hi. For original variant (foo(p++)) the avr-gcc 4.0.4 produces the best: > > movw r24, r16 > > adiw r24, 1 > > call foo > > movw r24, r16 > > adiw r24, 2 > > etc..
3.3.6 and 3.4.6 are:
movw r24,r16
subi r16,...
sbci r17,...
And 4.1.2, 4.2.2 and 4.3-20080104 produces the ugly code.
Regards,
Dmitry.
_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
