Re: Graph colouring and local register allocation



On Sat, 1 Dec 2007 10:12:01 -0800 (PST), "preston.briggs@xxxxxxxxx"
<preston.briggs@xxxxxxxxx> wrote:

Frankly, I don't see what impact ILP has on register allocation [...]

If we schedule to minimize register pressure, then allocate, then try
to reschedule to maxmize ILP, we'll have a hard time. The initial
schedule and allocation will leave us very little "room to work". On
the other hand, if we initially schedule for maximum ILP, then
allocation will require more registers, perhaps causing spill code.

My point was that register allocation for ILP is not, as Sid Touati
seemed to be claiming, a fundamentally different problem from
allocating for a sequential processor. There is some additional
effort to iterate scheduling and allocation to find a good balance,
but existing methods are up to that task already (whether existing
compilers do as well as they could using them is a different
discussion).

New methods that reduce the effort to find the sweet spot are always
welcome, but IMO claiming the old methods can't do the job is just
wrong.


Google up "Register Allocation with Instruction Scheduling: A New
Approach" by Schlomit Pinter. That and the papers that cite it will
get you off to a good start.

I've seen that. Thanks.

George
.



Relevant Pages

  • Re: Problems entering data in resource usage table
    ... Resource usage displays the resource's scheduled work on tasks in hours per ... on tasks as a percentage of his full work schedule for the same period. ... things - I've used up 1/8 or 12% of his work week already and the allocation ... going to be to bite the bullet and do those inputs on a daily basis. ...
    (microsoft.public.project2000)
  • Re: Electronic filing with married filing separate in community property state
    ... According to the IRS publication we have to submit a schedule with our tax ... mismatches in W2's and 1099-MISC and individually reported incomes in the ... Your e-file software should automatically include an "Allocation Record" ...
    (misc.taxes)
  • Re: Graph colouring and local register allocation
    ... If we schedule to minimize register pressure, then allocate, then try ... to reschedule to maxmize ILP, ... schedule and allocation will leave us very little "room to work". ...
    (comp.compilers)
  • Re: Optimizing stack access for a stack based VM
    ... Local variables should occur as natural operands of instructions (on ... from the middle of the stack. ... Global stack allocation has the potential for significant savings by ... register allocator with very few global registers does. ...
    (comp.compilers)
  • Silly new instructions
    ... Having just talked about heap allocation in functional languages probably also influenced my thoughts a bit. ... Let's say we want to perform stack overflow checking but in a cheap way. ... There is often a register dedicated to holding that allocation pointer. ... Why must I spend instructions on it and either compare with a value in memory or allocate yet another register for the limit? ...
    (comp.arch)