summaryrefslogtreecommitdiffstats
path: root/target/mips/translate.c
diff options
context:
space:
mode:
authorAleksandar Markovic2018-10-23 16:42:40 +0200
committerAleksandar Markovic2018-10-29 14:13:47 +0100
commit5bb29992397217ae7d09d2192c5b56aefaf6cd11 (patch)
tree593fcd76a751efd6ba89e1b92cb94f8192e232d7 /target/mips/translate.c
parenttarget/mips: Add bit encoding for MXU accumulate add/sub 2-bit pattern 'aptn2' (diff)
downloadqemu-5bb29992397217ae7d09d2192c5b56aefaf6cd11.tar.gz
qemu-5bb29992397217ae7d09d2192c5b56aefaf6cd11.tar.xz
qemu-5bb29992397217ae7d09d2192c5b56aefaf6cd11.zip
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 <smarkovic@wavecomp.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 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
+
/*
*