Skip to content

Commit

Permalink
target-alpha: Remove bogus DO_TB_FLUSH code from translator.
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Henderson <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
  • Loading branch information
rth7680 authored and aurel32 committed Dec 13, 2009
1 parent da1f140 commit 1918812
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
2 changes: 0 additions & 2 deletions target-alpha/helper.h
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
5 changes: 0 additions & 5 deletions target-alpha/op_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 1 addition & 7 deletions target-alpha/translate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 1918812

Please sign in to comment.