This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: MIPS32 / MIPS64 release 2 support in simulator
At Wed, 3 Nov 2004 16:57:42 +0000 (UTC), cgd@broadcom.com wrote:
> > *mips32,mips64:
>
> These **must** be ...r2 or similar. Otherwise, they'll be included in
> mips32/mip64 sims.
So, more information about this: this ties in to where the new
instructions are located.
If we consider this a new ISA -- as the rest of the tools do, and as I
think we probably want to do as well -- then:
* the new instructions should go into mips.igen.
* **all** instructions which are applicable to
mips32r2/mips64r2 must be tagged with *mips64r2: and
*mips32r2:.
If we consider this as an ASE, then:
* the new instructions should go into a new file, and
* only the new instructions should be tagged with *mips64r2:
and *mips32r2:.
My personal incliation is that it should be treated as an ISA, just
like MIPS32 and MIPS64 were (rather than as being additions to MIPS II
or MIPS IV).
If you disagree, i'm open to hearing arguments for your position.
chris