prolog/epilog
Jim Wilson
wilson@specifixinc.com
Tue Jun 1 07:32:00 GMT 2004
sevtov wrote:
> I've observed RTL-code for i386, ARM and AVR machine and
> I found that i386 and ARM RTL contain the code for
> epilog&prolog of a function
> But AVR-RTL-code doesn't. Why???
We have two ways of emitting prologue/epilogue code. The old way emits
assembler code directly. The new way emits RTL code. The new way is
preferred, but not all targets have been modified to use it. The avr is
a relatively new port though, it should have used the new way from the
start, so this looks like an oversight when it was written. Maybe the
docs on this matter aren't clear.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
More information about the Gcc
mailing list