From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LunrB-0001gb-5U for qemu-devel@nongnu.org; Fri, 17 Apr 2009 09:11:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lunr9-0001db-G1 for qemu-devel@nongnu.org; Fri, 17 Apr 2009 09:11:48 -0400 Received: from [199.232.76.173] (port=39794 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lunr9-0001dM-CH for qemu-devel@nongnu.org; Fri, 17 Apr 2009 09:11:47 -0400 Received: from savannah.gnu.org ([199.232.41.3]:56902 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 1Lunr8-0003U0-NX for qemu-devel@nongnu.org; Fri, 17 Apr 2009 09:11:46 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Lunr4-0006dK-V0 for qemu-devel@nongnu.org; Fri, 17 Apr 2009 13:11:43 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1Lunr4-0006dA-Fe for qemu-devel@nongnu.org; Fri, 17 Apr 2009 13:11:42 +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, 17 Apr 2009 13:11:42 +0000 Subject: [Qemu-devel] [7132] target-mips: simplify exception generation 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: 7132 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7132 Author: aurel32 Date: 2009-04-17 13:11:42 +0000 (Fri, 17 Apr 2009) Log Message: ----------- target-mips: simplify exception generation There is no need to exit the tb after a call to helper_raise_exception as it already calls cpu_loop_exit(). Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/target-mips/translate.c Modified: trunk/target-mips/translate.c =================================================================== --- trunk/target-mips/translate.c 2009-04-16 15:17:02 UTC (rev 7131) +++ trunk/target-mips/translate.c 2009-04-17 13:11:42 UTC (rev 7132) @@ -793,8 +793,6 @@ gen_helper_raise_exception_err(texcp, terr); tcg_temp_free_i32(terr); tcg_temp_free_i32(texcp); - gen_helper_interrupt_restart(); - tcg_gen_exit_tb(0); } static inline void @@ -802,8 +800,6 @@ { save_cpu_state(ctx, 1); gen_helper_0i(raise_exception, excp); - gen_helper_interrupt_restart(); - tcg_gen_exit_tb(0); } /* Addresses computation */