From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbcBw-0003zE-1x for qemu-devel@nongnu.org; Fri, 05 Sep 2008 10:21:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbcBv-0003yk-3N for qemu-devel@nongnu.org; Fri, 05 Sep 2008 10:21:39 -0400 Received: from [199.232.76.173] (port=35399 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbcBu-0003yh-V4 for qemu-devel@nongnu.org; Fri, 05 Sep 2008 10:21:39 -0400 Received: from savannah.gnu.org ([199.232.41.3]:45700 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 1Kbc9q-0007IO-DF for qemu-devel@nongnu.org; Fri, 05 Sep 2008 10:19:30 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1Kbc9o-0007wR-Ml for qemu-devel@nongnu.org; Fri, 05 Sep 2008 14:19:28 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1Kbc9o-0007wN-DD for qemu-devel@nongnu.org; Fri, 05 Sep 2008 14:19:28 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Fri, 05 Sep 2008 14:19:28 +0000 Subject: [Qemu-devel] [5165] TCG fixes for target-cris 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: 5165 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5165 Author: aurel32 Date: 2008-09-05 14:19:27 +0000 (Fri, 05 Sep 2008) Log Message: ----------- TCG fixes for target-cris This patch fixes TCG errors reported on the CRIS target when TCG_DEBUG is enabled. Signed-off-by: Aurelien Jarno Acked-by: Edgar E. Iglesias Modified Paths: -------------- trunk/target-cris/translate.c Modified: trunk/target-cris/translate.c =================================================================== --- trunk/target-cris/translate.c 2008-09-05 14:19:17 UTC (rev 5164) +++ trunk/target-cris/translate.c 2008-09-05 14:19:27 UTC (rev 5165) @@ -1268,7 +1268,7 @@ tcg_gen_ext8s_i32(d, s); else if (size == 2) tcg_gen_ext16s_i32(d, s); - else if(d != s) + else if(GET_TCGV(d) != GET_TCGV(s)) tcg_gen_mov_tl(d, s); } @@ -1278,7 +1278,7 @@ tcg_gen_ext8u_i32(d, s); else if (size == 2) tcg_gen_ext16u_i32(d, s); - else if (d != s) + else if (GET_TCGV(d) != GET_TCGV(s)) tcg_gen_mov_tl(d, s); }