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: PATCH: Fix the MIPS ISA ELF setting (Re: RedHat 7.1/mips update)


H . J . Lu wrote:
[snip]
> > Well, that's sort-of true. -mipsX allows the ISA's instructions
> > plus some processor specific ones (like e.g. eret).
> 
> What is wrong to select a different default processor at the run-time?
> What is wrong to select a different default processor which supports
> a super set of the ISA?

That's what -march/-mtune are good for. -mipsX has the problem of
having different meanings depending on the context. E.g. -mips2
could mean:

- Code which runs on r6000.
- Code which runs on any MIPS II capable CPU.
- Code which uses 32bit instructions only.

The latter two are side effects of the first one.


Thiemo


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