All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Stezenbach <js@convergence.de>
To: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Cc: linux-mips@oss.sgi.com
Subject: Re: Q: -mcpu= vs. -march= for VR41xx specific instructions
Date: Thu, 14 Mar 2002 19:34:32 +0100	[thread overview]
Message-ID: <20020314183432.GA5802@convergence.de> (raw)
In-Reply-To: <20020314181031.GC398@rembrandt.csv.ica.uni-stuttgart.de>

On Thu, Mar 14, 2002 at 07:10:31PM +0100, Thiemo Seufer wrote:
> Johannes Stezenbach wrote:
> >   GCCFLAGS += -Wa,-march=vr4100 -mips2 -Wa,--trap
> > 
> > This works, but I am unshure what the effects of the
> > missing -mcpu switch are wrt the code generated by gcc.
> > AFAICS the kernel still works, but is the generated
> > code slower or subtly incorrect?
> 
> I don't know what the compiler does then. I assume it defaults to
> r3000 scheduling/opcodes.

How bad is that compared to -mcpu=vr4100?

> I would suggest the syntax
> 
> 	.set march=vr4100
> 
> This is in my TODO list for gas, but don't hold your breath.

OK.

> The real fix is to use a newer compiler (gcc >= 3). :-)

Not too long ago people here told me that gcc 3.x is still
not ready for production use. Or is gcc-3.1-pre from CVS
ready for prime time?


Thanks,
Johannes

      reply	other threads:[~2002-03-14 18:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-14 17:25 Q: -mcpu= vs. -march= for VR41xx specific instructions Johannes Stezenbach
2002-03-14 17:47 ` Jim Paris
2002-03-14 18:10 ` Thiemo Seufer
2002-03-14 18:34   ` Johannes Stezenbach [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=20020314183432.GA5802@convergence.de \
    --to=js@convergence.de \
    --cc=ica2_ts@csv.ica.uni-stuttgart.de \
    --cc=linux-mips@oss.sgi.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.