From: Daniel Jacobowitz <drow@mvista.com>
To: Richard.Earnshaw@arm.com
Cc: John David Anglin <dave@hiauly1.hia.nrc.ca>, gcc-patches@gcc.gnu.org
Subject: Re: RFC: New approach to --with-cpu
Date: Wed, 31 Jul 2002 09:02:00 -0000 [thread overview]
Message-ID: <20020731152150.GA1157@nevyn.them.org> (raw)
In-Reply-To: <200207311517.QAA23208@cam-mail2.cambridge.arm.com>
On Wed, Jul 31, 2002 at 04:17:10PM +0100, Richard Earnshaw wrote:
> > On Wed, Jul 31, 2002 at 10:46:50AM -0400, John David Anglin wrote:
> > > > Well, that's no problem. A first cut of this patch offered defaults
> > > > for -march= and -mtune= separately on MIPS. I could do the same for
> > > > PA easily.
> > >
> > > I would be happy if the configure option for setting the default
> > > scheduling was "--with-schedule" rather than "--with-cpu". This
> > > will set the default for -mschedule=. Similarly, when an option
> > > is introduced to set the default arch, then I would like to use
> > > "--with-arch".
> > >
> > > Using the same suffix in the configure and gcc options makes the
> > > relationship between the two options clearer.
> >
> > I was actually debating this. The advantage of using --with-cpu for
> > all targets is consistency across architectures. The advantage of
> > saying --with-schedule, --with-arch, --with-tune is flexibility. I
> > lean towards consistency, but I could be persuaded either way - does
> > anyone else have an opinion?
> >
> > I suppose using --with-schedule on PA would also mean we could have
> > --with-arch, which is nice.
> >
>
> In what way is --with-schedule different from --with-tune? Are they
> synonyms?
>
> I can understand the split --with-arch --with-tune and --with-cpu (with
> the latter meaning -with-arch=<arch-of-cpu> --with-tune=cpu), but I'm not
> sure of the distinction between schedule and tune.
Historical inconsistency. PA appears to define -mschedule but not
-mtune; the meaning appears to be about the same. One thing I will
_not_ do is allow --with-tune to set -mschedule, though; I'd rather add
-mtune to PA and then use --with-tune.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-07-31 15:22 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-30 18:54 John David Anglin
2002-07-30 23:03 ` Daniel Jacobowitz
2002-07-31 7:53 ` John David Anglin
2002-07-31 8:09 ` Daniel Jacobowitz
2002-07-31 8:30 ` Richard Earnshaw
2002-07-31 9:02 ` Daniel Jacobowitz [this message]
2002-07-31 10:34 ` John David Anglin
2002-07-31 13:27 ` Daniel Jacobowitz
2002-08-01 3:31 ` Richard Sandiford
2002-08-01 3:57 ` Richard Earnshaw
2002-08-01 8:15 ` John David Anglin
2002-08-01 8:23 ` Daniel Jacobowitz
2002-08-01 11:40 ` John David Anglin
2002-08-01 6:30 ` Richard Earnshaw
2002-08-01 7:41 ` John David Anglin
[not found] <20020801125224.GA5374@nevyn.them.org>
2002-08-01 6:04 ` Richard Earnshaw
2002-08-01 6:25 ` Daniel Jacobowitz
-- strict thread matches above, loose matches on Subject: below --
2002-07-30 15:27 Daniel Jacobowitz
2002-07-31 6:35 ` Richard Sandiford
2002-07-31 6:41 ` Daniel Jacobowitz
2002-07-31 6:54 ` Richard Sandiford
2002-07-31 7:28 ` Daniel Jacobowitz
2002-07-31 7:36 ` Richard Sandiford
2002-07-31 7:46 ` Daniel Jacobowitz
2002-07-31 7:50 ` Richard Sandiford
2002-07-31 8:04 ` Daniel Jacobowitz
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=20020731152150.GA1157@nevyn.them.org \
--to=drow@mvista.com \
--cc=Richard.Earnshaw@arm.com \
--cc=dave@hiauly1.hia.nrc.ca \
--cc=gcc-patches@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).