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: Reduce startup cost of compiler (patch 2)


On Tue, Jul 31, 2007 at 05:52:16AM +0200, Jan Hubicka wrote:
> 
> Hi,
> the limitation was alwas there

   COSTS_N_INSNS (60000) = 240000 used to work fine. :-)

> - regclass used value of 65535 as an
> infinity for impossible combinations.  This also means that you should
> not need to discougrate ALL_REGS and similar classes since regstack is
> supposed to work this out.

   It's a good thing you say "supposed to". Regclass tends to prefer
ALL_REGS over MEM and ALL_REGS tends to include such things as virtual
hard regs. Returning a high REGISTER_MOVE_COST for ALL_REGS keeps regclass
clear of ALL_REGS.

>   if the @samp{mov@var{m}} pattern's constraints do not allow such copying.
> + The maximal allowed value is 65535.
>   @end defmac

   Well, it's 65534, isn't it?

-- 
Rask Ingemann Lambertsen


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