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: gcc at gcc dot gnu dot org, ja_walker at earthlink dot net
- Date: Sun, 5 Jan 2003 09:24:33 -0500 (EST)
- Subject: Re: An unusual Performance approach using Synthetic registers
> Otherwise, what you lose for locals/args (the dominant case) will
> probably exceed what you gain for other values.
Actually I think you will break even most of the time and generate
essentially identical code.
You will end up saying, "great, I can keep this local variable Q in a
register, I don't need to store it in the stack frame, but then the
register turns out to be a SR, and in fact it is right back there in
the stack frame, with identical instructions used to access it.