summaryrefslogtreecommitdiffstats
path: root/target/mips/translate.c
diff options
context:
space:
mode:
authorCraig Janeczek2018-10-19 17:33:36 +0200
committerAleksandar Markovic2018-10-29 14:13:47 +0100
commita35723f4ce026ebad0c34f18ea874813799058f0 (patch)
tree5eeeac99138c8243e90416c4fc84301ca3e1b57b /target/mips/translate.c
parenttarget/mips: Add bit encoding for MXU execute add/sub pattern 'eptn2' (diff)
downloadqemu-a35723f4ce026ebad0c34f18ea874813799058f0.tar.gz
qemu-a35723f4ce026ebad0c34f18ea874813799058f0.tar.xz
qemu-a35723f4ce026ebad0c34f18ea874813799058f0.zip
target/mips: Add bit encoding for MXU operand getting pattern 'optn2'
Add bit encoding for MXU operand getting pattern 'optn2'. 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/mips/translate.c')
-rw-r--r--target/mips/translate.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/mips/translate.c b/target/mips/translate.c
index e790fb467e..16bb9e0a74 100644
--- a/target/mips/translate.c
+++ b/target/mips/translate.c
@@ -23995,6 +23995,12 @@ static void decode_opc_special(CPUMIPSState *env, DisasContext *ctx)
#define MXU_EPTN2_SA 2
#define MXU_EPTN2_SS 3
+/* MXU operand getting pattern 'optn2' */
+#define MXU_OPTN2_WW 0
+#define MXU_OPTN2_LW 1
+#define MXU_OPTN2_HW 2
+#define MXU_OPTN2_XW 3
+
/*
*