diff options
author | Richard Henderson <rth@twiddle.net> | 2009-12-09 15:44:08 -0800 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-12-13 20:32:36 +0100 |
commit | 19188121b49d2a7c5c7fdaf663e98faa547836f0 (patch) | |
tree | 9ed07badf052a2f5263fe1d8b29fbbffee7c7568 /target-alpha | |
parent | da1f14021e52a418990cc6b6ff494887e426492f (diff) |
target-alpha: Remove bogus DO_TB_FLUSH code from translator.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-alpha')
-rw-r--r-- | target-alpha/helper.h | 2 | ||||
-rw-r--r-- | target-alpha/op_helper.c | 5 | ||||
-rw-r--r-- | target-alpha/translate.c | 8 |
3 files changed, 1 insertions, 14 deletions
diff --git a/target-alpha/helper.h b/target-alpha/helper.h index a4faca248a..9c60be1ea2 100644 --- a/target-alpha/helper.h +++ b/target-alpha/helper.h @@ -1,7 +1,5 @@ #include "def-helper.h" -DEF_HELPER_0(tb_flush, void) - DEF_HELPER_2(excp, void, int, int) DEF_HELPER_0(load_pcc, i64) DEF_HELPER_0(rc, i64) diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c index fe222dccd9..508272c85d 100644 --- a/target-alpha/op_helper.c +++ b/target-alpha/op_helper.c @@ -22,11 +22,6 @@ #include "softfloat.h" #include "helper.h" -void helper_tb_flush (void) -{ - tb_flush(env); -} - /*****************************************************************************/ /* Exceptions processing helpers */ void helper_excp (int excp, int error) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 9e7e9b2d83..ae1f5a8363 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -32,10 +32,7 @@ #define GEN_HELPER 1 #include "helper.h" -/* #define DO_SINGLE_STEP */ -#define ALPHA_DEBUG_DISAS -/* #define DO_TB_FLUSH */ - +#undef ALPHA_DEBUG_DISAS #ifdef ALPHA_DEBUG_DISAS # define LOG_DISAS(...) qemu_log(__VA_ARGS__) @@ -2428,9 +2425,6 @@ static inline void gen_intermediate_code_internal(CPUState *env, if (ret != 1 && ret != 3) { tcg_gen_movi_i64(cpu_pc, ctx.pc); } -#if defined (DO_TB_FLUSH) - gen_helper_tb_flush(); -#endif if (tb->cflags & CF_LAST_IO) gen_io_end(); /* Generate the return instruction */ |