This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Stackframe handling depends on platform
- From: Peter Bühler <p1buehle at hsr dot ch>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 7 Jan 2005 10:55:10 +0100
- Subject: 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