This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: FYI: -march/-mcpu patch for mips


On Fri, Jun 22, 2001 at 09:19:59PM -0700, Eric Christopher wrote:
> 
> > > You should probably put in a check to make sure that both -march and
> > > -mcpu are both not given on the command line (and different).
> > > 
> > 
> > Why? What is wrong to have both? I thought it was the whole idea.
> > 
> 
> The "and different" was the operative part of the phrase.  If they are

Did you mean `incompatible'? I don't see anything wrong if they
are simply different.

> different which one do you choose?  As I said, I'd suggest producing a
> warning and chosing the -march option.
> 
> I can't see a reason for them to be both included under gas right now.
> Please let me know if there is one though :)
> 

In my patch, -march determines what instructions to use and -mcpu
determines how to schedule the instructions. I changed -mcpu so that
it wouldn't use any new instructions.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]