qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5] tcg: Initialize prologue after guest_base fixed
@ 2010-05-06 15:50 Richard Henderson
  2010-05-06 15:50 ` [Qemu-devel] [PATCH 1/5] tcg: Initialize the prologue after GUEST_BASE is fixed Richard Henderson
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Richard Henderson @ 2010-05-06 15:50 UTC (permalink / raw)
  To: qemu-devel; +Cc: aurelien

By doing this we can make any number of decisions about code generation
during the prologue.  For instance, we can decide whether or not to
reserve a register to hold the value of GUEST_BASE.

This fixes a latent bug in the two ppc ports in that GUEST_BASE was 
being loaded as an immediate before the final value of GUEST_BASE is
computed.

This also fixes some register reservation problems I noticed in the
ia64 port, while trying to decide which register to use for holding
GUEST_BASE across the TB.


r~



Richard Henderson (5):
  tcg: Initialize the prologue after GUEST_BASE is fixed.
  tcg-hppa: Load GUEST_BASE as an immediate.
  tcg-ia64: Fix some register usage issues.
  tcg-ia64: Load GUEST_BASE into a register.
  tcg-ppc: Conditionally reserve TCG_GUEST_BASE_REG.

 bsd-user/main.c        |    9 ++-
 exec.c                 |    5 +
 linux-user/main.c      |    9 ++-
 tcg/hppa/tcg-target.c  |   12 +--
 tcg/ia64/tcg-target.c  |  199 +++++++++++++++++++++++++++++++-----------------
 tcg/ppc/tcg-target.c   |    8 +-
 tcg/ppc64/tcg-target.c |    9 +-
 tcg/tcg.c              |    3 +
 tcg/tcg.h              |    1 +
 9 files changed, 167 insertions(+), 88 deletions(-)

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

end of thread, other threads:[~2010-05-21 16:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06 15:50 [Qemu-devel] [PATCH 0/5] tcg: Initialize prologue after guest_base fixed Richard Henderson
2010-05-06 15:50 ` [Qemu-devel] [PATCH 1/5] tcg: Initialize the prologue after GUEST_BASE is fixed Richard Henderson
2010-05-06 15:50 ` [Qemu-devel] [PATCH 2/5] tcg-hppa: Load GUEST_BASE as an immediate Richard Henderson
2010-05-06 15:50 ` [Qemu-devel] [PATCH 3/5] tcg-ia64: Fix some register usage issues Richard Henderson
2010-05-06 15:50 ` [Qemu-devel] [PATCH 4/5] tcg-ia64: Load GUEST_BASE into a register Richard Henderson
2010-05-06 15:50 ` [Qemu-devel] [PATCH 5/5] tcg-ppc: Conditionally reserve TCG_GUEST_BASE_REG Richard Henderson
2010-05-21 16:41 ` [Qemu-devel] [PATCH 0/5] tcg: Initialize prologue after guest_base fixed Aurelien Jarno

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