[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] foo++, subi vs inc?
From: |
Weddington, Eric |
Subject: |
RE: [avr-gcc-list] foo++, subi vs inc? |
Date: |
Tue, 11 Nov 2008 17:00:53 -0700 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Sparr
> Sent: Tuesday, November 11, 2008 4:24 PM
> To: address@hidden
> 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] foo++, subi vs inc?, Sparr, 2008/11/11
- RE: [avr-gcc-list] foo++, subi vs inc?,
Weddington, Eric <=
- Re: [avr-gcc-list] foo++, subi vs inc?, Gre7g Luterman, 2008/11/11
- Re: [avr-gcc-list] foo++, subi vs inc?, Joerg Wunsch, 2008/11/12
- Re: [avr-gcc-list] foo++, subi vs inc?, Marek Michalkiewicz, 2008/11/12