All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] tcg/i386 guest_base improvements
@ 2016-06-04  7:54 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
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Richard Henderson @ 2016-06-04  7:54 UTC (permalink / raw)
  To: qemu-devel

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?


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(-)

-- 
2.5.5

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-30 10:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Qemu-devel] [PATCH 0/2] tcg/i386 guest_base improvements Alex Bennée

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.