This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: FYI: -march/-mcpu patch for mips
> 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