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: Only hard regs with pseudos considered for save/restore across calls?


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~


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