Message ID | 20181214031923.29527-3-richard.henderson@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 554B113AF for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 14 Dec 2018 03:21:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46D422CDDF for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 14 Dec 2018 03:21:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B6972CDE9; Fri, 14 Dec 2018 03:21:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DEE6B2CDDF for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 14 Dec 2018 03:21:11 +0000 (UTC) Received: from localhost ([::1]:59063 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1gXe2J-0007BX-13 for patchwork-qemu-devel@patchwork.kernel.org; Thu, 13 Dec 2018 22:21:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gXe0i-0005pX-0h for qemu-devel@nongnu.org; Thu, 13 Dec 2018 22:19:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gXe0f-0006C5-DM for qemu-devel@nongnu.org; Thu, 13 Dec 2018 22:19:31 -0500 Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]:40816) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gXe0f-0006A9-87 for qemu-devel@nongnu.org; Thu, 13 Dec 2018 22:19:29 -0500 Received: by mail-oi1-x234.google.com with SMTP id t204so3457298oie.7 for <qemu-devel@nongnu.org>; Thu, 13 Dec 2018 19:19:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NhEZSAJG05xqXtLacoC2PBUagTVyKddaBYmrH62y/sY=; b=Z9eEZHUce+UhRwgXjNkHen4V3RPBcMGsrK6g+6TmXA3c1p69Yq3q8GaeC1qzQoWDcb OAo6v5GhnKV20zjvGv8B8GMaxBY9xqDA59C81ku+aokA9qnfRUiT3ySTVNdrXV/xlEmn y5fZDR18U0Lm+j9ObFzYr1lbowvzykL3emPPg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NhEZSAJG05xqXtLacoC2PBUagTVyKddaBYmrH62y/sY=; b=RNTXuTnyNkAy9OCBdllRP+og07lgLmSl7o7/xmhYgi+o667Ecz/wgK+n04MyPSbJ2a YmVIVNoyFI43SM8+weUHX8JPZtLEL/kwDssHVcUEDK6DEASpYFd8GoJLjwYkahWF9t5a iFB79t5wFRz+36sD9mRccB11XM3Mhsb1Qo5JhVAcMZPYILIRkELDTmHKWoueugW7/KBS IZu90RCEOtzmoyJbfRz/PHRfUsKJMe5hfBqKY2/ITI0Vwse4yzTU8GHCLcvS4hnYvEaD lqWep6dipr2U4DsXbWhIHCg//iNR2pIyUBhxgMmE70+nfrzU5iNChtvy2PL+pgGR5Bxs KJdg== X-Gm-Message-State: AA+aEWbWyqQSm0hRYNCnXj+P2TkZ7Rml5P2pBcH3AGfdpTAhz3MTl4Pj SO3sWO4tglOjWbnje31eQnnWRWSrjfDrYA== X-Google-Smtp-Source: AFSGD/WAbvBH7egObsICwpY2v3UWXbdkci4ivIWRCmbPCP5cPSdcuoYSsbEj9dLNaL7Gs3s9LxyyzA== X-Received: by 2002:aca:b642:: with SMTP id g63mr764121oif.195.1544757568038; Thu, 13 Dec 2018 19:19:28 -0800 (PST) Received: from cloudburst.twiddle.net ([187.217.227.243]) by smtp.gmail.com with ESMTPSA id g138sm2367537oib.26.2018.12.13.19.19.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Dec 2018 19:19:27 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Thu, 13 Dec 2018 21:18:52 -0600 Message-Id: <20181214031923.29527-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181214031923.29527-1-richard.henderson@linaro.org> References: <20181214031923.29527-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::234 Subject: [Qemu-devel] [PULL 01/32] tcg/i386: Always use %ebp for TCG_AREG0 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[PULL,01/32] tcg/i386: Always use %ebp for TCG_AREG0
|
expand
|
diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h index 9fdf37f23c..7488c3d869 100644 --- a/tcg/i386/tcg-target.h +++ b/tcg/i386/tcg-target.h @@ -84,6 +84,8 @@ typedef enum { TCG_REG_RBP = TCG_REG_EBP, TCG_REG_RSI = TCG_REG_ESI, TCG_REG_RDI = TCG_REG_EDI, + + TCG_AREG0 = TCG_REG_EBP, } TCGReg; /* used for function call generation */ @@ -194,12 +196,6 @@ extern bool have_avx2; #define TCG_TARGET_extract_i64_valid(ofs, len) \ (((ofs) == 8 && (len) == 8) || ((ofs) + (len)) == 32) -#if TCG_TARGET_REG_BITS == 64 -# define TCG_AREG0 TCG_REG_R14 -#else -# define TCG_AREG0 TCG_REG_EBP -#endif - static inline void flush_icache_range(uintptr_t start, uintptr_t stop) { }