public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Rask Ingemann Lambertsen <rask@sygehus.dk>
To: Michael Matz <matz@suse.de>
Cc: Jan Hubicka <jh@suse.cz>, gcc-patches@gcc.gnu.org
Subject: Re: Reduce startup cost of compiler (patch 2)
Date: Fri, 03 Aug 2007 12:43:00 -0000	[thread overview]
Message-ID: <20070803124303.GN25795@sygehus.dk> (raw)
In-Reply-To: <Pine.LNX.4.64.0708031408180.23011@wotan.suse.de>

On Fri, Aug 03, 2007 at 02:13:04PM +0200, Michael Matz wrote:

> OTOH if it was really only about optimization (i.e. choosing ALL_REGS is 
> a bad decision) then adjusting the move cost was correct, but you didn't 
> really have to use 65535 :-)  It would have been enough to make the cost 
> higher than for memory moves.

   Yes, it's purely an optimization issue. There are no useable registers in
ALL_REGS that aren't in any other class also. ALL_REGS is simply a junk
class. I picked COSTS_N_INSNS (60000) to mean "disabled". That's now
COSTS_N_INSNS (16000) which seems to do the trick also. :-)

-- 
Rask Ingemann Lambertsen

      reply	other threads:[~2007-08-03 12:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-24  5:54 Jan Hubicka
2007-07-24  7:29 ` Richard Guenther
2007-07-24  7:52   ` Paolo Bonzini
2007-07-24 15:14     ` Jan Hubicka
2007-07-29 21:32 ` Rask Ingemann Lambertsen
2007-07-31  6:44   ` Jan Hubicka
2007-07-31 12:49     ` Rask Ingemann Lambertsen
2007-07-31 16:26       ` Jan Hubicka
2007-08-03  9:16         ` Rask Ingemann Lambertsen
2007-08-03 12:13           ` Michael Matz
2007-08-03 12:43             ` Rask Ingemann Lambertsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070803124303.GN25795@sygehus.dk \
    --to=rask@sygehus.dk \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jh@suse.cz \
    --cc=matz@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).