This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: rs6000 stack boundary
>>>>> Geoff Keating writes:
Geoff> This isn't right; it's not true that all ELF targets have a 128-bit
Geoff> stack boundary. In particular, EABI targets don't. Remember,
Geoff> TARGET_ALTIVEC does not change ABI. The change would be OK if it
Geoff> didn't have the TARGET_ALTIVEC part. (Note that the sysv4.h
Geoff> definition of STACK_BOUNDARY was correct.)
TARGET_ALTIVEC cannot work without some form of stricter
alignment. It is fine to separate the ABI in theory, but the alignment
requirements and truncated displacements of Altivec instructions forces
stricter alignment for Altivec variables.
Are STARTING_FRAME_OFFSET and STACK_DYNAMIC_OFFSET sufficient?
Remember that Darwin has enforced a stricter alignment for all
applications and something similar is needed for SVR4 when Altivec is
enabled.
David