[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Re: C vs. assembly performance
From: |
Bob Paddock |
Subject: |
Re: [avr-gcc-list] Re: C vs. assembly performance |
Date: |
Sat, 28 Feb 2009 20:39:48 -0500 |
> In practice, the experienced programmer can do a lot to help
> the tools. avr-gcc *does* do a good job with most code - I do
> much less re-structuring of my source code for avr-gcc than I do
> for most other compilers (I use a lot of compilers for a lot of >different
> targets).
Something I always found amusing/depressing is that some
compilers generate smaller code for ++i than i++ everything
being equal. Then other compilers generate smaller code for i++ than
++i. So in the embedded space you have to know what your tools are
doing. Sadly it should not be this way.
avr-gcc generates the same size code in any case that I've looked at.
- Re: [avr-gcc-list] Re: C vs. assembly performance, (continued)
- Re: [avr-gcc-list] Re: C vs. assembly performance, Georg-Johann Lay, 2009/02/28
- Re: [avr-gcc-list] Re: C vs. assembly performance, Nicholas Vinen, 2009/02/28
- Re: [avr-gcc-list] Re: C vs. assembly performance, Nicholas Vinen, 2009/02/28
- Re: [avr-gcc-list] Re: C vs. assembly performance, Georg-Johann Lay, 2009/02/28
- RE: [avr-gcc-list] Re: C vs. assembly performance, Weddington, Eric, 2009/02/28
- Re: [avr-gcc-list] Re: C vs. assembly performance, Georg-Johann Lay, 2009/02/28
- RE: [avr-gcc-list] Re: C vs. assembly performance, Weddington, Eric, 2009/02/28
- [avr-gcc-list] Re: C vs. assembly performance, David Brown, 2009/02/28
- Re: [avr-gcc-list] Re: C vs. assembly performance, Georg-Johann Lay, 2009/02/28
- [avr-gcc-list] Re: C vs. assembly performance, David Brown, 2009/02/28
- Re: [avr-gcc-list] Re: C vs. assembly performance,
Bob Paddock <=
- RE: [avr-gcc-list] Re: C vs. assembly performance, Weddington, Eric, 2009/02/28
- Re: [avr-gcc-list] Re: C vs. assembly performance, Vincent Trouilliez, 2009/02/28
- RE: [avr-gcc-list] Re: C vs. assembly performance, Weddington, Eric, 2009/02/28
- Re: [avr-gcc-list] Re: C vs. assembly performance, Vincent Trouilliez, 2009/02/28
- RE: [avr-gcc-list] Re: C vs. assembly performance, Weddington, Eric, 2009/02/28