Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2003-03-21 21:34:25 -0800 (Fri, 21 Mar 2003)
Revision: 4211
Log message:
| Register allocator now adheres to calling convention.
| We need some work on the spills:
| 1. The choice of variables to spill is very bad (this
| must be affecting us in mcc as well).
| 2. The MetaPRL spill code needs to be smarter. Given a
| variable "v" to spill, it splits the live range of that
| variable by inserting this code in a random location,
| then trying to migrate the top move up, and the bottom
| move down.
|
| MOV %v, spill
| MOV spill, %v
|
| The choice of the location is currently quite bad.