Message ID | 20220428143958.2451229-2-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | 35be15069dc1c26e58597592fb84e4af28092de9 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp5526870map; Thu, 28 Apr 2022 07:47:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1S4nI8C834b2xoFbihNEObMj+owJpuvKsVe2hQc0ER531bltsaUXVpGi79TweFq9o5lKj X-Received: by 2002:a25:f20f:0:b0:648:dd02:d41b with SMTP id i15-20020a25f20f000000b00648dd02d41bmr7050853ybe.270.1651157265714; Thu, 28 Apr 2022 07:47:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651157265; cv=none; d=google.com; s=arc-20160816; b=cPo5vPQPrq0PkAWegLRkah7u0IM16UTGMSFVsRff7cV2rdCnwKOPHb6TsVO+91TpM2 ByiyIPIItVttO1Bev6xq4vMPB85hXjFyl+UMIq8EJ85ZQNWloltx8V1CRkwnwItVMlAv 4/UrzCYX4/HUCpj7UCLhVkc1hZcWnudqwWc0KMjGc65PWoMiAMcum8T8+LsFc71t+JSc /J/FBkzn79uxHtJkxeabj3I1LYgrUIMdGdWzZuOwV0X/i41fO4E3XLyIbGPUUnh+GINX 7bqcr7YppJM4pZ7CoyWKcv4gpU23FVroq8wBKiiawvdJcqIhfako5pvxwAz9LUhQTtkV ABXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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=yb+iuq8ARbvLTMWVY5FiuT21nEEV2wmzA7WlkC92EOM=; b=fDk5B8vtne0584nKVobcwDP8QbLGlZd1jiNdaF1lP0h0hVZ/184H1Z/qbU3eTlm4ux gLfN32wNvTCC8XBBziTFNoMHiIY7wbekhh/WOoIiJsTQCwDxNWDxe8Vs3Jmx6W8N3/xu A1QoIen+lJYzKOvPaY+V6OoLcmcwYXbQ+X4f8Z8xwOPCfO/RCnjaq7H0F93wppgyj03b oZJpNB1rVMBbJ1x8/tTueiCy4WAygZcoAzXtFhBxg7Pd3/u4TIMKspEc9r3GuW2cYFZD 2ub1sygDLb/3U4VCHYObcyYQcNfiQVfmrAx9C7cD2Q9SCxCjuTvXVgonEI7r6uLrxoqm +dqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DXOdPuED; 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 o190-20020a0dfec7000000b002f7ce2c64e7si4102656ywf.420.2022.04.28.07.47.45 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Apr 2022 07:47:45 -0700 (PDT) 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=DXOdPuED; 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]:56146 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 1nk5Qn-0000gj-8C for patch@linaro.org; Thu, 28 Apr 2022 10:47:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1nk5JO-00050V-5q for qemu-devel@nongnu.org; Thu, 28 Apr 2022 10:40:07 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:40499) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1nk5JM-00063V-F0 for qemu-devel@nongnu.org; Thu, 28 Apr 2022 10:40:05 -0400 Received: by mail-wm1-x332.google.com with SMTP id v64-20020a1cac43000000b0038cfd1b3a6dso5405160wme.5 for <qemu-devel@nongnu.org>; Thu, 28 Apr 2022 07:40:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=yb+iuq8ARbvLTMWVY5FiuT21nEEV2wmzA7WlkC92EOM=; b=DXOdPuEDnSGqth8/sSyxBmfJq/SVLOlSJzHYkOEcXk0k5jhoB1dNhvUNfps3WY3Tb4 FWzQWt8arLaz5Qeu/VpxeUZgReohZwL2EuO3miV5tZ/4NTuOJ10OHiRR+qYIZP6tFX0H UeqcH55+519kYtAVKGYMNgD9p8fVSi8gsF6brGEXUCZavMVooxopZKWAsk4pW8ktP+Xl rzy809p5QtxQL3GACVWfuIOlOhgO3V4RHTotlgF9lILZtXDu4AEzpSwKP+9tYwoEQHuK lZfFkOf5+WxNdyOsWyjr2TWz8mvsLo03jJWWeRzoOHKXlarRdVbUz6yyfjIbFuNphkiH PS5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yb+iuq8ARbvLTMWVY5FiuT21nEEV2wmzA7WlkC92EOM=; b=FU4BpxM2KtbNLp2QqR5Nc5D+HTKcSrJHi/P/p5mNFEVsTJo0x1rtv4NZMdXid7F/bS 3vYV5kg3+RrzOVM3LD2S0H/fBx1CTrxtskbZgl3BEmJLpqxwY6sazUMatpPl0U8xE3MR GhICtA9OfTVNfIUn37H5nYrqTAC7eUg8/n46qmT5i/wyGO0N7tJ3dRgX1UBzittJj++n sKJD3zFLi2KifQBHN2pN5t3h/z97XAntqKOwT3am1h3wSMDgiXiPJXTGVGQTM4eMPZS/ ZrQpH6PWpOKqBMOSE1JWRiz8zFxGPeLZSsvO6RqT4BNEAp+5FWPR2wbEXOncQkKeDKQd DR5Q== X-Gm-Message-State: AOAM532VVayxNj+ETpu2lrNgONV5NdVn2GIB0soLVHwwotskKkzz03GV r7KpRGlVMrv4yYdr5CmbqaRenV7OnllPuw== X-Received: by 2002:a05:600c:1993:b0:392:90f1:66ec with SMTP id t19-20020a05600c199300b0039290f166ecmr31426925wmq.146.1651156802282; Thu, 28 Apr 2022 07:40:02 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id bh26-20020a05600c3d1a00b003928db85759sm130221wmb.15.2022.04.28.07.40.01 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Apr 2022 07:40:01 -0700 (PDT) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 01/54] target/arm: Use tcg_constant in gen_probe_access Date: Thu, 28 Apr 2022 15:39:05 +0100 Message-Id: <20220428143958.2451229-2-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220428143958.2451229-1-peter.maydell@linaro.org> References: <20220428143958.2451229-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x332.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
[PULL,01/54] target/arm: Use tcg_constant in gen_probe_access
|
expand
|
diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c index adbcd999415..c6ab0433af1 100644 --- a/target/arm/translate-a64.c +++ b/target/arm/translate-a64.c @@ -240,14 +240,10 @@ static void gen_address_with_allocation_tag0(TCGv_i64 dst, TCGv_i64 src) static void gen_probe_access(DisasContext *s, TCGv_i64 ptr, MMUAccessType acc, int log2_size) { - TCGv_i32 t_acc = tcg_const_i32(acc); - TCGv_i32 t_idx = tcg_const_i32(get_mem_index(s)); - TCGv_i32 t_size = tcg_const_i32(1 << log2_size); - - gen_helper_probe_access(cpu_env, ptr, t_acc, t_idx, t_size); - tcg_temp_free_i32(t_acc); - tcg_temp_free_i32(t_idx); - tcg_temp_free_i32(t_size); + gen_helper_probe_access(cpu_env, ptr, + tcg_constant_i32(acc), + tcg_constant_i32(get_mem_index(s)), + tcg_constant_i32(1 << log2_size)); } /*