Message ID | 20210204015548.885449-1-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp869385jah; Wed, 3 Feb 2021 18:56:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJxl1YF1ntNbcM2RqLFHBqbTPQVNRusNGWi6M7VmbmWAcgf2kAOERjjROHzVvSK113al7tC/ X-Received: by 2002:a25:d24b:: with SMTP id j72mr8601879ybg.475.1612407368901; Wed, 03 Feb 2021 18:56:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612407368; cv=none; d=google.com; s=arc-20160816; b=zYDfQPLPWLfnLesbM4LwEP6vyQydRFz+nfaY+pHtO8MYiXEnl1kZJor1XptbjDBJLg PQhXX0t7xAs7hb9/2ag2wwxSYE/s4kp1Qy7D2w3qSB7ZHIHT7FxVO9Wh19H4lzyQmUTf TGzcvjSPkY/2Y7rJFxDhi1iom5euQZT6a6wK4U3XJhPsSHWjVjQhnZ+C8HoLbX6Ns+AW NCsam6tRm4Xu0+z7IlcejmbGP5U7wMPf66+xfEVtNiqo+2KQXuHhZmLnRSK+/gxoNcQN dBWdJeJrGESnnoxL9QVTxCtbX4VbILeLHBxoBsIBBxPpMRoknZYQ4YnOrWD1trS6nK/e hxWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=j84CVB2/9NSVvHC05jyj/ExvjNOevKnlsYLw94URCgw=; b=fEqg/IwmV+JB6HZAASl01noAKwXhtglLhN7N+iXCUL9xxF2r1Nur41idrDbJbaxnP5 areaeFcULzyEJAuu0pCujNzbsItYv0yKN853cfCxDgvkPieKFSOXRDGhaqWs6PCNwEPz pEWb3pKzsMYM3ng5aTCzuL6e5ExdABvb0nubwS4xttLiz9T+12bgGcRrUfdR4P3SQdZU w3bU18GP3yDS3tNCVD5aIfFK6B5Hl6VLbb54saqjI1eIvF7mDaU/CinOTVk1Ltv/dhpT dIi5LGzyPjjHDOFWsWw14LcVEDQ778Ih3ODTyQ1X/M1cKoAw2eAiznjpM7c6PoswkmBm 0htQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZuUkcMSw; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 189si3870838ybp.480.2021.02.03.18.56.08 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Feb 2021 18:56:08 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZuUkcMSw; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:55076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1l7UoS-0004Ab-DD for patch@linaro.org; Wed, 03 Feb 2021 21:56:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1l7TsA-0008Tw-KI for qemu-devel@nongnu.org; Wed, 03 Feb 2021 20:55:55 -0500 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]:38900) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1l7Ts9-0006kr-2r for qemu-devel@nongnu.org; Wed, 03 Feb 2021 20:55:54 -0500 Received: by mail-pj1-x1031.google.com with SMTP id l18so836523pji.3 for <qemu-devel@nongnu.org>; Wed, 03 Feb 2021 17:55:52 -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=j84CVB2/9NSVvHC05jyj/ExvjNOevKnlsYLw94URCgw=; b=ZuUkcMSw6Kg/ha7AJdzh+FWdLdVkv2o9xXbKFKN0HE8XiQkild0h2Z0tiK+ng4Aar1 a4vxG/5pw0H4ZhQ+qqwq5CzYe5frfwzEc6ajirzRwRc/pYUexUauY1+gC3dfNSk2JRg/ obGic6BWE9i6VvYrzBi2U31coZGZ+EN85yOucLX0OAuSURKCRvf1AsxqDUE85PCJrOJN 4+AsXE2bx+mszqugC5IRKwnobORGkjY0G0QuEDp1FC7rEdRqpvJmWBATGHDSDbdJD6Mj XEjQoxzg0rl3oQ2BE2TnN30K6+enHp1td/Wf/4UdGTOk4zkxNsUPxzTnIAfrPO85fBjj sENg== 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=j84CVB2/9NSVvHC05jyj/ExvjNOevKnlsYLw94URCgw=; b=ELZcMMMMMEuj69lZDtUCh9hk118tFSK4LLCbiFxKtqu4CvVaQt7FdsfXu7IPaf2xCw 0aw3zZOLmVf12gjuL/L+Isw+KergMHoNDCkYSJzHxw1XaH+ZPYzlZqtizvzIkiYevJgx 1LP21UipQXXXUWNhMW3Ae1410aqWE43HAFPHmlV10oQIg952EQbjz3fX8w+FPxKdBvRN LogIxjJ/XYQMDL66NOrIWE1z5yN1mLL3qWPrhZv9y+WtuRlcYdOBmJ5e9mLMPWtJUUgz d0QqfHiu6b0ZHf4XXQfUIEDyRXt3Ls8qG29w4Y3zklNh09ps+oHFpTkDwtCHMvAE/q2q 4sxA== X-Gm-Message-State: AOAM5326nIw1nQLVXHUujvhujOHnBYwmncIVYxAs43PmxcgD57RcaYtR /vPWfv0YDH1UvmXgwtW/9St31m4ZjWQAm0Il X-Received: by 2002:a17:90a:4dc1:: with SMTP id r1mr5967650pjl.12.1612403751853; Wed, 03 Feb 2021 17:55:51 -0800 (PST) Received: from localhost.localdomain (cpe-66-27-222-29.hawaii.res.rr.com. [66.27.222.29]) by smtp.gmail.com with ESMTPSA id 78sm3588463pfx.127.2021.02.03.17.55.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 17:55:51 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v2 83/93] tcg/tci: Reserve r13 for a temporary Date: Wed, 3 Feb 2021 15:55:48 -1000 Message-Id: <20210204015548.885449-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210204014509.882821-1-richard.henderson@linaro.org> References: <20210204014509.882821-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1031.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 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: <https://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: sw@weilnetz.de Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
TCI fixes and cleanups
|
expand
|
diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h index 4df10e2e83..1558a6e44e 100644 --- a/tcg/tci/tcg-target.h +++ b/tcg/tci/tcg-target.h @@ -155,6 +155,7 @@ typedef enum { TCG_REG_R14, TCG_REG_R15, + TCG_REG_TMP = TCG_REG_R13, TCG_AREG0 = TCG_REG_R14, TCG_REG_CALL_STACK = TCG_REG_R15, } TCGReg; diff --git a/tcg/tci/tcg-target.c.inc b/tcg/tci/tcg-target.c.inc index c2d2bd24d7..b29e75425d 100644 --- a/tcg/tci/tcg-target.c.inc +++ b/tcg/tci/tcg-target.c.inc @@ -829,6 +829,7 @@ static void tcg_target_init(TCGContext *s) MAKE_64BIT_MASK(TCG_REG_R0, 64 / TCG_TARGET_REG_BITS); s->reserved_regs = 0; + tcg_regset_set_reg(s->reserved_regs, TCG_REG_TMP); tcg_regset_set_reg(s->reserved_regs, TCG_REG_CALL_STACK); /* The call arguments come first, followed by the temp storage. */
We're about to adjust the offset range on host memory ops, and the format of branches. Both will require a temporary. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- tcg/tci/tcg-target.h | 1 + tcg/tci/tcg-target.c.inc | 1 + 2 files changed, 2 insertions(+) -- 2.25.1