|Register Spilling firstname.lastname@example.org (umar) (2003-12-13)|
|Re: Register Spilling email@example.com (2003-12-14)|
|Re: Register Spilling firstname.lastname@example.org (Falk Hueffner) (2003-12-20)|
|From:||email@example.com (Michael Tiomkin)|
|Date:||14 Dec 2003 22:12:51 -0500|
|Posted-Date:||14 Dec 2003 22:12:51 EST|
umar <firstname.lastname@example.org> wrote
> Once the decision to spill certain pseudo register values has been
> taken during register allocation, on what further criteria, are these
> pseudo values put on the stack/memory. Is there any strategy /scheme
> as to how these spilled values be actually layed out on memory.
There are two considerations doing this. First, allocating the
spill areas is done very similarly to register allocation - the live
ranges between the spills and the corresponding restores get allocated
to the chunks of spill area. Second, on a machine with loads/stores
of multiple regs, you can save some code space allocating spill areas
into consecutive chunks.
Return to the
Search the comp.compilers archives again.