提交 aefbc83e 编写于 作者: A aurel32

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: NAurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7132 c046a42c-6fe2-441c-8c8c-71466251a162
上级 1d9d8b55
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册