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: 9868 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id B7E5423E4F for ; Thu, 5 Jul 2012 21:29:07 +0000 (UTC) Received: from mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id 879A1A18708 for ; Thu, 5 Jul 2012 21:29:07 +0000 (UTC) Received: by ghbz12 with SMTP id z12so8591409ghb.11 for ; Thu, 05 Jul 2012 14:29:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=HIGNPtqUKlDZ3S8qRWCZYP/VwOtl1Qqblv35Z/9km20=; b=mJwCXz6u7HsI+bWBPpO9PSdc2Ex0/dTc4zoIXGww2PLmyxXs9LU3dpYzn1qW//LSrc hmjwaPC+EZauYTlRol/Qit5mJRejQjCwPUHG5dX9xoeOk27NHn6pRnsaOHluY6Qxv/b/ HC/81NSZTwIgfCXohBcOCGUVAJaIcqH15mbY4QT9fjkauBMWVBzzbEgL4y2w2PvHKNeQ Nh+L7YpyoyvqLUi6lybhmQESJ3XaBzE3jz3SCl2Nn/N/vMJZ4LBzEUXfJgePdPfdz8Ca Qjjusoyp1G6Eh4s3Urx7/17LUGwv4b3F2wD/zH+kCEFr6KoNenOMO7KEYeN9hig0IV0q LwIQ== Received: by 10.50.160.198 with SMTP id xm6mr1026333igb.0.1341523746603; Thu, 05 Jul 2012 14:29:06 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp1078ibb; Thu, 5 Jul 2012 14:29:04 -0700 (PDT) Received: by 10.205.118.14 with SMTP id fo14mr8325701bkc.130.1341523743706; Thu, 05 Jul 2012 14:29:03 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id hw4si23924178bkc.83.2012.07.05.14.29.02 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Jul 2012 14:29:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) client-ip=81.2.115.146; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) smtp.mail=pm215@archaic.org.uk 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 Cc: patches@linaro.org, Stefan Weil , Blue Swirl Subject: [PATCH 1/3] target-i386: Remove unused macros 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-Gm-Message-State: ALoCoQlzypgzgdgD7/jZedzOkgm2okVacxqMi/1gMskk+auQDPVi9ZNzTx+kUA3tm+RY8DjL47AL 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