[Top][All Lists]

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

Re: [avr-gcc-list] AVR assembly for fast bit bang

From: Daniel O'Connor
Subject: Re: [avr-gcc-list] AVR assembly for fast bit bang
Date: Thu, 10 Nov 2005 00:19:00 +1030
User-agent: KMail/1.8.2

On Wed, 9 Nov 2005 21:25, Mike S. wrote:
> Thanks for the reply Daniel O'Connor, but I usually don't use the
> optimization until I try a couple of and optimization techniques. I
> already had some bad experiences with the optimization in some Texas
> Instruments DSPs...

If you don't tell GCC to do *any* optimisation it will generate really 
terrible code. -O is very well tested, I suggest you use it. Just because one 
compiler somewhere generated bogus code when asked to optimise doesn't mean 
they all do it.

I'm not suggesting GCC is bug free either, but trying to use unoptimised code 
on a microcontroller is asking for serious code size and performance issues.

> I use AVR-GCC.

Well that's good since this is the avr-gcc list :)

Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Attachment: pgpkYS8LAINsj.pgp
Description: PGP signature

reply via email to

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