From patchwork Wed Dec 9 23:44:08 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 40766 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 55C59B7BC5 for ; Thu, 10 Dec 2009 11:25:55 +1100 (EST) Received: from localhost ([127.0.0.1]:37987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIWqu-0002pQ-7j for incoming@patchwork.ozlabs.org; Wed, 09 Dec 2009 19:25:52 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NIWln-0000fR-9G for qemu-devel@nongnu.org; Wed, 09 Dec 2009 19:20:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NIWlk-0000cy-Gb for qemu-devel@nongnu.org; Wed, 09 Dec 2009 19:20:32 -0500 Received: from [199.232.76.173] (port=44266 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIWlk-0000cZ-5p for qemu-devel@nongnu.org; Wed, 09 Dec 2009 19:20:32 -0500 Received: from are.twiddle.net ([75.149.56.221]:47477) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NIWlj-0008Kl-JY for qemu-devel@nongnu.org; Wed, 09 Dec 2009 19:20:31 -0500 Received: by are.twiddle.net (Postfix, from userid 5000) id C2E00C8B; Wed, 9 Dec 2009 16:20:28 -0800 (PST) Message-Id: <4d88b76a20e7bb9b68f712b5681192a4a031af3a.1260403522.git.rth@twiddle.net> In-Reply-To: References: From: Richard Henderson Date: Wed, 9 Dec 2009 15:44:08 -0800 To: qemu-devel@nongnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: [Qemu-devel] [PATCH 4/7] alpha: Remove bogus DO_TB_FLUSH code from translator. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Richard Henderson --- target-alpha/helper.h | 2 -- target-alpha/op_helper.c | 5 ----- 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 a4faca2..9c60be1 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 fe222dc..508272c 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 9e7e9b2..ae1f5a8 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 */