This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Arranging for -Os to imply -mpreferred-stack-boundary=2 on x86


On Wed, Oct 24, 2001 at 04:45:16PM -0400, Geert Bosch wrote:
> This would be best if the overhead is indeed just one or two instructions,
> but I thought doing alignment requires the use of an extra register
> (framepointer) even if we have a fixed size stack frame. How can we
> access the arguments without doing this?

You use %ebp as the argument pointer and %esp as the frame pointer.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]