All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aleksandar Markovic <aleksandar.markovic@rt-rk.com>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: [Qemu-devel] [PULL 01/46] target/mips: Add preprocessor constants for nanoMIPS
Date: Tue, 21 Aug 2018 14:35:06 +0200	[thread overview]
Message-ID: <1534854951-6321-2-git-send-email-aleksandar.markovic@rt-rk.com> (raw)
In-Reply-To: <1534854951-6321-1-git-send-email-aleksandar.markovic@rt-rk.com>

From: Aleksandar Markovic <amarkovic@wavecomp.com>

Add ISA_NANOMIPS32 and CPU_NANOMIPS32 preprocessor constants.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Yongbok Kim <yongbok.kim@mips.com>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Signed-off-by: Stefan Markovic <smarkovic@wavecomp.com>
---
 target/mips/mips-defs.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/mips/mips-defs.h b/target/mips/mips-defs.h
index d239069..c8e9979 100644
--- a/target/mips/mips-defs.h
+++ b/target/mips/mips-defs.h
@@ -39,6 +39,7 @@
 #define   ISA_MIPS64R5  0x00001000
 #define   ISA_MIPS32R6  0x00002000
 #define   ISA_MIPS64R6  0x00004000
+#define   ISA_NANOMIPS32  0x00008000
 
 /* MIPS ASEs. */
 #define   ASE_MIPS16    0x00010000
@@ -87,6 +88,9 @@
 #define CPU_MIPS32R6 (CPU_MIPS32R5 | ISA_MIPS32R6)
 #define CPU_MIPS64R6 (CPU_MIPS64R5 | CPU_MIPS32R6 | ISA_MIPS64R6)
 
+/* Wave Computing: "nanoMIPS" */
+#define CPU_NANOMIPS32 (CPU_MIPS32R6 | ISA_NANOMIPS32)
+
 /* Strictly follow the architecture standard:
    - Disallow "special" instruction handling for PMON/SPIM.
    Note that we still maintain Count/Compare to match the host clock. */
-- 
2.7.4

  reply	other threads:[~2018-08-21 12:36 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-21 12:35 [Qemu-devel] [PULL 00/46] MIPS queue August 21, 2018 Aleksandar Markovic
2018-08-21 12:35 ` Aleksandar Markovic [this message]
2018-08-21 12:35 ` [Qemu-devel] [PULL 02/46] target/mips: Add nanoMIPS base instruction set opcodes Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 03/46] target/mips: Add nanoMIPS DSP ASE opcodes Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 04/46] target/mips: Prevent switching mode related to Config3 ISA bit for nanoMIPS Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 05/46] target/mips: Add placeholder and invocation of decode_nanomips_opc() Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 06/46] target/mips: Add nanoMIPS decoding and extraction utilities Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 07/46] target/mips: Add emulation of nanoMIPS 16-bit arithmetic instructions Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 08/46] target/mips: Add emulation of nanoMIPS 16-bit branch instructions Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 09/46] target/mips: Add emulation of nanoMIPS 16-bit shift instructions Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 10/46] target/mips: Add emulation of nanoMIPS 16-bit misc instructions Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 11/46] target/mips: Add emulation of nanoMIPS 16-bit load and store instructions Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 12/46] target/mips: Add emulation of nanoMIPS 16-bit logic instructions Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 13/46] target/mips: Add emulation of nanoMIPS 16-bit save and restore instructions Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 14/46] target/mips: Add emulation of some common nanoMIPS 32-bit instructions Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 15/46] target/mips: Add emulation of nanoMIPS instructions MOVE.P and MOVE.PREV Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 16/46] target/mips: Add emulation of nanoMIPS 48-bit instructions Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 17/46] target/mips: Add emulation of nanoMIPS FP instructions Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 18/46] target/mips: Add emulation of misc nanoMIPS instructions (pool32a0) Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 19/46] target/mips: Add emulation of misc nanoMIPS instructions (pool32axf) Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 20/46] target/mips: Add emulation of misc nanoMIPS instructions (p_lsx) Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 21/46] target/mips: Implement emulation of nanoMIPS ROTX instruction Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 22/46] target/mips: Implement emulation of nanoMIPS EXTW instruction Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 23/46] target/mips: Add emulation of nanoMIPS 32-bit load and store instructions Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 24/46] target/mips: Add CP0 Config3 and Config5 fields to DisasContext structure Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 25/46] target/mips: Implement emulation of nanoMIPS LLWP/SCWP pair Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 26/46] target/mips: Add emulation of nanoMIPS 32-bit branch instructions Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 27/46] target/mips: Fix pre-nanoMIPS MT ASE instructions availability control Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 28/46] target/mips: Implement MT ASE support for nanoMIPS Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 29/46] target/mips: Add emulation of DSP ASE for nanoMIPS - part 1 Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 30/46] target/mips: Add emulation of DSP ASE for nanoMIPS - part 2 Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 31/46] target/mips: Add emulation of DSP ASE for nanoMIPS - part 3 Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 32/46] target/mips: Add emulation of DSP ASE for nanoMIPS - part 4 Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 33/46] target/mips: Add emulation of DSP ASE for nanoMIPS - part 5 Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 34/46] target/mips: Add emulation of DSP ASE for nanoMIPS - part 6 Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 35/46] target/mips: Add availability control via bit NMS Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 36/46] disas: Add support for nanoMIPS platform Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 37/46] target/mips: Add updating BadInstr and BadInstrX for nanoMIPS Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 38/46] target/mips: Fix ERET/ERETNC behavior related to ADEL exception Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 39/46] elf: Add EM_NANOMIPS value as a valid one for e_machine field Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 40/46] elf: Relax MIPS' elf_check_arch() to accept EM_NANOMIPS too Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 41/46] elf: On elf loading, treat both EM_MIPS and EM_NANOMIPS as legal for MIPS Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 42/46] elf: Don't check FCR31_NAN2008 bit for nanoMIPS Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 43/46] mips_malta: Add basic nanoMIPS boot code for Malta board Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 44/46] mips_malta: Add setting up GT64120 BARs to the nanoMIPS bootloader Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 45/46] mips_malta: Fix semihosting argument passing for nanoMIPS bare metal Aleksandar Markovic
2018-08-21 12:35 ` [Qemu-devel] [PULL 46/46] target/mips: Add definition of nanoMIPS I7200 CPU Aleksandar Markovic

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=1534854951-6321-2-git-send-email-aleksandar.markovic@rt-rk.com \
    --to=aleksandar.markovic@rt-rk.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /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.