diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-10 08:56:30 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-10 08:56:30 +0000 |
commit | 44e6acb017c0cad72359008a8f92e99faac4b1d9 (patch) | |
tree | 4e6a34eca71edf85a040ca79f54d55e9d9e69bf4 /tcg/tcg.h | |
parent | c29d0de4d67f09674f7070a5e9a648f1d5074d8e (diff) | |
download | qemu-44e6acb017c0cad72359008a8f92e99faac4b1d9.zip qemu-44e6acb017c0cad72359008a8f92e99faac4b1d9.tar.gz qemu-44e6acb017c0cad72359008a8f92e99faac4b1d9.tar.bz2 |
tcg: define TCGV_EQUAL_I{32,64}
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6799 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r-- | tcg/tcg.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |