public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Alex Turjan <aturjan@yahoo.com>
To: gcc@gcc.gnu.org, "Amker.Cheng" <amker.cheng@gmail.com>
Subject: Re: Question about the difference between two instruction scheduling   passes
Date: Wed, 19 Aug 2009 23:47:00 -0000	[thread overview]
Message-ID: <490580.44033.qm@web62402.mail.re1.yahoo.com> (raw)
In-Reply-To: <e8b251c80908190744q56bfaac1k11561d52f2a381a1@mail.gmail.com>

> 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?

Regardless of the target architecture from the correctness point of view sched1 can be disabled. sched1 has as purpose shortening live ranges.
Short live ranges allow the register allocation to:
1. generate less spills and 
2. also to avoid useless live ranges splitting. 

The second point impacts the register renaming phase which allows sched2 phase to extract more ilp.




      

      parent reply	other threads:[~2009-08-19 20:30 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
2009-08-19 23:47 ` Alex Turjan [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=490580.44033.qm@web62402.mail.re1.yahoo.com \
    --to=aturjan@yahoo.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).