discouraging register use

Dave Korn dave.korn@artimi.com
Fri Dec 31 03:28:00 GMT 2004


> -----Original Message-----
> From: gcc-owner On Behalf Of DJ Delorie
> Sent: 31 December 2004 00:56

> > Maybe REG_ALLOC_ORDER helps?
> 
> It already has the cheap registers first.  The problem is (or seems to
> be) that the large size of the expensive register class overwhelms
> pretty much everything else.

  How about spiking REGISTER_MOVE_COST and MEMORY_MOVE_COST so that gcc is
severely discouraged from ever moving anything into the expensive registers in
the first place?

    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....
 




More information about the Gcc mailing list