This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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: MIPS32 / MIPS64 release 2 support in simulator


On Wed, 2004-11-03 at 18:46, cgd@broadcom.com wrote:
> 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.


Agree..  

I shall update mips.igen with the new r2 instructions and then submit it
as a patch.

David.



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