This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: discouraging register use
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'DJ Delorie'" <dj at redhat dot com>,<stevenb at suse dot de>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Fri, 31 Dec 2004 02:20:14 -0000
- Subject: RE: discouraging register use
> -----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....