From patchwork Sat Jan 8 06:36:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 530702 Delivered-To: patch@linaro.org Received: by 2002:ad5:544f:0:0:0:0:0 with SMTP id a15csp997269imp; Fri, 7 Jan 2022 23:58:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3A0dHWwYZRVhydtlKSscRMXVkOJEnChGHzyiihwQZDlPKCM6wUbQ68/cK93xPb9oJ1p0/ X-Received: by 2002:a25:cccf:: with SMTP id l198mr33332110ybf.608.1641628726779; Fri, 07 Jan 2022 23:58:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641628726; cv=none; d=google.com; s=arc-20160816; b=uv4NdpixBd+gILfqE5SBsU5nRB8/1FJiBPho0ipMVz1ckoZslG3ddgzMtsgU9VY+Bw 5xLHrC8ndknBmNtTQiTLj88N0hiQ/0W6dawlyrJwDXSZDxfAF98c8GNzmK8TjujvI3el B3l+E/BEqxjsTsmS7UMDGspmQr/CKgx9tSZ8Od4mNznU/DJG/6HmJINAFMZnqndhJIO7 e37hBboeGve8yLMIlRtqFwtnUbmTD3VVNd194MWUSGBJOZ9Xmv66QyGYKl9LbgKW0ZZs sYCL/AvBP2q+D4xgniNfJsb9pzqrN5MJpHF9YkrdGOyKIwmNMtKDngKBZ5AgHurlFovN jk9g== 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=zVgPy1si4yjxxz6mZk4TkdamYUEEeS8CxpBgD8+viKw=; b=zKpfnmbQa7/XmgswzwU1YCw3/tfBh998MMTGE5WrjQNix3OoIglU9PEuj/HnifkNKV bjwvFW0AkYFXab0noyce6Q3SNN5qjD1ZHLa7zXDyytriThKdA53TjJfycivAT8I3ks6U bWfX+pG2QBsSLBM1NNAUi62a0sW28FUToJIRwSRP/AUHdBq++IE+lVrzeaPwaspKNvRG EMXZo9JLhhHZXPeBNCIGwhVzWmVqg+QfJhUCk5RUIxcnmVYP/rUkGEiu0VDf7wnULrOh sJOW8s4p7idFNEb2uJczswmNH3QNRS0kAG4rEaPo8geU4mjtyN9mKJlGWTsNChlm3KWa 51YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=QhjJqBqy; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v6si694237ybl.515.2022.01.07.23.58.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Jan 2022 23:58:46 -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=fail header.i=@linaro.org header.s=google header.b=QhjJqBqy; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:57282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n66cg-0001Nr-98 for patch@linaro.org; Sat, 08 Jan 2022 02:58:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n65LT-0005eq-Nf for qemu-devel@nongnu.org; Sat, 08 Jan 2022 01:36:55 -0500 Received: from [2607:f8b0:4864:20::1030] (port=53022 helo=mail-pj1-x1030.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n65LS-00047D-4I for qemu-devel@nongnu.org; Sat, 08 Jan 2022 01:36:55 -0500 Received: by mail-pj1-x1030.google.com with SMTP id pj2so5883021pjb.2 for ; Fri, 07 Jan 2022 22:36:53 -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=zVgPy1si4yjxxz6mZk4TkdamYUEEeS8CxpBgD8+viKw=; b=QhjJqBqyHaj8QOIEYINho78lXXWmEOfCvSjca27mxgIsuJq/GjWBUdD1G7EJtWk2Xg FKTAvRWK+eXiGEpfLIIyNe99i31JaIsf+S2rcs972jV6g2jUQR8YAHCcQfM8KSjn2IyR S4qwzPJY4ptqE4ZAfJ8r/AQotW4ahBiqHhU2Qte56eYzMFdMMxg5VWO9GZvRpnJbVyc2 mhaMdmEwNwaceYBXqSfocgh16+B63uuKRKYKCgIjRWbldtU7GlWG4B4dGsm9pQrypjPC mXM73DlYr9qabguBzEm1lV8/CXkISNe17J8Rkwb3YzV1tI2ZIoyiszbBVlrByuMdsBYI lB5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zVgPy1si4yjxxz6mZk4TkdamYUEEeS8CxpBgD8+viKw=; b=qBGjTsdO2tOI0lvlD3zfAHW0qfZg8EjafMWRgvjaKRhuSs41FcdG/R/CUPRG5/V7a9 zHQwxbFPU4xzCrUEfqYZfvZLxIwX/y/oMfwkSnxMkBigPzM95vp5wpFQyzNLr8WlKNt9 8nHbdMW5+4yh+CIG647lERxnJ4GclCDMRAcaCeCrdZmyYxZ8tktDJ9BR7oqqHmWVGPTd v8C2EwYi1WxpRuB6gSYuNHGc0owSd6zr/2GJhlogOB8Kl4Rfwi8PbfspY/4dPEPcASz/ 9Aoa7d5y+syO8C9iw5EIDiPLxYpkLrX/G7sV4iX1wn5Dcs9ZXeZ+4J4MCdCdPESbmTxr VPbA== X-Gm-Message-State: AOAM53374cWmNh6RkML4cQMjt8NeHeZZMUoseS33VIxCDAi3+l38EWRz AVemwuqsvLpRRTllGWLicX+LqjLuLsqhiQ== X-Received: by 2002:a17:90b:1c05:: with SMTP id oc5mr19091105pjb.31.1641623812876; Fri, 07 Jan 2022 22:36:52 -0800 (PST) Received: from localhost.localdomain (174-21-75-75.tukw.qwest.net. [174.21.75.75]) by smtp.gmail.com with ESMTPSA id z4sm840954pfh.215.2022.01.07.22.36.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jan 2022 22:36:52 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v4 04/12] tcg/mips: Move TCG_GUEST_BASE_REG to S7 Date: Fri, 7 Jan 2022 22:36:36 -0800 Message-Id: <20220108063644.478043-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220108063644.478043-1-richard.henderson@linaro.org> References: <20220108063644.478043-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::1030 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1030.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: f4bug@amsat.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" No functional change; just moving the saved reserved regs to the end. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- tcg/mips/tcg-target.c.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcg/mips/tcg-target.c.inc b/tcg/mips/tcg-target.c.inc index 5702a6ad92..1bfe6aea0e 100644 --- a/tcg/mips/tcg-target.c.inc +++ b/tcg/mips/tcg-target.c.inc @@ -86,7 +86,7 @@ static const char * const tcg_target_reg_names[TCG_TARGET_NB_REGS] = { #define TCG_TMP3 TCG_REG_T7 #ifndef CONFIG_SOFTMMU -#define TCG_GUEST_BASE_REG TCG_REG_S1 +#define TCG_GUEST_BASE_REG TCG_REG_S7 #endif /* check if we really need so many registers :P */ @@ -2555,7 +2555,7 @@ static const int tcg_target_callee_save_regs[] = { TCG_REG_S4, TCG_REG_S5, TCG_REG_S6, - TCG_REG_S7, + TCG_REG_S7, /* used for guest_base */ TCG_REG_S8, /* used for the global env (TCG_AREG0) */ TCG_REG_RA, /* should be last for ABI compliance */ };