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 29 December 2002 02:04 pm, Diego Novillo wrote:
> On Sun, 29 Dec 2002, Andy Walker wrote:
> > My approach may allow for an effectively infinite register set. For each
>
> Eh? GCC already uses that approach. RTL is a register language
> for an abstract machine with an infinite number of register.
>
>
> Diego.
I agree. RTL is for an abstract machine. Infinite register set. Excellent
approach.
Synthetic registers are artificial registers for a real machine. Intel
PentiumPro. I am creating more real (but artificial) registers for a real
machine. For now, this is my own clunky second-hand Dell. All of my changes
have been to ix86.c, ix86.h, ix86.md, ix86-protos.h, and config.gcc. No
changes to any register allocating or scheduling routines or files.
In ix86.h, I am declaring the first pseudo-register to be number 84.
Synthetic registers are supposed to walk like ducks. If they don't, I have
failed.
Andy