qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Fix DEBUG_TCGV compile error.


From: Aurelien Jarno
Subject: Re: [Qemu-devel] [PATCH] Fix DEBUG_TCGV compile error.
Date: Mon, 9 Feb 2009 21:43:47 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

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 <address@hidden>
> ---
>  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
address@hidden                 http://www.aurel32.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]