This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Only hard regs with pseudos considered for save/restore across calls?
- From: Richard Henderson <rth at redhat dot com>
- To: fnf at intrinsity dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 5 Jun 2003 14:25:58 -0700
- Subject: Re: Only hard regs with pseudos considered for save/restore across calls?
- References: <200306051946.h55JkQWq008000@fred.ninemoons.com>
On Thu, Jun 05, 2003 at 12:46:26PM -0700, Fred Fish wrote:
> It appears to me that only pseudos that are allocated to hard registers that
> are clobbered across calls are saved and restored across calls, and hard
> registers that are never associated with a pseudo are not saved and restored
> even when the compiler knows they are clobbered across a call.
Correct.
> However since cc0 gets directly allocated to $mcc0 at RTL generation time,
> it never gets saved and restored.
Well, don't do that then.
r~