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
- From: dewar at gnat dot com (Robert Dewar)
- To: dewar at gnat dot com, lord at emf dot net
- Cc: denisc at overta dot ru, gcc at gcc dot gnu dot org, ja_walker at earthlink dot net
- Date: Mon, 6 Jan 2003 15:24:39 -0500 (EST)
- Subject: Re: An unusual Performance approach using Synthetic registers
> 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 :-)