From 5bb29992397217ae7d09d2192c5b56aefaf6cd11 Mon Sep 17 00:00:00 2001 From: Aleksandar Markovic Date: Tue, 23 Oct 2018 16:42:40 +0200 Subject: [PATCH] target/mips: Add bit encoding for MXU execute add/sub pattern 'eptn2' Add bit encoding for MXU execute 2-bit add/subtract pattern 'eptn2'. Reviewed-by: Stefan Markovic Signed-off-by: Aleksandar Markovic --- target/mips/translate.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/target/mips/translate.c b/target/mips/translate.c index 4ccb1a93fa..e790fb467e 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -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 + /* *