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

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

Re: [avr-gcc-list] Odd prologue for ATmega256x in WinAVR20080407


From: hutchinsonandy
Subject: Re: [avr-gcc-list] Odd prologue for ATmega256x in WinAVR20080407
Date: Thu, 10 Apr 2008 11:07:18 -0400

Oops I meant subtracting 2(3) from stack pointer.



-----Original Message-----
From: Stu Bell <address@hidden>
To: address@hidden
Sent: Thu, 10 Apr 2008 10:52 am
Subject: [avr-gcc-list] Odd prologue for ATmega256x in WinAVR20080407



Hi all,

I've noticed an odd prologue being generated in WinAVR 20080407.  This
is for an ATmega2560 and is with optimization set at -O0:

            vTaskPlaceOnEventList:
            .LFB22:
            .LM242:
DF93            push r29
CF93            push r28
00D0            rcall .
00D0            rcall .
CDB7            in r28,__SP_L__
DEB7            in r29,__SP_H__
            /* prologue: function */
            /* frame size = 6 */

What does the double "rcall ." do?  It seems to work, sorta, but it's
weird.  The generated epilogue seems to match the old (WinAVR20071221)
version.

Best regards,

Stu Bell
DPHI, Inc. (DataPlay)



_______________________________________________
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]