> -----Original Message-----
> From: 
> [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
> org] On Behalf Of Jeff Barlow
> Sent: Thursday, April 10, 2008 9:10 AM
> To: avr-gcc-list@nongnu.org
> Subject: Re: [avr-gcc-list] Odd prologue for ATmega256x in 
> WinAVR20080407
> 
> Stu Bell <[EMAIL PROTECTED]>  wrote:
> 
> >What does the double "rcall ." do?
> 
> It just adjusts the stack pointer prior to loading it as the
> local frame pointer. It's a fairly cute optimization actually.
> 

Hi Stu,

Don't feel bad. When I first saw this, I thought the same thing: "Huh?,
What's this?" After some quick double checking in the instruction set
manual, it finally made sense. I agree with Jeff, it's quite a trick
optimization. Thanks go to Anatoly Sokolov. ;-)


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to