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 Jun 23, 2001, "H . J . Lu" <hjl@lucon.org> wrote:

> On Fri, Jun 22, 2001 at 08:09:30PM -0700, Eric Christopher wrote:
>> 
>> > 
>> > Here it is.
>> > 
>> 
>> I like it mostly.
>> 
>> 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.

I believe cpu and arch should have the same meaning in general, it's
tune that makes more sense to differ from cpu and arch.

However, we could use cpu to distinguish specific implementations of
architectures that add or remove particular instructions.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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