Re: Graph colouring and local register allocation

George Neuner <gneuner2@/comcast.net>
Sat, 01 Dec 2007 22:48:03 -0500

          From comp.compilers

Related articles
[4 earlier articles]
Re: Graph colouring and local register allocation SidTouati@inria.fr (Sid Touati) (2007-11-05)
Re: Graph colouring and local register allocation miles.bader@necel.com (Miles Bader) (2007-11-22)
Re: Graph colouring and local register allocation Sid.Touati@uvsq.fr (Sid Touati) (2007-11-30)
Re: Graph colouring and local register allocation gneuner2@comcast.net (George Neuner) (2007-12-01)
Re: Graph colouring and local register allocation sjdutoit@gmail.com (sdt) (2007-12-01)
Re: Graph colouring and local register allocation preston.briggs@gmail.com (preston.briggs@gmail.com) (2007-12-01)
Re: Graph colouring and local register allocation gneuner2@/comcast.net (George Neuner) (2007-12-01)
Re: Graph colouring and local register allocation pertti.kellomaki@tut.fi (=?ISO-8859-1?Q?Pertti_Kellom=E4ki?=) (2007-12-03)
Re: Graph colouring and local register allocation SidTouati@inria.fr (Sid Touati) (2007-12-04)
Re: Graph colouring and local register allocation torbenm@app-1.diku.dk (2007-12-05)
Re: Graph colouring and local register allocation SidTouati@inria.fr (Sid Touati) (2007-12-08)
Re: Graph colouring and local register allocation anton@mips.complang.tuwien.ac.at (2007-12-09)
Re: Graph colouring and local register allocation gah@ugcs.caltech.edu (glen herrmannsfeldt) (2007-12-09)
[1 later articles]
| List of all articles for this month |
From: George Neuner <gneuner2@/comcast.net>
Newsgroups: comp.compilers
Date: Sat, 01 Dec 2007 22:48:03 -0500
Organization: Compilers Central
References: 07-10-103 07-11-019 07-11-063 07-11-091 07-12-003 07-12-005
Keywords: registers, parallel
Posted-Date: 02 Dec 2007 13:32:33 EST

On Sat, 1 Dec 2007 10:12:01 -0800 (PST), "preston.briggs@gmail.com"
<preston.briggs@gmail.com> 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


Post a followup to this message

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