This is the mail archive of the gcc-patches@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]

Re: [PATCH] Prevent coalesce in new-ra when class size == 1







Michael Matz <matz@suse.de> wrote on 07/22/2004 09:50:55 AM:

> For mainline this is okay.  Have you by chance tried to fit it also into
> the new-regalloc-branch?  There is already a function enough_free_p()
> which was supposed to do something like such limiting.

No, I haven't tried to fit this in to new-regalloc-branch.


>
> Also an possible improvement would be to use the prefer_colors member of
> webs (i.e. set it in your new function).  By that the webs will not be
> coalesced, but the chance of the other web getting the same colors as the

> one with only one register possible is higher.

Does it make sense to do this when we haven't colored the webs yet so we
don't really know that the web with only one color in it's preferred class
will actually get that color?

>
> > 2004-07-22  Pat Haugen  <pthaugen@us.ibm.com>
> >
> >       * colorize.c (ok_class): New.
>
> ra-colorize.c

Oooops, thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]