This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Monday, July 15, 2002, at 08:37 AM, Andrew Haley wrote:
Let's be clear here.Daniel Berlin writes:On Mon, 15 Jul 2002, Andrew Haley wrote:Well, actually, yes.Robert Dewar writes:It is entirely unrealistic to insist that register allocation and scheduling be linear or n*logn if you want good results.In his PhD thesis, Perston Briggs wrote that "in practice, the time required by the Yorktown allocator is O(n log n), where n is the size of the routine." Do more recent allocators have time complexity that is so much worse?
The yorktown allocator only performs one pass of coloring, to save time,
at the expense of slightly better allocation.
Robert's assertion is perfectly reasonable.
I suppose all this hinges on what exactly is meant by "good results". An algorithm that is slightly worse than the best but is O(n log n) seems like a sensible choice for gcc.
Of course that doesn't forbid gcc from providing something better as a special option. Andrew.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |