public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: John David Anglin <dave@hiauly1.hia.nrc.ca>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: RFC: New approach to --with-cpu
Date: Tue, 30 Jul 2002 23:03:00 -0000	[thread overview]
Message-ID: <20020731034732.GA12480@nevyn.them.org> (raw)
In-Reply-To: <200207310131.g6V1VfNE021308@hiauly1.hia.nrc.ca>

On Tue, Jul 30, 2002 at 09:31:41PM -0400, John David Anglin wrote:
> >From a PA standpoint, the main objection that I have to this approach
> is that there seems to be a slight loss of flexibility.  You use "with_cpu"
> to set the default scheduling model.  However, I was also planning to set
> the default arch based on the target machine when a linker bug in handling
> PA2.0 code is fixed.  I view these options as independent although the
> configure defaults would both be based on the target triplet.  Thus,
> it would be necessary to introduce a new configure option to handle
> the arch default.  In the future, I can see other default code generation
> options being set-table.

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 must admit that I don't really like the multilib concept and find
> it a rather  idea to build libraries for all scheduling models,
> archs, etc.  Thus, I don't find this justification attractive.

I don't like multilibs either.  Eric mentioned some concerns that this
would interfere with them when I discussed it with him, which is why I
brought it up.

The real advantage of my approach is getting anything specs-based
correct.  For instance, the preprocessor flags related to -msoft-float
are set correctly if you use --with-float=soft.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

  reply	other threads:[~2002-07-31  3:47 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 [this message]
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
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=20020731034732.GA12480@nevyn.them.org \
    --to=drow@mvista.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).