[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 001/126] tcg: Add TCGV_IS_UNUSED_*
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [PATCH 001/126] tcg: Add TCGV_IS_UNUSED_* |
Date: |
Mon, 10 Sep 2012 16:16:48 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Sun, Sep 09, 2012 at 02:04:19PM -0700, Richard Henderson wrote:
> Signed-off-by: Richard Henderson <address@hidden>
> Cc: Aurelien Jarno <address@hidden>
> ---
> tcg/tcg.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tcg/tcg.h b/tcg/tcg.h
> index d710694..a9367fe 100644
> --- a/tcg/tcg.h
> +++ b/tcg/tcg.h
> @@ -251,6 +251,9 @@ typedef int TCGv_i64;
> #define TCGV_UNUSED_I32(x) x = MAKE_TCGV_I32(-1)
> #define TCGV_UNUSED_I64(x) x = MAKE_TCGV_I64(-1)
>
> +#define TCGV_IS_UNUSED_I32(x) (GET_TCGV_I32(x) == -1)
> +#define TCGV_IS_UNUSED_I64(x) (GET_TCGV_I64(x) == -1)
> +
> /* call flags */
> /* A pure function only reads its arguments and TCG global variables
> and cannot raise exceptions. Hence a call to a pure function can be
Looks fine.
Reviewed: Aurelien Jarno <address@hidden>
--
Aurelien Jarno GPG: 1024D/F1BCDB73
address@hidden http://www.aurel32.net
- [Qemu-devel] [PATCH 000/126] Rewrite s390x translator, Richard Henderson, 2012/09/09
- [Qemu-devel] [PATCH 001/126] tcg: Add TCGV_IS_UNUSED_*, Richard Henderson, 2012/09/09
- Re: [Qemu-devel] [PATCH 001/126] tcg: Add TCGV_IS_UNUSED_*,
Aurelien Jarno <=
- [Qemu-devel] [PATCH 006/126] target-s390: Add missing temp_free in gen_op_calc_cc, Richard Henderson, 2012/09/09
- [Qemu-devel] [PATCH 002/126] tcg: Add TCG_COND_NEVER, TCG_COND_ALWAYS, Richard Henderson, 2012/09/09
- [Qemu-devel] [PATCH 004/126] target-s390: Fix disassembly of cpsdr, Richard Henderson, 2012/09/09
- [Qemu-devel] [PATCH 005/126] target-s390: Fix gdbstub, Richard Henderson, 2012/09/09
[Qemu-devel] [PATCH 003/126] target-s390: Disassemble more z10 and z196 opcodes, Richard Henderson, 2012/09/09