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: Michal Grégr
Subject: Re: [avr-gcc-list] compiler function prologue/epilogue incorrect?
Date: Thu, 28 Sep 2006 02:00:37 +0200 (CEST)

Hi Craig,

can you describe what problem are you having? I had some stability problems 
recently when I used 16MHz crystal instead of 8MHz and I also suspected the 
function prolog/epilog. The program started to crash randomly after crystal 
change.

thanks,
mike

> ------------ Původní zpráva ------------
> Od:  <address@hidden>
> Předmět: Re: [avr-gcc-list] compiler function prologue/epilogue incorrect?
> Datum: 27.9.2006 07:39:58
> ----------------------------------------
> 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
>
>
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
>
>
>




reply via email to

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