diff options
author | Craig Janeczek | 2018-10-19 17:25:26 +0200 |
---|---|---|
committer | Aleksandar Markovic | 2018-10-29 14:13:47 +0100 |
commit | b70bb918e2f5063975ba845fb9456ada25e3db91 (patch) | |
tree | ee83dbde60b5499cae1386feff7827cea735fce9 /target/mips/translate.c | |
parent | target/mips: Add bit encoding for MXU accumulate add/sub 1-bit pattern 'aptn1' (diff) | |
download | qemu-b70bb918e2f5063975ba845fb9456ada25e3db91.tar.gz qemu-b70bb918e2f5063975ba845fb9456ada25e3db91.tar.xz qemu-b70bb918e2f5063975ba845fb9456ada25e3db91.zip |
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/mips/translate.c')
-rw-r--r-- | target/mips/translate.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/mips/translate.c b/target/mips/translate.c index 848b0ef9b5..4ccb1a93fa 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 + /* * |