All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: qemu-devel@nongnu.org
Cc: "Aleksandar Rikalo" <aleksandar.rikalo@syrmia.com>,
	"Huacai Chen" <chenhuacai@kernel.org>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Aurelien Jarno" <aurelien@aurel32.net>
Subject: [PATCH 0/6] target/mips: Convert Loongson LEXT opcodes to decodetree
Date: Tue, 12 Jan 2021 22:54:58 +0100	[thread overview]
Message-ID: <20210112215504.2093955-1-f4bug@amsat.org> (raw)

Loongson is next step in the "MIPS decodetree conversion" epic.
Start with the simplest extension.

The diffstat addition comes from the TCG functions expanded.
The code is easier to review now.
IMO this is also a good template to show how easy a decodetree
conversion can be (and how nice the .decode file is to review) :P

Please review,

Phil.

Based-on: <20210112184156.2014305-1-f4bug@amsat.org>
          "decodetree: Allow 'dot' in opcode names"

Philippe Mathieu-Daudé (6):
  target/mips: Re-introduce OPC_ADDUH_QB_DSP and OPC_MUL_PH_DSP
  target/mips: Convert Loongson DDIV.G opcodes to decodetree
  target/mips: Convert Loongson DIV.G opcodes to decodetree
  target/mips: Convert Loongson [D]DIVU.G opcodes to decodetree
  target/mips: Convert Loongson [D]MOD[U].G opcodes to decodetree
  target/mips: Convert Loongson [D]MULT[U].G opcodes to decodetree

 target/mips/translate.h       |   1 +
 target/mips/godson2.decode    |  29 +++
 target/mips/loong-ext.decode  |  30 +++
 target/mips/loong_translate.c | 334 ++++++++++++++++++++++++++++++++++
 target/mips/translate.c       | 287 ++---------------------------
 target/mips/meson.build       |   3 +
 6 files changed, 409 insertions(+), 275 deletions(-)
 create mode 100644 target/mips/godson2.decode
 create mode 100644 target/mips/loong-ext.decode
 create mode 100644 target/mips/loong_translate.c

-- 
2.26.2



             reply	other threads:[~2021-01-12 21:56 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-12 21:54 Philippe Mathieu-Daudé [this message]
2021-01-12 21:54 ` [PATCH 1/6] target/mips: Re-introduce OPC_ADDUH_QB_DSP and OPC_MUL_PH_DSP Philippe Mathieu-Daudé
2021-01-13  2:04   ` Jiaxun Yang
2021-01-21 19:50   ` Richard Henderson
2021-01-12 21:55 ` [PATCH 2/6] target/mips: Convert Loongson DDIV.G opcodes to decodetree Philippe Mathieu-Daudé
2021-01-21 19:54   ` Richard Henderson
2021-01-12 21:55 ` [PATCH 3/6] target/mips: Convert Loongson DIV.G " Philippe Mathieu-Daudé
2021-01-12 21:59   ` Philippe Mathieu-Daudé
2021-01-21 19:56   ` Richard Henderson
2021-01-12 21:55 ` [PATCH 4/6] target/mips: Convert Loongson [D]DIVU.G " Philippe Mathieu-Daudé
2021-01-21 19:58   ` Richard Henderson
2021-08-10  5:51     ` Philippe Mathieu-Daudé
2021-01-12 21:55 ` [PATCH 5/6] target/mips: Convert Loongson [D]MOD[U].G " Philippe Mathieu-Daudé
2021-01-21 20:00   ` Richard Henderson
2021-01-12 21:55 ` [PATCH 6/6] target/mips: Convert Loongson [D]MULT[U].G " Philippe Mathieu-Daudé
2021-01-21 20:06   ` Richard Henderson
2023-08-31 19:12     ` Philippe Mathieu-Daudé
2023-08-31 20:31       ` Philippe Mathieu-Daudé
2021-01-13  2:15 ` [PATCH 0/6] target/mips: Convert Loongson LEXT " Jiaxun Yang
2021-01-13  8:06   ` Philippe Mathieu-Daudé
2021-01-13  8:09     ` Philippe Mathieu-Daudé
2021-01-13  8:11     ` Jiaxun Yang
2021-01-21 20:07 ` Richard Henderson
2021-01-21 22:20   ` Philippe Mathieu-Daudé
2021-01-25  5:02   ` Jiaxun Yang

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=20210112215504.2093955-1-f4bug@amsat.org \
    --to=f4bug@amsat.org \
    --cc=aleksandar.rikalo@syrmia.com \
    --cc=aurelien@aurel32.net \
    --cc=chenhuacai@kernel.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.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.