[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] More on optimization

From: Tvrtko A. Ursulin
Subject: Re: [avr-gcc-list] More on optimization
Date: Fri, 18 Oct 2002 09:36:53 +0200

On Thursday 17 October 2002 13:14, Joerg Wunsch wrote:
> "Tvrtko A. Ursulin" <address@hidden> wrote:
> > Nothing about -09 which I found was used in some Makefiles floating
> > around the net ?
> You can even write -O999 and it won't become more than -O3. ;-) Some
> people blindly believe by just writing something there, they'll indeed
> get better code as long as the compiler doesn't complain about it...

Well that is an usefull explanation! 

> In terms of code size, i found that AVRs are usually best with just
> -O1 (perhaps plus some micro-optimization in -f or -m options).  Even
> -Os is usually already larger.

Yep, I agree. My experiments lead to the same conclusion.

avr-gcc-list at http://avr1.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]