This is the mail archive of the gcc@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]

Re: Q: How to do dynamic stack alignment


Fred Fish wrote:
Any suggestions for how to implement dynamic stack adjustment or
pointers to an existing implement would be very helpful.

The spe_64bit_regs_used stuff in rs6000.c is somewhat similar to what you are trying to do.


It searches a function for instructions that use SPE registers, and if there is one, it sets up the prologue to align the register save area and do 64-bit register saves instead of 32-bit register saves.

Jim


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