public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <iant@google.com>
To: "Amker.Cheng" <amker.cheng@gmail.com>
Cc: gcc@gcc.gnu.org
Subject: Re: Question about the difference between two instruction scheduling  	passes
Date: Wed, 19 Aug 2009 23:26:00 -0000	[thread overview]
Message-ID: <m3r5v7alim.fsf@google.com> (raw)
In-Reply-To: <e8b251c80908190744q56bfaac1k11561d52f2a381a1@mail.gmail.com> (Amker Cheng's message of "Wed\, 19 Aug 2009 22\:44\:22 +0800")

"Amker.Cheng" <amker.cheng@gmail.com> writes:

>    I'm currently studying implementation of instruction sched in gcc.
>
> it is possible to schedule insns directly from queue in case
> there is nothing better to do and there are still vacant dispatch slots
> in the current cycle.
>
> Gcc only does this work in the second pass, but what's the point?
> Is it wrong or just not necessary  in the first sched pass?

The first scheduling pass runs before register allocation and reload so
it's going to get generally trashed anyhow.  There no point to being
very precise in the first pass, it's just a rough approximation.

Ian

  reply	other threads:[~2009-08-19 15:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-19 22:51 Amker.Cheng
2009-08-19 23:26 ` Ian Lance Taylor [this message]
2009-08-19 23:47 ` Alex Turjan

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=m3r5v7alim.fsf@google.com \
    --to=iant@google.com \
    --cc=amker.cheng@gmail.com \
    --cc=gcc@gcc.gnu.org \
    /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).