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]

Synthetic register related: consequences of changing Frame layout.


I am thinking about changing the frame layout for i386, but only when 
Synthetic registers are used.  

In particular, I want to align the hard-frame-pointer on a 32 byte boundary.

My instinct is that I will have to copy the old pc and old frame pointer to 
new locations to correspond to the modified hard-frame-pointer.   I will have 
to hunt down the place that points to the arguments above the 
hard-frame-pointer and adjust them so that the arguments are correctly found.

The saved registers will go below the hard-frame-pointer and the Synthetic 
registers, and I will have to modify the register save/restore processes to 
match the new layout.

What else am I likely to break in the process?

Andy


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