From nobody Thu Dec 26 15:36:57 2024 Delivered-To: importer2@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1675112611; cv=none; d=zohomail.com; s=zohoarc; b=CrzqBRtJ30o6Hmdth/YFjccjyB10BHECi8zJ6JW3HgvQS0yUunsXDd6ZKuyfV1umodqBHBhxX5Uhi6LA0sxVfUCFY0mv1BWTfp0dIXfklpCn55yuq0zMzkBMkenF3W0Dwu6wN/JM15dpI0glWsLoYDc2fIzGgDy0tr8LJoxhFhw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1675112611; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ReB1vaX5bh+3X6AkZ6hIM1RvSLfgvq375cN+IdwrJjc=; b=bYM91I26kK7HoN0UY3Jif5j/A64kafLJGvEzKePsDNVGt1XmUzBqKLKH2AcMixQLPXZcwuHP+M2H53ourSijpjQJPWHQ/2+FQWb3gSeQqKn7AF1CzQGEtkOCF+jCbBoAKps3gonT9mANQ4eTHYNij13uZtHulgvbDlmaCHDMqM4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1675112611105455.5086230810997; Mon, 30 Jan 2023 13:03:31 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMbGR-0000SV-NZ; Mon, 30 Jan 2023 16:00:31 -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 1pMbGD-0008Uy-Gv for qemu-devel@nongnu.org; Mon, 30 Jan 2023 16:00:18 -0500 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pMbG9-0005Tb-F3 for qemu-devel@nongnu.org; Mon, 30 Jan 2023 16:00:16 -0500 Received: by mail-pf1-x42e.google.com with SMTP id z31so8774800pfw.4 for ; Mon, 30 Jan 2023 13:00:09 -0800 (PST) Received: from stoup.. (rrcs-173-197-98-118.west.biz.rr.com. [173.197.98.118]) by smtp.gmail.com with ESMTPSA id x10-20020aa79a4a000000b00593eb3a5e44sm102933pfj.37.2023.01.30.13.00.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 13:00:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=ReB1vaX5bh+3X6AkZ6hIM1RvSLfgvq375cN+IdwrJjc=; b=ZNR+SzHo8ZheErYcJW5OzjBjOP96PRIguhJykxOlqIu2hX07mAP6UqD7dcQL2fRiXl qLaTGFkCJnexHCrInWEFcf98MLV0ix2kyypBZWS7Er64vOllt8yZnmvZuDtrP7ZDA0lc oqC1iAqNM02lgE37fO7nyjpKe1XaG0gy6lc5Y5Aho+8Mx5M40V6NVtF4F/QwHJtuzVcB +oC17DpY9Fjn2PDK6eBIFUT/s4I+mA3Z7IEzUKUjhXbKlRAF3Xgx3sLenEpP2yl/jJSZ +NzZ3BmTJihMvFh3I0fkszvj5fPJNxA1obJ42IDPI0ggSwEFE6Zx8ZyxYTrn8sSCT3KP Fxpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=ReB1vaX5bh+3X6AkZ6hIM1RvSLfgvq375cN+IdwrJjc=; b=ifdygeGp24iEpffJKCVt07Aa70mu3PgdwF2XPvzAhujfXTK9exWva85Geh2ijUmQZf /wMRTvxJGDRPu3mwWN3nDisCqJ07lWFiMVbxtebY0sFhIkdR6ZPZomAqnYh9o2N9lvhw fygw50OknRzx6A2zfF8aulQ0SaTTofpuA7m1j1A4Sy9eb38dRlUCocereyNm3AeiXShD M/73kj4iZB1luu1BgwTJrurGIF3GqmanlK0MhQ3MNaCQ8H5/O2SLNzbmfLy9/dHBzyYI 7dAHi+KrBPdkW9OQVnPyZoadCzunpyJRYwvsxXm6a/Rhg5XcygFnWmpWAdzAHzXP0wKF SKZA== X-Gm-Message-State: AFqh2koLK9QrWU8s2L0I8HqJCxQn3T1FIKqKCO1eDbO0gk81mnZ3tmb3 fowtgSrJR0gN15t5aojamuqQfia0q/ZLDBcV X-Google-Smtp-Source: AMrXdXsScnovJ3iPyOUCJ7jgfH2I1r9h6TTpVmSr135XAkb8ENs1qMq37T4btj21cEqR9q/32uEsLw== X-Received: by 2002:a62:5e81:0:b0:590:22b:c29d with SMTP id s123-20020a625e81000000b00590022bc29dmr22984783pfb.10.1675112408109; Mon, 30 Jan 2023 13:00:08 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, cota@braap.org Subject: [PATCH 17/27] target/arm: Don't use tcg_temp_local_new_* Date: Mon, 30 Jan 2023 10:59:25 -1000 Message-Id: <20230130205935.1157347-19-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230130205935.1157347-1-richard.henderson@linaro.org> References: <20230130205935.1157347-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::42e; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42e.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+importer2=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer2=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1675112613063100013 Content-Type: text/plain; charset="utf-8" Since tcg_temp_new_* is now identical, use those. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- target/arm/translate-sve.c | 6 +++--- target/arm/translate.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c index 02150d93e8..718a5bce1b 100644 --- a/target/arm/translate-sve.c +++ b/target/arm/translate-sve.c @@ -2694,7 +2694,7 @@ static bool do_clast_vector(DisasContext *s, arg_rprr= _esz *a, bool before) return true; } =20 - last =3D tcg_temp_local_new_i32(); + last =3D tcg_temp_new_i32(); over =3D gen_new_label(); =20 find_last_active(s, last, esz, a->pg); @@ -4342,7 +4342,7 @@ void gen_sve_ldr(DisasContext *s, TCGv_ptr base, int = vofs, tcg_temp_free_i64(t0); } else { TCGLabel *loop =3D gen_new_label(); - TCGv_ptr tp, i =3D tcg_const_local_ptr(0); + TCGv_ptr tp, i =3D tcg_const_ptr(0); =20 gen_set_label(loop); =20 @@ -4427,7 +4427,7 @@ void gen_sve_str(DisasContext *s, TCGv_ptr base, int = vofs, tcg_temp_free_i64(t0); } else { TCGLabel *loop =3D gen_new_label(); - TCGv_ptr tp, i =3D tcg_const_local_ptr(0); + TCGv_ptr tp, i =3D tcg_const_ptr(0); =20 gen_set_label(loop); =20 diff --git a/target/arm/translate.c b/target/arm/translate.c index 12eeada122..7f70d9c78f 100644 --- a/target/arm/translate.c +++ b/target/arm/translate.c @@ -7110,7 +7110,7 @@ static bool op_strex(DisasContext *s, arg_STREX *a, M= emOp mop, bool rel) tcg_gen_mb(TCG_MO_ALL | TCG_BAR_STRL); } =20 - addr =3D tcg_temp_local_new_i32(); + addr =3D tcg_temp_new_i32(); load_reg_var(s, addr, a->rn); tcg_gen_addi_i32(addr, addr, a->imm); =20 @@ -7263,7 +7263,7 @@ static bool op_ldrex(DisasContext *s, arg_LDREX *a, M= emOp mop, bool acq) return true; } =20 - addr =3D tcg_temp_local_new_i32(); + addr =3D tcg_temp_new_i32(); load_reg_var(s, addr, a->rn); tcg_gen_addi_i32(addr, addr, a->imm); =20 @@ -8670,7 +8670,7 @@ static bool trans_LE(DisasContext *s, arg_LE *a) * Decrement by 1 << (4 - LTPSIZE). We need to use a TCG local * so that decr stays live after the brcondi. */ - TCGv_i32 decr =3D tcg_temp_local_new_i32(); + TCGv_i32 decr =3D tcg_temp_new_i32(); TCGv_i32 ltpsize =3D load_cpu_field(v7m.ltpsize); tcg_gen_sub_i32(decr, tcg_constant_i32(4), ltpsize); tcg_gen_shl_i32(decr, tcg_constant_i32(1), decr); --=20 2.34.1