This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] change to MIPS 4650 instruction support
- To: "Chris G. Demetriou" <cgd at sibyte dot com>
- Subject: Re: [patch] change to MIPS 4650 instruction support
- From: Eric Christopher <echristo at redhat dot com>
- Date: Fri, 16 Mar 2001 14:09:52 -0800
- CC: Daniel Jacobowitz <dmj+ at andrew dot cmu dot edu>, binutils at sources dot redhat dot com
- References: <20010316084713.A1228@nevyn.them.org> <mailpost.984750568.13437@postal.sibyte.com> <yov53dcdsaxy.fsf@highland.sibyte.com>
"Chris G. Demetriou" wrote:
>
> Really, in the long run, I think OPCODE_IS_MEMBER should take one,
> maybe two masks:
>
> (1) ISA
> (2) set of CPU-related extensions to enable
>
> (plus the 'gp32' flag if that's _really_ necessary...) adding random
> flags isn't the way to go, and adding essentially a cpu-specific flag
> to mips_set_options is definitely not.
>
> If you're trying to support a new CPU type, it seems obvious how to do
> that without rewriting a bunch of code.
>
Also not being in a position to approve or reject I agree. I'm adding
new cpu types currently (and fixing up some for contribution) and it is
quite easy without rewriting.
Anyhow, my 2 cents.
-eric