[PATCH] MIPS: add MT ASE support for micromips32

YunQiang Su syq@debian.org
Wed May 31 08:15:01 GMT 2023


YunQiang Su <syq@debian.org> 于2023年5月16日周二 14:32写道:
>
> Maciej W. Rozycki <macro@orcam.me.uk> 于2023年4月25日周二 18:03写道:
> >
> > On Tue, 25 Apr 2023, YunQiang Su wrote:
> >
> > > diff --git a/opcodes/micromips-opc.c b/opcodes/micromips-opc.c
> > > index 94812a68c82..5a6460d9b8b 100644
> > > --- a/opcodes/micromips-opc.c
> > > +++ b/opcodes/micromips-opc.c
> > > @@ -148,6 +148,10 @@ decode_micromips_operand (const char *p)
> > >      case '~': SINT (12, 0);
> > >      case '@': SINT (10, 16);
> > >      case '^': HINT (5, 11);
> > > +    case '*': REG (2, 23, ACC);
> > > +    case '!': UINT (1, 10);
> > > +    case '$': UINT (1, 9);
> > > +    case '&': REG (2, 18, ACC);
> > >
> > >      case '0': SINT (6, 16);
> > >      case '1': HINT (5, 16);
> > > @@ -165,6 +169,7 @@ decode_micromips_operand (const char *p)
> > >      case 'G': REG (5, 16, COPRO);
> > >      case 'K': REG (5, 16, HW);
> > >      case 'H': UINT (3, 11);
> > > +    case 'O': UINT (3, 4);
> > >      case 'M': REG (3, 13, CCC);
> > >      case 'N': REG (3, 18, CCC);
> > >      case 'R': REG (5, 6, FP);
> >
> >  When adding new operand formats you need to document them in
> > include/opcode/mips.h.  NB this is not a full review.
> >
>
> Any update?

If no objection, I will commit this patchset.

>
> >   Maciej


More information about the Binutils mailing list