[Top][All Lists]

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

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

From: Stu Bell
Subject: [avr-gcc-list] Odd prologue for ATmega256x in WinAVR20080407
Date: Thu, 10 Apr 2008 08:52:46 -0600

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:

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)

Best regards,

Stu Bell
DPHI, Inc. (DataPlay)

reply via email to

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