aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorCraig Janeczek <jancraig@amazon.com>2018-10-19 17:25:26 +0200
committerAleksandar Markovic <amarkovic@wavecomp.com>2018-10-29 14:13:47 +0100
commitb70bb918e2f5063975ba845fb9456ada25e3db91 (patch)
treeee83dbde60b5499cae1386feff7827cea735fce9 /target
parentd67da3378624ee4b0215f5c9a16c19059f7f04da (diff)
downloadqemu-b70bb918e2f5063975ba845fb9456ada25e3db91.zip
qemu-b70bb918e2f5063975ba845fb9456ada25e3db91.tar.gz
qemu-b70bb918e2f5063975ba845fb9456ada25e3db91.tar.bz2
target/mips: Add bit encoding for MXU accumulate add/sub 2-bit pattern 'aptn2'
Add bit encoding for MXU accumulate add/subtract 2-bit pattern 'aptn2'. 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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/mips/translate.c b/target/mips/translate.c
index 848b0ef..4ccb1a9 100644
--- a/target/mips/translate.c
+++ b/target/mips/translate.c
@@ -23983,6 +23983,12 @@ static void decode_opc_special(CPUMIPSState *env, DisasContext *ctx)
#define MXU_APTN1_A 0
#define MXU_APTN1_S 1
+/* MXU accumulate add/subtract 2-bit pattern 'aptn2' */
+#define MXU_APTN2_AA 0
+#define MXU_APTN2_AS 1
+#define MXU_APTN2_SA 2
+#define MXU_APTN2_SS 3
+
/*
*