From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Juu2i-0004SO-VI for qemu-devel@nongnu.org; Sat, 10 May 2008 14:43:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Juu2e-0004Oc-SE for qemu-devel@nongnu.org; Sat, 10 May 2008 14:43:36 -0400 Received: from [199.232.76.173] (port=58297 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Juu2e-0004OW-Ot for qemu-devel@nongnu.org; Sat, 10 May 2008 14:43:32 -0400 Received: from savannah.gnu.org ([199.232.41.3]:39869 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Juu2e-000492-4x for qemu-devel@nongnu.org; Sat, 10 May 2008 14:43:32 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1Juu2C-0005d9-Rh for qemu-devel@nongnu.org; Sat, 10 May 2008 18:43:05 +0000 Received: from pbrook by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1Juu2B-0005cy-Uf for qemu-devel@nongnu.org; Sat, 10 May 2008 18:43:04 +0000 MIME-Version: 1.0 Errors-To: pbrook Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Paul Brook Message-Id: Date: Sat, 10 May 2008 18:43:03 +0000 Subject: [Qemu-devel] [4415] Fix DEBUG_TCGV. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 4415 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4415 Author: pbrook Date: 2008-05-10 18:43:02 +0000 (Sat, 10 May 2008) Log Message: ----------- Fix DEBUG_TCGV. Modified Paths: -------------- trunk/tcg/tcg-op.h Modified: trunk/tcg/tcg-op.h =================================================================== --- trunk/tcg/tcg-op.h 2008-05-10 17:23:18 UTC (rev 4414) +++ trunk/tcg/tcg-op.h 2008-05-10 18:43:02 UTC (rev 4415) @@ -164,7 +164,7 @@ static inline void tcg_gen_mov_i32(TCGv ret, TCGv arg) { - if (ret != arg) + if (GET_TCGV(ret) != GET_TCGV(arg)) tcg_gen_op2(INDEX_op_mov_i32, ret, arg); } @@ -501,7 +501,7 @@ static inline void tcg_gen_mov_i64(TCGv ret, TCGv arg) { - if (ret != arg) { + if (GET_TCGV(ret) != GET_TCGV(arg)) { tcg_gen_mov_i32(ret, arg); tcg_gen_mov_i32(TCGV_HIGH(ret), TCGV_HIGH(arg)); } @@ -732,7 +732,7 @@ static inline void tcg_gen_mov_i64(TCGv ret, TCGv arg) { - if (ret != arg) + if (GET_TCGV(ret) != GET_TCGV(arg)) tcg_gen_op2(INDEX_op_mov_i64, ret, arg); }