diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-10 10:29:45 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-10 10:29:45 +0000 |
commit | 43e860ef0989ac152854ad5775295e86656bdf4e (patch) | |
tree | f16affb863f72897b3fbe2a547046561ceeb779d /tcg/tcg.h | |
parent | a3fe901337703a04d39f4fe8444b03c8aa37bd3c (diff) | |
download | qemu-43e860ef0989ac152854ad5775295e86656bdf4e.zip qemu-43e860ef0989ac152854ad5775295e86656bdf4e.tar.gz qemu-43e860ef0989ac152854ad5775295e86656bdf4e.tar.bz2 |
Fix tcg after commit 6800
The introduction of TCGV_EQUAL and not op is slightly broken.
The definition of DEBUG_TCGV shows that.
Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6802 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r-- | tcg/tcg.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -153,8 +153,6 @@ 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) @@ -163,6 +161,9 @@ typedef int TCGv_i64; #endif /* DEBUG_TCGV */ +#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)) + /* Dummy definition to avoid compiler warnings. */ #define TCGV_UNUSED_I32(x) x = MAKE_TCGV_I32(-1) #define TCGV_UNUSED_I64(x) x = MAKE_TCGV_I64(-1) |