From: Fredrik Noring <noring@nocrew.org>
To: "Aleksandar Markovic" <amarkovic@wavecomp.com>,
"Aurelien Jarno" <aurelien@aurel32.net>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>
Cc: "Jürgen Urban" <JuergenUrban@gmx.de>,
"Maciej W. Rozycki" <macro@linux-mips.org>,
qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH v2 0/6] Fix decoding mechanisms of the R5900
Date: Wed, 7 Nov 2018 20:17:35 +0100 [thread overview]
Message-ID: <cover.1541616663.git.noring@nocrew.org> (raw)
This series amends the R5900 support with the following changes:
- MFLO1, MFHI1, MTLO1 and MTHI1 are generated in gen_HILO1_tx79 instead
of the generic gen_HILO.
- DIV1 and DIVU1 are generated in gen_div1_tx79 instead of the generic
gen_muldiv.
- MOVN, MOVZ, MFHI, MFLO, MTHI, MTLO, MULT, MULTU, DIV, DIVU, DMULT,
DMULTU, DDIV, DDIVU and JR are decoded in decode_opc_special_tx79
instead of the generic decode_opc_special_legacy.
- Guard check_insn_opc_user_only with INSN_R5900 check.
- Guard check_insn with INSN_R5900 check.
- Fix HI[ac] and LO[ac] 32-bit truncation with the MIPS64 DSP ASE.
This series has been successfully built with the 8 different build
configurations
{gcc,clang} x -m64 x mips{,64}el-{linux-user,softmmu}
in addition successfully completing the R5900 test suite
cd tests/tcg/mips/mipsr5900 && make check
Changes in v2:
- Fix HI and LO 32-bit truncation with the MIPS64 DSP ASE
- Decode special R5900 opcodes in decode_opc_special_tx79
- Guard check_insn_opc_user_only with INSN_R5900 check
- Guard check_insn with INSN_R5900 check
Fredrik Noring (6):
target/mips: Fix decoding mechanism of R5900 MFLO1, MFHI1, MTLO1 and MTHI1
target/mips: Fix decoding mechanism of R5900 DIV1 and DIVU1
target/mips: Fix HI[ac] and LO[ac] 32-bit truncation with MIPS64 DSP ASE
target/mips: Fix decoding mechanism of special R5900 opcodes
target/mips: Guard check_insn_opc_user_only with INSN_R5900 check
target/mips: Guard check_insn with INSN_R5900 check
target/mips/translate.c | 229 +++++++++++++++++++++++++++++-----------
1 file changed, 170 insertions(+), 59 deletions(-)
--
2.18.1
next reply other threads:[~2018-11-07 19:17 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-07 19:17 Fredrik Noring [this message]
2018-11-07 19:18 ` [Qemu-devel] [PATCH v2 1/6] target/mips: Fix decoding mechanism of R5900 MFLO1, MFHI1, MTLO1 and MTHI1 Fredrik Noring
2018-11-17 15:28 ` Aleksandar Markovic
2018-11-07 19:18 ` [Qemu-devel] [PATCH v2 2/6] target/mips: Fix decoding mechanism of R5900 DIV1 and DIVU1 Fredrik Noring
2018-11-07 19:18 ` [Qemu-devel] [PATCH v2 3/6] target/mips: Fix HI[ac] and LO[ac] 32-bit truncation with MIPS64 DSP ASE Fredrik Noring
2018-11-08 10:17 ` Aleksandar Markovic
2018-11-07 19:19 ` [Qemu-devel] [PATCH v2 4/6] target/mips: Fix decoding mechanism of special R5900 opcodes Fredrik Noring
2018-11-08 10:27 ` Aleksandar Markovic
2018-11-08 18:50 ` Fredrik Noring
2018-11-08 22:00 ` Maciej W. Rozycki
2018-11-09 9:50 ` Aleksandar Markovic
2018-11-09 13:24 ` Fredrik Noring
2018-11-09 14:23 ` Aleksandar Markovic
2018-11-09 14:35 ` Fredrik Noring
2018-11-09 14:37 ` Aleksandar Markovic
2018-11-09 15:23 ` Aleksandar Markovic
2018-11-09 16:49 ` Maciej W. Rozycki
2018-11-09 13:53 ` Maciej W. Rozycki
2018-11-17 15:25 ` Aleksandar Markovic
2018-11-07 19:19 ` [Qemu-devel] [PATCH v2 5/6] target/mips: Guard check_insn_opc_user_only with INSN_R5900 check Fredrik Noring
2018-11-17 15:27 ` Aleksandar Markovic
2018-11-07 19:19 ` [Qemu-devel] [PATCH v2 6/6] target/mips: Guard check_insn " Fredrik Noring
2018-11-17 15:26 ` 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=cover.1541616663.git.noring@nocrew.org \
--to=noring@nocrew.org \
--cc=JuergenUrban@gmx.de \
--cc=amarkovic@wavecomp.com \
--cc=aurelien@aurel32.net \
--cc=f4bug@amsat.org \
--cc=macro@linux-mips.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.