An unusual Performance approach using Synthetic registers

Andy Walker ja_walker@earthlink.net
Sun Dec 29 22:44:00 GMT 2002


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



More information about the Gcc mailing list