summaryrefslogtreecommitdiff
path: root/target-mips
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-17 13:11:42 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-17 13:11:42 +0000
commit90267b6352e39379fe5b02b4dd32a6db4e18564b (patch)
treed504787e2b334327bc46fa5503dd5a61f09dcc90 /target-mips
parent8105189e23ab881084e15811289fa7fd967201fe (diff)
downloadqemu-90267b6352e39379fe5b02b4dd32a6db4e18564b.tar.gz
qemu-90267b6352e39379fe5b02b4dd32a6db4e18564b.tar.bz2
qemu-90267b6352e39379fe5b02b4dd32a6db4e18564b.zip
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 <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7132 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips')
-rw-r--r--target-mips/translate.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c
index 2b617c5518..a6da67b7ce 100644
--- a/target-mips/translate.c
+++ b/target-mips/translate.c
@@ -793,8 +793,6 @@ generate_exception_err (DisasContext *ctx, int excp, int err)
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 @@ generate_exception (DisasContext *ctx, int excp)
{
save_cpu_state(ctx, 1);
gen_helper_0i(raise_exception, excp);
- gen_helper_interrupt_restart();
- tcg_gen_exit_tb(0);
}
/* Addresses computation */