Mail Archives: pgcc/1999/07/15/08:51:09
Eugene Leitl wrote:
>
> Vincent Diepeveen writes:
> > Good morning,
> >
> > Reading through the ia-64 technical manual the merced
> > seems to have many registers:
Hi!
> The downside of having many registers is of course the need to save a
> lot of state when the need to switch context arises.
If I understood the IA64 material right, you have to tell the CPU, how
much registers are needed by the function and which (from the outer
routines) it wants to have access to. These number of registers is
reserved for this function and only them can be accessed and only them
have to be saved during a context switch. If there are not enough
registers free, some blocked registers will be spilled somewhere until
the needed number of registers is available.
cu
Jens-Uwe
- Raw text -