From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JtK13-0000dO-2u for qemu-devel@nongnu.org; Tue, 06 May 2008 06:03:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JtK11-0000cc-Ac for qemu-devel@nongnu.org; Tue, 06 May 2008 06:03:20 -0400 Received: from [199.232.76.173] (port=45368 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtK11-0000cU-7T for qemu-devel@nongnu.org; Tue, 06 May 2008 06:03:19 -0400 Received: from savannah.gnu.org ([199.232.41.3] 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 1JtK10-0004aW-Qa for qemu-devel@nongnu.org; Tue, 06 May 2008 06:03:18 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1JtK0z-00039h-2o for qemu-devel@nongnu.org; Tue, 06 May 2008 10:03:17 +0000 Received: from ths by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1JtK0y-00039c-Pw for qemu-devel@nongnu.org; Tue, 06 May 2008 10:03:16 +0000 MIME-Version: 1.0 Errors-To: ths Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Thiemo Seufer Message-Id: Date: Tue, 06 May 2008 10:03:16 +0000 Subject: [Qemu-devel] [4355] Fix MIPS64 branches. 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: 4355 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4355 Author: ths Date: 2008-05-06 10:03:16 +0000 (Tue, 06 May 2008) Log Message: ----------- Fix MIPS64 branches. Funny how this survived testing. Modified Paths: -------------- trunk/target-mips/translate.c Modified: trunk/target-mips/translate.c =================================================================== --- trunk/target-mips/translate.c 2008-05-06 09:55:56 UTC (rev 4354) +++ trunk/target-mips/translate.c 2008-05-06 10:03:16 UTC (rev 4355) @@ -1763,7 +1763,7 @@ int r_tmp = tcg_temp_new(TCG_TYPE_TL); tcg_gen_ld_tl(r_tmp, cpu_env, offsetof(CPUState, bcond)); - tcg_gen_brcond_tl(TCG_COND_NE, r_tmp, tcg_const_i32(0), label); + tcg_gen_brcond_tl(TCG_COND_NE, r_tmp, tcg_const_tl(0), label); } /* Branches (before delay slot) */