提交 19188121 编写于 作者: R Richard Henderson 提交者: Aurelien Jarno

target-alpha: Remove bogus DO_TB_FLUSH code from translator.

Signed-off-by: NRichard Henderson <rth@twiddle.net>
Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
上级 da1f1402
#include "def-helper.h" #include "def-helper.h"
DEF_HELPER_0(tb_flush, void)
DEF_HELPER_2(excp, void, int, int) DEF_HELPER_2(excp, void, int, int)
DEF_HELPER_0(load_pcc, i64) DEF_HELPER_0(load_pcc, i64)
DEF_HELPER_0(rc, i64) DEF_HELPER_0(rc, i64)
......
...@@ -22,11 +22,6 @@ ...@@ -22,11 +22,6 @@
#include "softfloat.h" #include "softfloat.h"
#include "helper.h" #include "helper.h"
void helper_tb_flush (void)
{
tb_flush(env);
}
/*****************************************************************************/ /*****************************************************************************/
/* Exceptions processing helpers */ /* Exceptions processing helpers */
void helper_excp (int excp, int error) void helper_excp (int excp, int error)
......
...@@ -32,10 +32,7 @@ ...@@ -32,10 +32,7 @@
#define GEN_HELPER 1 #define GEN_HELPER 1
#include "helper.h" #include "helper.h"
/* #define DO_SINGLE_STEP */ #undef ALPHA_DEBUG_DISAS
#define ALPHA_DEBUG_DISAS
/* #define DO_TB_FLUSH */
#ifdef ALPHA_DEBUG_DISAS #ifdef ALPHA_DEBUG_DISAS
# define LOG_DISAS(...) qemu_log(__VA_ARGS__) # define LOG_DISAS(...) qemu_log(__VA_ARGS__)
...@@ -2428,9 +2425,6 @@ static inline void gen_intermediate_code_internal(CPUState *env, ...@@ -2428,9 +2425,6 @@ static inline void gen_intermediate_code_internal(CPUState *env,
if (ret != 1 && ret != 3) { if (ret != 1 && ret != 3) {
tcg_gen_movi_i64(cpu_pc, ctx.pc); tcg_gen_movi_i64(cpu_pc, ctx.pc);
} }
#if defined (DO_TB_FLUSH)
gen_helper_tb_flush();
#endif
if (tb->cflags & CF_LAST_IO) if (tb->cflags & CF_LAST_IO)
gen_io_end(); gen_io_end();
/* Generate the return instruction */ /* Generate the return instruction */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册