This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: An unusual Performance approach using Synthetic registers
On Sunday 05 January 2003 07:59 am, Tom Lord wrote:
> If you decide to allocate a base register, as was proposed at
> one point,
>
> Bah. I missed that (misread while skimming, actually). Maybe his
> implementation approach is bogus after all. Why not use the FP, if
> it's there, or SP when FP is omitted.
I used the ecx register initially, because, at the time, I did not know how
"fixed" the frame pointer was. If it changed during module execution, all
the Synthetic regs would be hosed.
The hard frame pointer is fixed, I am using it, the Synthetic regs are not
hosed.
Andy