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]

Re: An unusual Performance approach using Synthetic registers


On Monday 06 January 2003 02:24 pm, Robert Dewar wrote:
> > In other words, with synthregs, the CPU can ship some value off to
> > memory and not care how long it takes to get there or to get back from
> > there -- because it also ships it off to the synthreg, which it
> > hypothetically has faster access to.
>
> But this "hypothesis" is wrong. memory used for spills or locals is exactly
> the same as memory used for "synthetic registers" [this fancy term is
> nothing more than a fancy name for a local temporary]. So there is no issue
> of having faster access to one or the other. It may of course be the case
> that in one case you get more competent code than the other, but if so, the
> fix is to fix incompetent code :-)

An interesting proposition that I had not considered.  After Synthetic 
registers get running well enough to be rationally evaluated, I may be 
interested in revisiting this idea.  

Andy


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