FYI: -march/-mcpu patch for mips

Alexandre Oliva aoliva@redhat.com
Sat Jun 23 01:35:00 GMT 2001


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



More information about the Binutils mailing list