This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Stackframe handling depends on platform


I'm searching for reasons, why the stackframe is handled different for i386
and i686 platforms.
On platform i386, function parameters are pushed to the stack and therefore
to adresses lower than the stackpointer.
On platform i686 parameters are moved to the stack and are placed to
adresses which are higher than the stackpointer.
Why is the second way to do it better for the i686 platform?

regards
Peter Bühler


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