This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Synthetic register related: consequences of changing Frame layout.
- From: Andy Walker <ja_walker at earthlink dot net>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 4 Jan 2003 01:05:32 -0600
- Subject: 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