From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47280 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFVIW-0002kP-Lp for qemu-devel@nongnu.org; Fri, 21 May 2010 12:42:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFVIU-0006TO-LY for qemu-devel@nongnu.org; Fri, 21 May 2010 12:42:08 -0400 Received: from hall.aurel32.net ([88.191.82.174]:38834) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFVIU-0006T7-Ds for qemu-devel@nongnu.org; Fri, 21 May 2010 12:42:06 -0400 Date: Fri, 21 May 2010 18:41:51 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH 0/5] tcg: Initialize prologue after guest_base fixed Message-ID: <20100521164151.GQ1950@volta.aurel32.net> References: <1273161045-2880-1-git-send-email-rth@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1273161045-2880-1-git-send-email-rth@twiddle.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel@nongnu.org On Thu, May 06, 2010 at 08:50:40AM -0700, Richard Henderson wrote: > 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(-) > Thanks, applied patches 1-4. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net