[rfc] stack alignment macro cleanup
Richard Henderson
rth@redhat.com
Tue Oct 5 15:57:00 GMT 2010
On 10/04/2010 04:24 PM, H.J. Lu wrote:
> As I remembered, -mforce-drap exposed issues with register allocator.
> ix86_force_drap is only referenced in one place in i386.c. I'd like to keep
> it. I don't see why it can't be moved to generic. It may expose problems
> for other targets.
I doubt very much if any other target will ever implement
stack re-alignment like x86 does. The patch I posted is
good enough to handle any arbitrary user variable alignment.
The only thing it doesn't handle is alignment for spill
slots. Only x86 requires that.
r~
More information about the Gcc
mailing list