aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorCraig Janeczek <jancraig@amazon.com>2018-10-19 17:34:28 +0200
committerAleksandar Markovic <amarkovic@wavecomp.com>2018-10-29 14:13:53 +0100
commit53f1131fde02ae49e1f794f811a60fda32c72dca (patch)
tree95b09b2fa79ca944c947d981d1f1b4f7f329b67c /target
parenta35723f4ce026ebad0c34f18ea874813799058f0 (diff)
downloadqemu-53f1131fde02ae49e1f794f811a60fda32c72dca.zip
qemu-53f1131fde02ae49e1f794f811a60fda32c72dca.tar.gz
qemu-53f1131fde02ae49e1f794f811a60fda32c72dca.tar.bz2
target/mips: Add bit encoding for MXU operand getting pattern 'optn3'
Add bit encoding for MXU operand getting pattern 'optn3'. Reviewed-by: Stefan Markovic <smarkovic@wavecomp.com> Signed-off-by: Craig Janeczek <jancraig@amazon.com> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Diffstat (limited to 'target')
-rw-r--r--target/mips/translate.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/mips/translate.c b/target/mips/translate.c
index 16bb9e0..ccabd13 100644
--- a/target/mips/translate.c
+++ b/target/mips/translate.c
@@ -24001,6 +24001,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
+
/*
*