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]
Other format: [Raw text]

Re: RFC & patch: Rework MIPS command-line handling


> Ugh.  Ok, I'll keep _R3000 & _R4000 as they are now, and add the
> _MIPS_ARCH and _MIPS_TUNE that Chris suggested.
> 
> Question: if gcc treats two processors as the same for scheduling,
> should they have the same _MIPS_ARCH and _MIPS_TUNE value?  Like,
> should -march=r2000 and -march=r3000 set _MIPS_ARCH to the same
> value (_MIPS_R3000?) to reflect what GCC's doing, or should there
> be separate _MIPS_R2000 and _MIPS_R3000 defines?  How about
> -mtune= and _MIPS_TUNE?

Not the same _MIPS_ARCH for sure, the same _MIPS_TUNE possibly. There
are arguments either way :)

Probably should separate them out so we make changes as little as
possible.

-eric

-- 
I will not grease the monkey bars



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