From patchwork Thu Jul 5 21:28:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 169275 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4210F2C01CC for ; Fri, 6 Jul 2012 07:29:16 +1000 (EST) Received: from localhost ([::1]:36305 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smtbt-0008P8-KD for incoming@patchwork.ozlabs.org; Thu, 05 Jul 2012 17:29:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smtbl-0008LD-CR for qemu-devel@nongnu.org; Thu, 05 Jul 2012 17:29:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Smtbj-0001vj-M4 for qemu-devel@nongnu.org; Thu, 05 Jul 2012 17:29:04 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:38077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smtbj-0001vS-FU for qemu-devel@nongnu.org; Thu, 05 Jul 2012 17:29:03 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1Smtbg-0005um-VB; Thu, 05 Jul 2012 22:29:00 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Thu, 5 Jul 2012 22:28:58 +0100 Message-Id: <1341523740-22711-2-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1341523740-22711-1-git-send-email-peter.maydell@linaro.org> References: <1341523740-22711-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 81.2.115.146 Cc: Blue Swirl , Stefan Weil , patches@linaro.org Subject: [Qemu-devel] [PATCH 1/3] target-i386: Remove unused macros X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Commit 11f8cdb removed all the uses of the X86_64_ONLY macro. The BUGGY_64() macro has been unused for a long time: it originally marked some ops which couldn't be enabled because of issues with the pre-TCG code generation scheme. Remove the now-unnecessary definitions of both macros. Signed-off-by: Peter Maydell Reviewed-by: Stefan Weil --- target-i386/translate.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/target-i386/translate.c b/target-i386/translate.c index a00a6a1..8d696ea 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -38,17 +38,11 @@ #define PREFIX_ADR 0x10 #ifdef TARGET_X86_64 -#define X86_64_ONLY(x) x #define X86_64_DEF(...) __VA_ARGS__ #define CODE64(s) ((s)->code64) #define REX_X(s) ((s)->rex_x) #define REX_B(s) ((s)->rex_b) -/* XXX: gcc generates push/pop in some opcodes, so we cannot use them */ -#if 1 -#define BUGGY_64(x) NULL -#endif #else -#define X86_64_ONLY(x) NULL #define X86_64_DEF(...) #define CODE64(s) 0 #define REX_X(s) 0