From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUj7D-0001fG-Iq for qemu-devel@nongnu.org; Wed, 04 Feb 2009 09:52:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUj7D-0001el-1j for qemu-devel@nongnu.org; Wed, 04 Feb 2009 09:52:35 -0500 Received: from [199.232.76.173] (port=44556 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUj7C-0001eg-PW for qemu-devel@nongnu.org; Wed, 04 Feb 2009 09:52:34 -0500 Received: from fg-out-1718.google.com ([72.14.220.153]:39943) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LUj7C-0001Te-7u for qemu-devel@nongnu.org; Wed, 04 Feb 2009 09:52:34 -0500 Received: by fg-out-1718.google.com with SMTP id e21so1309993fga.8 for ; Wed, 04 Feb 2009 06:52:32 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1229458905-9829-1-git-send-email-froydnj@codesourcery.com> References: <1229458905-9829-1-git-send-email-froydnj@codesourcery.com> Date: Wed, 4 Feb 2009 15:52:32 +0100 Message-ID: <761ea48b0902040652o64a6df59h2a9522bd2a9caacf@mail.gmail.com> Subject: Re: [Qemu-devel] [PATCH] Fix DEBUG_TCGV compile error. From: Laurent Desnogues Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Acked-by: Laurent Desnogues On Tue, Dec 16, 2008 at 9:21 PM, 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(-) > > 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 > > > >