summaryrefslogtreecommitdiff
path: root/tcg/tcg-op.h
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-10 10:29:45 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-10 10:29:45 +0000
commit43e860ef0989ac152854ad5775295e86656bdf4e (patch)
treef16affb863f72897b3fbe2a547046561ceeb779d /tcg/tcg-op.h
parenta3fe901337703a04d39f4fe8444b03c8aa37bd3c (diff)
downloadqemu-43e860ef0989ac152854ad5775295e86656bdf4e.tar.gz
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-op.h')
-rw-r--r--tcg/tcg-op.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h
index c5a4b34dcc..b5d0847d97 100644
--- a/tcg/tcg-op.h
+++ b/tcg/tcg-op.h
@@ -1435,7 +1435,7 @@ static inline void tcg_gen_not_i32(TCGv_i32 ret, TCGv_i32 arg)
static inline void tcg_gen_not_i64(TCGv_i64 ret, TCGv_i64 arg)
{
#ifdef TCG_TARGET_HAS_not_i64
- tcg_gen_op2_i32(INDEX_op_not_i64, ret, arg);
+ tcg_gen_op2_i64(INDEX_op_not_i64, ret, arg);
#else
tcg_gen_xori_i64(ret, arg, -1);
#endif