avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] compiler function prologue/epilogue incorrect?


From: craig
Subject: Re: [avr-gcc-list] compiler function prologue/epilogue incorrect?
Date: Wed, 27 Sep 2006 07:41:36 +0200
User-agent: Mutt/1.4.1i

Hi

> > [me]
> > OK. The effect of CLI is immediate though so either there is some special
> > magic for CLI or there might be some other magic associated with SEI and
> > RETI that produce the extra instruction delay. Hopefully it's CLI that is
> > special in some way and everyone else gets the 1 instruction delay!
>
>[paulo] 
> Actually the effect for CLI is the "same": the instruction after the CLI 
> is always executed ;)
> 
> However, if there is no CLI, handling the interrupt will take at least 
> two clock cycles because of the pipeline stall.

OK, thank you. Since no-one else has experienced problems, my troubles probably
lie elsewhere ... I'll spend some time sifting through the assembly code looking
for other reasons for the behavioural issues I see when using different versions
of gcc.

bye,

--Craig




reply via email to

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