Skip to content

Commit

Permalink
target/mips: Add bit encoding for MXU execute add/sub pattern 'eptn2'
Browse files Browse the repository at this point in the history
Add bit encoding for MXU execute 2-bit add/subtract pattern 'eptn2'.

Reviewed-by: Stefan Markovic <smarkovic@wavecomp.com>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
  • Loading branch information
AMarkovic committed Oct 29, 2018
1 parent b70bb91 commit 5bb2999
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions target/mips/translate.c
Expand Up @@ -23989,6 +23989,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


/*
*
Expand Down

0 comments on commit 5bb2999

Please sign in to comment.