From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWcz0-0006vr-Ji for qemu-devel@nongnu.org; Mon, 09 Feb 2009 15:43:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWcyz-0006v1-5I for qemu-devel@nongnu.org; Mon, 09 Feb 2009 15:43:58 -0500 Received: from [199.232.76.173] (port=33080 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWcyy-0006us-LZ for qemu-devel@nongnu.org; Mon, 09 Feb 2009 15:43:56 -0500 Received: from hall.aurel32.net ([88.191.82.174]:38679) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LWcyv-000115-Cu for qemu-devel@nongnu.org; Mon, 09 Feb 2009 15:43:56 -0500 Date: Mon, 9 Feb 2009 21:43:47 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] Fix DEBUG_TCGV compile error. Message-ID: <20090209204347.GF15149@volta.aurel32.net> References: <1229458905-9829-1-git-send-email-froydnj@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1229458905-9829-1-git-send-email-froydnj@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nathan Froyd Cc: qemu-devel@nongnu.org On Tue, Dec 16, 2008 at 12:21:45PM -0800, Nathan Froyd wrote: > Don't call TCGV_LOW on arg2. This section of code falls under > #if TCG_TARGET_REG_BITS == 32, so arg2 will always be a TCGv_i32. > > Signed-off-by: Nathan Froyd > --- > tcg/tcg-op.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Thanks, applied. > diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h > index 5432ac1..b52056c 100644 > --- a/tcg/tcg-op.h > +++ b/tcg/tcg-op.h > @@ -654,7 +654,7 @@ static inline void tcg_gen_ld8s_i64(TCGv_i64 ret, TCGv_ptr arg2, > static inline void tcg_gen_ld16u_i64(TCGv_i64 ret, TCGv_ptr arg2, > tcg_target_long offset) > { > - tcg_gen_ld16u_i32(TCGV_LOW(ret), TCGV_LOW(arg2), offset); > + tcg_gen_ld16u_i32(TCGV_LOW(ret), arg2, offset); > tcg_gen_movi_i32(TCGV_HIGH(ret), 0); > } > > -- > 1.6.0.5 > > > > -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net