From: Aurelien Jarno <aurelien@aurel32.net>
To: Richard Henderson <rth@twiddle.net>
Cc: qemu-devel@nongnu.org, thuth@redhat.com
Subject: Re: [Qemu-devel] [PATCH 4/4] target/s390x: Re-implement a few EXECUTE target insns directly
Date: Fri, 26 May 2017 01:12:59 +0200 [thread overview]
Message-ID: <20170525231259.nkzs2rdmscufnezw@aurel32.net> (raw)
In-Reply-To: <20170524220827.21154-5-rth@twiddle.net>
On 2017-05-24 15:08, Richard Henderson wrote:
> While the previous patch is required for proper conformance,
> the vast majority of target insns are MVC and XC for implementing
> memmove and memset respectively. The next most common are CLC,
> TR, and SVC.
>
> Implementing these (and a few others for which we already have
> an implementation) directly is faster than going through full
> translation to a TB.
>
> Signed-off-by: Richard Henderson <rth@twiddle.net>
> ---
> target/s390x/mem_helper.c | 66 ++++++++++++++++++++++++++++++++++++-----------
> 1 file changed, 51 insertions(+), 15 deletions(-)
I have mixed feelings about this patch. On one side it is correct. On
the other side, I don't know if it really worth it. With the goto_ptr
optimization, it can be executed quite fast once it has been translated
once.
So in short, I leave you decide:
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net
next prev parent reply other threads:[~2017-05-25 23:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-24 22:08 [Qemu-devel] [PATCH 0/4] target/s390x Implement EXECUTE via TranslationBlock Richard Henderson
2017-05-24 22:08 ` [Qemu-devel] [PATCH 1/4] target/s390x: Save current ilen during translation Richard Henderson
2017-05-25 22:57 ` Aurelien Jarno
2017-06-01 8:30 ` David Hildenbrand
2017-05-24 22:08 ` [Qemu-devel] [PATCH 2/4] target/s390x: End the TB after EXECUTE Richard Henderson
2017-05-25 22:58 ` Aurelien Jarno
2017-05-24 22:08 ` [Qemu-devel] [PATCH 3/4] target/s390x: Implement EXECUTE via new TranslationBlock Richard Henderson
2017-05-25 22:58 ` Aurelien Jarno
2017-05-24 22:08 ` [Qemu-devel] [PATCH 4/4] target/s390x: Re-implement a few EXECUTE target insns directly Richard Henderson
2017-05-25 23:12 ` Aurelien Jarno [this message]
2017-05-26 21:10 ` Richard Henderson
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=20170525231259.nkzs2rdmscufnezw@aurel32.net \
--to=aurelien@aurel32.net \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
--cc=thuth@redhat.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.