FYI: -march/-mcpu patch for mips

Eric Christopher echristo@redhat.com
Fri Jun 22 22:18:00 GMT 2001


> Did you mean `incompatible'? I don't see anything wrong if they
> are simply different.
> 
> 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.
> 

I was misreading your patch :)

At any rate, it doesn't look backwards compatible.
You'll need to make sure that the case where -mcpu
is given, but -march is not is handled with -mcpu
setting the default architecture for the assembler.

You may want to issue a warning that this behavior
is deprecated though so that we can remove it in a
future version.

Sound ok?

-eric

-- 
I will not grease the monkey bars



More information about the Binutils mailing list