From: "Alex Bennée" <alex.bennee@linaro.org>
To: Richard Henderson <rth@twiddle.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/2] tcg/i386 guest_base improvements
Date: Mon, 30 Jan 2017 10:40:17 +0000 [thread overview]
Message-ID: <878tps7rvy.fsf@linaro.org> (raw)
In-Reply-To: <1465026847-6744-1-git-send-email-rth@twiddle.net>
Richard Henderson <rth@twiddle.net> writes:
> The first change does two things: (1) improve bsd-user so that it
> doesn't continually reload guest_base into a temp register and
> (2) extract the bulk of the guest_base logic to a routine that
> is run once at startup.
>
> The second change adds segmentation support to 32-bit linux. There,
> if we're using a guest base, we can save 3 bytes per memory op by
> using a segment override. In addition, if we're using a reserved_va,
> we can set up the segment such that guest memory references are
> constrained by the segment.
>
> Comments?
I'm not sure how to best review this given its fairly low level
x86 stuff. Do you have any numbers to show how this improves things?
>
>
> r~
>
>
> Richard Henderson (2):
> tcg/i386: Reserve register for guest_base if a segment isn't available
> tcg/i386: Use segment for 32-bit guest base on linux
>
> tcg/i386/tcg-target.inc.c | 181 +++++++++++++++++++++++++---------------------
> 1 file changed, 100 insertions(+), 81 deletions(-)
--
Alex Bennée
prev parent reply other threads:[~2017-01-30 10:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-04 7:54 [Qemu-devel] [PATCH 0/2] tcg/i386 guest_base improvements Richard Henderson
2016-06-04 7:54 ` [Qemu-devel] [PATCH 1/2] tcg/i386: Reserve register for guest_base if a segment isn't available Richard Henderson
2016-06-04 7:54 ` [Qemu-devel] [PATCH 2/2] tcg/i386: Use segment for 32-bit guest base on linux Richard Henderson
2017-01-30 10:40 ` Alex Bennée [this message]
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=878tps7rvy.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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).