From nobody Fri Dec 27 00:22:27 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=1677476689; cv=none; d=zohomail.com; s=zohoarc; b=E5ENrQC1XJ0fkj87oP8fUp4J/DBuE7Echn805aD/CCC/bItUJLaIe07a07AN+D0j5u8C9/LB2YvqwrnevpsLDo97xHSSrhZSsGOuSgz4fJzDlFMAF2QLA0wmr9vk1nLR6Eid0Mn/L4Ro2MCOA2iBXm8WAsfN+FjaY4EKuFTSIIU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1677476689; h=Content-Type: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=nOjB7Oa3s7/QHz69KU/odzNJz8JnUW0khbG4X3to11I=; b=ZgPCN82n2kGesSq3TQfLrlOXh4I1Jg3vHQN4t5eE5PdRMXtRCzYyjJKX94fKHBFvwcrbcyK5tqokeIz0x+fIQoM6Ftxu3AgxxJUO0F0bbiotKiys3R0QKRXV7nshZzPGYiW8ad7+akCvzJQNH/OccvZAn5t0R5iYzFFW4ulyU3M= 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 1677476689909981.3701801584601; Sun, 26 Feb 2023 21:44:49 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWWEr-0002jk-Ap; Mon, 27 Feb 2023 00:39:53 -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 1pWWD9-0003Pa-UB for qemu-devel@nongnu.org; Mon, 27 Feb 2023 00:38:10 -0500 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWWD4-0002kZ-5S for qemu-devel@nongnu.org; Mon, 27 Feb 2023 00:38:04 -0500 Received: by mail-pj1-x1030.google.com with SMTP id l1so4897379pjt.2 for ; Sun, 26 Feb 2023 21:38:01 -0800 (PST) Received: from stoup.. (rrcs-173-198-77-218.west.biz.rr.com. [173.198.77.218]) by smtp.gmail.com with ESMTPSA id k12-20020aa792cc000000b005a7c892b435sm3342137pfa.25.2023.02.26.21.37.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 21:38:01 -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=nOjB7Oa3s7/QHz69KU/odzNJz8JnUW0khbG4X3to11I=; b=DD3HF3A8LG+tMhcugVaapMk7hvpK328xX0PIrq8xRIw/RZ2RpQHwOyqF8oVysCZ/Oq yTZOww5xlhB5sQsiwNMQx1oDcDC0fpgk3kG3WlM4klJu6GnC0ny+00k/XTWgyysZDNx6 y8MUWGco1YHmcX9UAhDyksn0mZbG6lSkOP5rvyb9948NFG75mstJgBYl17ROEXodkcF9 hnBxaQKq8SKPrz42eqOocOVeIFpg+X+ypYuLEIu00N03ELFRQ23ljP1O+yj7fPCQzj81 jih+Z5RWhXi5vdkzlHPUmG7yhJTNfcZCxQt4WzDPxNVvAwFCfYOLjOQPO3Con7mrTCnh aR6A== 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=nOjB7Oa3s7/QHz69KU/odzNJz8JnUW0khbG4X3to11I=; b=HS2L5kyCa/zH1I2n3S2ZZZlP+bw5p/Nlo+pqfKQnI+kx/wuHxuqF54n33BQej+9/Vc qsQFnOR+b8FIax1V2Z4z90zKWwQ4SU+CyYV1uYgrW/LlVdSvGb7VpZHwkhZNp0m+qiJa NevNYYln0EX34QKoKApQJMEYv7gZd/ky4SeZX0CX18SVx2QQV2f7vK+Lg1yv/7hFhk3E L6wFSKQX1N80eAMJkH6lEQ3hICVEn9PIZg3OwzYBUS7+24+QqJVJJ/FNs9I/K7AJNd7C KhegqzKMfRFZS3aqkilUuVHRplV06WuTTCsCsTxHbzsDLxE6+xrJEu0myYyQ6lw22b5n BFoA== X-Gm-Message-State: AO0yUKUBCnsCcydpdaYTZojS+koxrIFYmiMFa8r3UW4/TfNhnVcpPkPe BD7b14m+leSML9DlCnNYVo5ILY+4XgaWEgeU01U= X-Google-Smtp-Source: AK7set8I+KIkGzehL9vEKHzuFQ7ZehJyryMeMGq4xA5Cm13TX3FuNRteo+5XU7New6QpsPB623QWkQ== X-Received: by 2002:a05:6a20:428b:b0:cd:6c14:9854 with SMTP id o11-20020a056a20428b00b000cd6c149854mr1300643pzj.26.1677476281419; Sun, 26 Feb 2023 21:38:01 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-ppc@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, jcmvbkbc@gmail.com, kbastian@mail.uni-paderborn.de, ysato@users.sourceforge.jp, gaosong@loongson.cn, jiaxun.yang@flygoat.com, tsimpson@quicinc.com, ale@rev.ng, mrolnik@gmail.com, edgar.iglesias@gmail.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v4 20/31] target/arm: Don't use tcg_temp_local_new_* Date: Sun, 26 Feb 2023 19:36:50 -1000 Message-Id: <20230227053701.368744-21-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230227053701.368744-1-richard.henderson@linaro.org> References: <20230227053701.368744-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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::1030; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1030.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=unavailable 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: 1677476691470100003 Since tcg_temp_new_* is now identical, use those. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Richard Henderson --- 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 92955d505c..9c8e1ac04c 100644 --- a/target/arm/translate.c +++ b/target/arm/translate.c @@ -7136,7 +7136,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 @@ -7289,7 +7289,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 @@ -8696,7 +8696,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