[fpc-devel] Stack alignment on i386
Jonas Maebe
jonas.maebe at elis.ugent.be
Thu Dec 22 15:31:24 CET 2011
On 22 Dec 2011, at 15:12, Sven Barth wrote:
> Hmm... I have thought a bit. Do you (or someone else) think it's
> feasible (and useful) to add a "procedure modifier" that allows you
> to specify the stack alignment that should be used when calling that
> procedure? (of course this modifier should be considered as "from
> great power comes great responsibilty" ^^)
I think that the i386/Linux compiler and RTL should be modified to
guarantee 16 byte alignment at all times, since that's how they
apparently redefined their ABI. The generated code will also be
backwards compatible.
Jonas
More information about the fpc-devel
mailing list