> -----Original Message-----
> From: 
> [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
> org] On Behalf Of Sparr
> Sent: Tuesday, November 11, 2008 4:24 PM
> To: [email protected]
> Subject: [avr-gcc-list] foo++, subi vs inc?
> 
> Why does "foo++;" compile to "subi Rd,lo8(-(1))" instead of 
> "inc Rd"?  I am keeping global register variables in 
> registers below 16, which are not valid for subi so they get 
> duplicated to perform the increment.  I am preparing to check 
> out the machine description for the avr target, but thought I 
> would ask here before I go that deep.

What is the type of foo?


_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to