[Top][All Lists]

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

Re: [avr-chat] Missed Optimisation ?

From: Erik Christiansen
Subject: Re: [avr-chat] Missed Optimisation ?
Date: Thu, 3 Mar 2011 15:16:25 +1100
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

On Wed, Mar 02, 2011 at 10:10:39PM +0200, Alex Eremeenkov wrote:
> As it was every time by a years: if compiler optimizations not enough,  
> developers write critical functions on assembler.

Yours sounds like the voice of long and practical experience, Alex. :-)

A distrust of possible regressions in optimisation between compiler
versions (and these have occurred in our toolchain) is one of my
motivations for writing ISRs in assembler to start with. Being able to
upgrade gcc to gain bugfixes or size optimisations, with zero risk of
ISR timing change, leaves the developer with more time to build a good
product, I think.


The surest way to corrupt a youth is to instruct him to hold in higher
regard those who think alike than those who think differently.
                                                            - Nietzsche

reply via email to

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