Re: Register Spilling (Michael Tiomkin)
14 Dec 2003 22:12:51 -0500

          From comp.compilers

Related articles
Register Spilling (umar) (2003-12-13)
Re: Register Spilling (2003-12-14)
Re: Register Spilling (Falk Hueffner) (2003-12-20)
| List of all articles for this month |

From: (Michael Tiomkin)
Newsgroups: comp.compilers
Date: 14 Dec 2003 22:12:51 -0500
References: 03-12-088
Keywords: registers
Posted-Date: 14 Dec 2003 22:12:51 EST

umar <> 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.

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.