From patchwork Mon Mar 6 00:38:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 659162 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp1573216wrb; Sun, 5 Mar 2023 16:44:28 -0800 (PST) X-Google-Smtp-Source: AK7set/UGsSPKIMcqLH1KGvbGdB5lKXlW9w2nNzUwRX0zvxVV3Zl37to630Od+YJE6VVzfWEULZr X-Received: by 2002:a05:622a:24b:b0:3b9:b422:4d69 with SMTP id c11-20020a05622a024b00b003b9b4224d69mr16849345qtx.39.1678063468082; Sun, 05 Mar 2023 16:44:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678063468; cv=none; d=google.com; s=arc-20160816; b=O8scdT4x4/64YRuTI0fhBqyPXXso8whoGtA5fqEa9FvVuLCScHOw891KaOpwZzUKcf Ld6cDBdlEW82aIgs69VPhOAzmZEc/H/qq6aRaL33zv8CFTfsY5xP7xMwrhF35M4oZcWl 1H9cYPcICR7rrgiG6LK048ZJzSirZeu8MwRFJTumDyGwf4y1OSBh8w1OmtZ3WV73BDV6 PjAw02swEvKmfT32h7KDWOp/GR5IellFtyfyOJF5RsErPiYjsVK7j3EFPh5CVAMVEaIZ lhLBJg59+TDU5BT1OBeK+cJqKXndrL8V7+2JHakdi88rTZ1R1zjRWs74giuH57a5+IVx au8w== 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:cc:to :from:dkim-signature; bh=xREb4bgbPINwX5RgnJpEwYA+di3Eou4XHpCG6/4nfXA=; b=M+XPmC8xgExxCT59b18jM5t4JxajFrDPzlBvM0FG4jICEvxQ9QH3BC2eAfcsyILEmQ ulgxoZBrlfRN4mjZsxXZqoam+fItDYkvCYdlsQ/QQXa0Et93VU+ZfaNzHk3s66013A6F l85AsyRwGrG4WxwjXska9ZaXswwFps+eFbf1LD+LvTwhfTfJixCZRxIs+Uz3xGpt8FPo uwr4rS5dqErc+J1/NQGVwOvnI0IQj0osPygJfhgm0O4Gnxi+eRjD1FytVJs8VLBSdMsm gEMhGSxSVoA16+MXQFl/UP4e4l1I31gUoSOco1cK4I5HrcS+RWtnpWCU7qIgHouFaMis rlLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="UAT/c574"; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id t15-20020ac8588f000000b003ab73b7bb03si6736076qta.624.2023.03.05.16.44.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 Mar 2023 16:44:28 -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="UAT/c574"; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYyug-0005pX-3V; Sun, 05 Mar 2023 19:41:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYyts-0004UT-6T for qemu-devel@nongnu.org; Sun, 05 Mar 2023 19:40:25 -0500 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYytq-0006gN-8c for qemu-devel@nongnu.org; Sun, 05 Mar 2023 19:40:23 -0500 Received: by mail-pl1-x634.google.com with SMTP id p6so8576253plf.0 for ; Sun, 05 Mar 2023 16:40:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678063221; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xREb4bgbPINwX5RgnJpEwYA+di3Eou4XHpCG6/4nfXA=; b=UAT/c574aWGRapvevvPid3tyzRrFuw+6GVQ9MKdk6x9zm7xLrwU8KhqsXrZJgpiSYg lQejJGxcyUlTryg93XhLFLv/7tFCS64yCzlYDddX5CuWp3WIZGwjXhJC9rrsbbU/EJBF UYQ1fzCLsP/LQtVkwwQJXHSel9geTAj1yp9zD0D3Sg1iApFlYg2N5g8E6NcXJnfaRmO5 1h09Jpf4qobhhzgdmvDu1+VHZtt5ieemh3xdTizINowvhgEnBxI9XnaMIJbC89avGxQx mLLI2kr1k+sEWG2COyI2dIkaPZsZMcSD8ksq6BHqjwz8abNZHzvKqV+pv1W4elcZUjHR N3tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678063221; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xREb4bgbPINwX5RgnJpEwYA+di3Eou4XHpCG6/4nfXA=; b=FjhIUgME3TLuHRiOBzQfPEb0uKdfvWv/swRT6+xjAm2nMKP6b4qGN3rgCzObCg+Ufa cBoLSDoTdBU0C1GUibhkmY8C5pwAXauWBGjZfKnq4Am9UBB4LGeFN5ESDKfB1sJKYenl 3Sq4fKPGiN3B0Xoga/O/rgDAKCkqfas6vBFN/MEZZAiJfGXkBhYZK+DV61HbCwnPkoQ0 dQ2xZt08CNhpqYPpbApDQ32+KsK6GQ13Ij21kToXowGCT1g9ec3SGj+YPbjcHs6Tv5yG yolOmj2KZJgNZeGQGeDOZIu+354CMgEZ8IJA29oQdt9JAHhavy+spfV0oUKzdX+/klkW D3Lg== X-Gm-Message-State: AO0yUKWH3cNS/ITigVIv8wmpIgE5GiQ1jFe7O4UfDT6uwDGdhcZ3icHv 2v5sa0z8Uo+y3HC1L8fTnJt1pTvYiAEfHjNGEjT/4g== X-Received: by 2002:a17:90b:3b51:b0:237:e1d2:c662 with SMTP id ot17-20020a17090b3b5100b00237e1d2c662mr9742055pjb.14.1678063220903; Sun, 05 Mar 2023 16:40:20 -0800 (PST) Received: from stoup.. ([2602:ae:154a:9f01:87cc:49bb:2900:c08b]) by smtp.gmail.com with ESMTPSA id r13-20020a17090b050d00b002372106a5c2sm6567901pjz.37.2023.03.05.16.40.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Mar 2023 16:40:20 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL 28/84] target/arm: Drop tcg_temp_free from translator.h Date: Sun, 5 Mar 2023 16:38:58 -0800 Message-Id: <20230306003954.1866998-29-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230306003954.1866998-1-richard.henderson@linaro.org> References: <20230306003954.1866998-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x634.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Translators are no longer required to free tcg temporaries. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- target/arm/tcg/translate.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/arm/tcg/translate.h b/target/arm/tcg/translate.h index a5dd518903..20f3ca7aca 100644 --- a/target/arm/tcg/translate.h +++ b/target/arm/tcg/translate.h @@ -331,7 +331,6 @@ static inline void set_pstate_bits(uint32_t bits) tcg_gen_ld_i32(p, cpu_env, offsetof(CPUARMState, pstate)); tcg_gen_ori_i32(p, p, bits); tcg_gen_st_i32(p, cpu_env, offsetof(CPUARMState, pstate)); - tcg_temp_free_i32(p); } /* Clear bits within PSTATE. */ @@ -344,7 +343,6 @@ static inline void clear_pstate_bits(uint32_t bits) tcg_gen_ld_i32(p, cpu_env, offsetof(CPUARMState, pstate)); tcg_gen_andi_i32(p, p, ~bits); tcg_gen_st_i32(p, cpu_env, offsetof(CPUARMState, pstate)); - tcg_temp_free_i32(p); } /* If the singlestep state is Active-not-pending, advance to Active-pending. */