[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: |
Wed, 12 Nov 2008 15:55:15 -0700 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Sparr
> Sent: Wednesday, November 12, 2008 3:39 PM
> To: Marek Michalkiewicz
> Cc: address@hidden
> Subject: Re: [avr-gcc-list] foo++, subi vs inc?
>
> An ubuntu bug is keeping me from [easily] working with the gcc source,
> having that information when i finally do get started will save some
> time. I will experiment with finding out why it is picking subi
> instead of inc, but I think inc should come ahead of subi in general,
> so that's at least one thing I can put in a patch.
Keep in mind that SUBI will set the carry flag. INC does not set the carry
flag. I don't know if that is important in this particular case, but it might
be useful info so you don't introduce regressions. Speaking of which, if you
develop a patch, you need to be sure to run the GCC Regression Test Suite.
>
> PS: is gccint.info a typo?
gccint.info is the GCC Internals documentation in the 'info' format.
- [avr-gcc-list] foo++, subi vs inc?, Sparr, 2008/11/11
- RE: [avr-gcc-list] foo++, subi vs inc?, Weddington, Eric, 2008/11/11
- 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