On 24.10.18. 14:18, Aleksandar Markovic wrote: > From: Aleksandar Markovic <amarko...@wavecomp.com> > > Add bit encoding for MXU execute 2-bit add/subtract pattern 'eptn2'. > > Signed-off-by: Aleksandar Markovic <amarko...@wavecomp.com> > --- > target/mips/translate.c | 6 ++++++ > 1 file changed, 6 insertions(+)
Reviewed-by: Stefan Markovic <smarko...@wavecomp.com> > diff --git a/target/mips/translate.c b/target/mips/translate.c > index 97fb2e0..665a584 100644 > --- a/target/mips/translate.c > +++ b/target/mips/translate.c > @@ -23855,6 +23855,12 @@ static void decode_opc_special(CPUMIPSState *env, > DisasContext *ctx) > #define MXU_APTN2_SA 2 > #define MXU_APTN2_SS 3 > > +/* MXU execute add/subtract 2-bit pattern 'eptn2' */ > +#define MXU_EPTN2_AA 0 > +#define MXU_EPTN2_AS 1 > +#define MXU_EPTN2_SA 2 > +#define MXU_EPTN2_SS 3 > + > > /* > *