From: Craig Janeczek <[email protected]>

Add bit encoding for MXU operand getting pattern 'optn3'.

Reviewed-by: Stefan Markovic <[email protected]>
Signed-off-by: Craig Janeczek <[email protected]>
Signed-off-by: Aleksandar Markovic <[email protected]>
---
 target/mips/translate.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/target/mips/translate.c b/target/mips/translate.c
index 2cf0ba5..13e158a 100644
--- a/target/mips/translate.c
+++ b/target/mips/translate.c
@@ -23999,6 +23999,16 @@ static void decode_opc_special(CPUMIPSState *env, 
DisasContext *ctx)
 #define MXU_OPTN2_HW    2
 #define MXU_OPTN2_XW    3
 
+/* MXU operand getting pattern 'optn3' */
+#define MXU_OPTN3_PTN0  0
+#define MXU_OPTN3_PTN1  1
+#define MXU_OPTN3_PTN2  2
+#define MXU_OPTN3_PTN3  3
+#define MXU_OPTN3_PTN4  4
+#define MXU_OPTN3_PTN5  5
+#define MXU_OPTN3_PTN6  6
+#define MXU_OPTN3_PTN7  7
+
 
 /*
  *
-- 
2.7.4


Reply via email to