All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aleksandar Markovic <aleksandar.markovic@rt-rk.com>
To: qemu-devel@nongnu.org
Cc: aurelien@aurel32.net, richard.henderson@linaro.org,
	amarkovic@wavecomp.com, smarkovic@wavecomp.com,
	pjovanovic@wavecomp.com, laurent@vivier.eu, riku.voipio@iki.fi
Subject: [Qemu-devel] [PATCH v2 4/7] target/mips: Add bit definitions for DSP R3 ASE
Date: Fri,  5 Oct 2018 17:19:50 +0200	[thread overview]
Message-ID: <1538752793-6875-5-git-send-email-aleksandar.markovic@rt-rk.com> (raw)
In-Reply-To: <1538752793-6875-1-git-send-email-aleksandar.markovic@rt-rk.com>

From: Stefan Markovic <smarkovic@wavecomp.com>

Add DSP R3 ASE related bit definition for insn_flags and hflags.

Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
---
 target/mips/cpu.h       | 1 +
 target/mips/mips-defs.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/target/mips/cpu.h b/target/mips/cpu.h
index 28af4d1..4160699 100644
--- a/target/mips/cpu.h
+++ b/target/mips/cpu.h
@@ -598,6 +598,7 @@ struct CPUMIPSState {
     /* MIPS DSP resources access. */
 #define MIPS_HFLAG_DSP   0x080000  /* Enable access to MIPS DSP resources. */
 #define MIPS_HFLAG_DSPR2 0x100000  /* Enable access to MIPS DSPR2 resources. */
+#define MIPS_HFLAG_DSPR3 0x20000000 /* Enable access to MIPS DSPR3 resources.*/
     /* Extra flag about HWREna register. */
 #define MIPS_HFLAG_HWRENA_ULR 0x200000 /* ULR bit from HWREna is set. */
 #define MIPS_HFLAG_SBRI  0x400000 /* R6 SDBBP causes RI excpt. in user mode */
diff --git a/target/mips/mips-defs.h b/target/mips/mips-defs.h
index c8e9979..b27b7ae 100644
--- a/target/mips/mips-defs.h
+++ b/target/mips/mips-defs.h
@@ -47,6 +47,7 @@
 #define   ASE_MDMX      0x00040000
 #define   ASE_DSP       0x00080000
 #define   ASE_DSPR2     0x00100000
+#define   ASE_DSPR3     0x02000000
 #define   ASE_MT        0x00200000
 #define   ASE_SMARTMIPS 0x00400000
 #define   ASE_MICROMIPS 0x00800000
-- 
2.7.4

  parent reply	other threads:[~2018-10-05 15:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-05 15:19 [Qemu-devel] [PATCH v2 0/7] Misc MIPS fixes and improvements for October 2018 Aleksandar Markovic
2018-10-05 15:19 ` [Qemu-devel] [PATCH v2 1/7] elf: Fix PT_MIPS_XXX constants Aleksandar Markovic
2018-10-05 15:19 ` [Qemu-devel] [PATCH v2 2/7] elf: Add MIPS_ABI_FP_XXX constants Aleksandar Markovic
2018-10-05 15:19 ` [Qemu-devel] [PATCH v2 3/7] elf: Add Mips_elf_abiflags_v0 structure Aleksandar Markovic
2018-10-05 15:19 ` Aleksandar Markovic [this message]
2018-10-08 14:03   ` [Qemu-devel] [PATCH v2 4/7] target/mips: Add bit definitions for DSP R3 ASE Aleksandar Markovic
2018-10-05 15:19 ` [Qemu-devel] [PATCH v2 5/7] target/mips: Add availability control " Aleksandar Markovic
2018-10-08 14:05   ` Aleksandar Markovic
2018-10-05 15:19 ` [Qemu-devel] [PATCH v2 6/7] target/mips: Add opcodes for nanoMIPS EVA instructions Aleksandar Markovic
2018-10-05 17:16   ` Philippe Mathieu-Daudé
2018-10-08 14:07   ` Aleksandar Markovic
2018-10-05 15:19 ` [Qemu-devel] [PATCH v2 7/7] target/mips: Implement emulation of " Aleksandar Markovic
2018-10-05 17:27   ` Philippe Mathieu-Daudé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1538752793-6875-5-git-send-email-aleksandar.markovic@rt-rk.com \
    --to=aleksandar.markovic@rt-rk.com \
    --cc=amarkovic@wavecomp.com \
    --cc=aurelien@aurel32.net \
    --cc=laurent@vivier.eu \
    --cc=pjovanovic@wavecomp.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=riku.voipio@iki.fi \
    --cc=smarkovic@wavecomp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.