[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [7132] target-mips: simplify exception generation
From: |
Aurelien Jarno |
Subject: |
[Qemu-devel] [7132] target-mips: simplify exception generation |
Date: |
Fri, 17 Apr 2009 13:11:42 +0000 |
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 <address@hidden>
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 */
- [Qemu-devel] [7132] target-mips: simplify exception generation,
Aurelien Jarno <=