From: aurel32 Date: Tue, 10 Mar 2009 08:56:30 +0000 (+0000) Subject: tcg: define TCGV_EQUAL_I{32,64} X-Git-Tag: TizenStudio_2.0_p2.3~9446 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d3ec5c1de10860fa0c1a6f431e5dc4c220bc46e3;p=sdk%2Femulator%2Fqemu.git tcg: define TCGV_EQUAL_I{32,64} Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6799 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/tcg/tcg.h b/tcg/tcg.h index 622c0c5..eb958f4 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -153,6 +153,9 @@ typedef int TCGv_i64; #define MAKE_TCGV_I64(x) (x) #define GET_TCGV_I32(t) (t) #define GET_TCGV_I64(t) (t) +#define TCGV_EQUAL_I32(a, b) (GET_TCGV_I32(a) == GET_TCGV_I32(b)) +#define TCGV_EQUAL_I64(a, b) (GET_TCGV_I64(a) == GET_TCGV_I64(b)) + #if TCG_TARGET_REG_BITS == 32 #define TCGV_LOW(t) (t) #define TCGV_HIGH(t) ((t) + 1)