From: "Emilio G. Cota" <cota@braap.org>
To: qemu-devel@nongnu.org
Cc: Richard Henderson <richard.henderson@linaro.org>,
Alexander Graf <agraf@suse.de>,
Artyom Tarasenko <atar4qemu@gmail.com>,
Aurelien Jarno <aurelien@aurel32.net>,
Cornelia Huck <cohuck@redhat.com>,
David Hildenbrand <david@redhat.com>,
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
qemu-s390x@nongnu.org, Stafford Horne <shorne@gmail.com>,
Yongbok Kim <yongbok.kim@mips.com>
Subject: [Qemu-devel] [PATCHv1 00/14] Translation loop conversion for sh4/sparc/mips/s390x/openrisc targets
Date: Thu, 1 Mar 2018 17:53:44 -0500 [thread overview]
Message-ID: <1519944838-12430-1-git-send-email-cota@braap.org> (raw)
[ What is this all about? See this message:
http://lists.gnu.org/archive/html/qemu-devel/2018-02/msg04785.html ]
Merged the separate patchsets I sent in the last couple of weeks into
one set. This will be easier to merge since it will avoid potential
merge conflicts due to adding max_insns to dc->base.
Changes since sending the separate series for sh4/sparc/mips/s390x/openrisc:
- Rebased on top of master (669743979)
- Added R-b's
- sh4: no changes since v3
- mips: no changes (no reviews yet!)
- sparc:
+ Use base.singlestep_enabled and singlestep like in other targets,
e.g. Alpha.
+ Remove the unnecessary
(dc.pc - pc_start) < (TARGET_PAGE_SIZE - 32))
check.
- s390x:
+ Remove dc->pc, use pc_next instead as David suggested.
+ Use dc for DisasContext instead of s.
+ Compute next_page in translate_insn instead of keeping it in dc.
+ Looked into dropping dc->do_debug, but don't see an easy way to do so.
- openrisc:
+ Consistently use DISAS_NORETURN after generating an
exception; fixed the two call sites that Richard pointed out,
plus a couple of others that weren't visible in the previous patch.
+ Remove the dc->next_page_start field; instead, set the max_insn
bound in translate_insn.
You can fetch this series from:
https://github.com/cota/qemu/tree/trloop-conv-v1
Diffstat below.
Thanks,
Emilio
accel/tcg/translator.c | 21 +-
include/exec/translator.h | 8 +-
target/alpha/translate.c | 6 +-
target/arm/translate-a64.c | 8 +-
target/arm/translate.c | 9 +-
target/hppa/translate.c | 7 +-
target/i386/translate.c | 5 +-
target/mips/translate.c | 623 +++++------
target/openrisc/translate.c | 226 ++--
target/ppc/translate.c | 5 +-
target/s390x/translate.c | 1527 +++++++++++++--------------
target/sh4/translate.c | 171 +--
target/sparc/translate.c | 207 ++--
13 files changed, 1401 insertions(+), 1422 deletions(-)
next reply other threads:[~2018-03-01 22:54 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-01 22:53 Emilio G. Cota [this message]
2018-03-01 22:53 ` [Qemu-devel] [PATCHv1 01/14] translator: merge max_insns into DisasContextBase Emilio G. Cota
2018-03-01 22:53 ` [Qemu-devel] [PATCHv1 02/14] target/sh4: convert to TranslatorOps Emilio G. Cota
2018-03-01 22:53 ` [Qemu-devel] [PATCHv1 03/14] target/sparc: convert to DisasJumpType Emilio G. Cota
2018-03-01 22:53 ` [Qemu-devel] [PATCHv1 04/14] target/sparc: convert to DisasContextBase Emilio G. Cota
2018-03-01 22:53 ` [Qemu-devel] [PATCHv1 05/14] target/sparc: convert to TranslatorOps Emilio G. Cota
2018-03-01 22:53 ` [Qemu-devel] [PATCHv1 06/14] target/mips: convert to DisasJumpType Emilio G. Cota
2018-03-07 23:15 ` Philippe Mathieu-Daudé
2018-03-01 22:53 ` [Qemu-devel] [PATCHv1 07/14] target/mips: convert to DisasContextBase Emilio G. Cota
2018-03-07 23:21 ` Philippe Mathieu-Daudé
2018-03-01 22:53 ` [Qemu-devel] [PATCHv1 08/14] target/mips: use *ctx for DisasContext Emilio G. Cota
2018-03-07 23:18 ` Philippe Mathieu-Daudé
2018-03-01 22:53 ` [Qemu-devel] [PATCHv1 09/14] target/mips: convert to TranslatorOps Emilio G. Cota
2018-03-01 22:53 ` [Qemu-devel] [PATCHv1 10/14] target/s390x: convert to DisasJumpType Emilio G. Cota
2018-03-02 10:12 ` Cornelia Huck
2018-03-01 22:53 ` [Qemu-devel] [PATCHv1 11/14] target/s390x: convert to DisasContextBase Emilio G. Cota
2018-03-02 9:34 ` David Hildenbrand
2018-03-02 10:12 ` Cornelia Huck
2018-03-01 22:53 ` [Qemu-devel] [PATCHv1 12/14] target/s390x: convert to TranslatorOps Emilio G. Cota
2018-03-02 10:06 ` David Hildenbrand
2018-03-02 10:13 ` Cornelia Huck
2018-03-01 22:53 ` [Qemu-devel] [PATCHv1 13/14] target/openrisc: convert to DisasContextBase Emilio G. Cota
2018-03-01 22:53 ` [Qemu-devel] [PATCHv1 14/14] target/openrisc: convert to TranslatorOps Emilio G. Cota
2018-03-02 10:10 ` [Qemu-devel] [PATCHv1 00/14] Translation loop conversion for sh4/sparc/mips/s390x/openrisc targets Cornelia Huck
2018-03-05 21:58 ` Mark Cave-Ayland
2018-03-05 22:43 ` Emilio G. Cota
2018-03-07 20:41 ` Mark Cave-Ayland
2018-03-05 23:57 ` Michael Clark
2018-03-06 2:56 ` Emilio G. Cota
2018-03-06 3:40 ` Michael Clark
2018-04-04 23:21 ` Emilio G. Cota
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=1519944838-12430-1-git-send-email-cota@braap.org \
--to=cota@braap.org \
--cc=agraf@suse.de \
--cc=atar4qemu@gmail.com \
--cc=aurelien@aurel32.net \
--cc=cohuck@redhat.com \
--cc=david@redhat.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=shorne@gmail.com \
--cc=yongbok.kim@mips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).