From patchwork Sat Feb 25 09:13:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 656524 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp1359787wrb; Sat, 25 Feb 2023 01:29:44 -0800 (PST) X-Google-Smtp-Source: AK7set/1Ocj58yHqwYyPiSxDxplYU6gsTZ7yHuCVo43Q07vh5qVrKB3hE3Hj72E9snmMyjUqyXbR X-Received: by 2002:a05:622a:1046:b0:3bf:a501:678f with SMTP id f6-20020a05622a104600b003bfa501678fmr28295054qte.27.1677317384077; Sat, 25 Feb 2023 01:29:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677317384; cv=none; d=google.com; s=arc-20160816; b=m8KqMoLz+WGu6l9sG8A9NVh1VZCb7Uws6kws/+3RNBwPt+knCEsG/+PtBMy4Nu6d9/ YI5CYkJioHjpba+u2YaHSYvs1GOJwPRDfIuDDG/WkTa4sCByfqR8bWYYXkIPT9cOBm1X R+afdAY2DfvBCcamijsQ2pTR8AA2wo5+mC8YWSLRBhK+7MlsmStLnZOGbXDqzz+PTGX6 qp9cwHtW8yzf5m+A9TC5jFHqmpB3zB3PvHOfGSz0qJPaHYY9+nADKZpp77d20Klzw4Uo 32HJMkeDxWGx9OdAp8yqLRIBgDiVJrp8rFF+JsKVTh+My3xRM+hKBEaRPsRQDVHwYwpX 82fg== 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=YHoTHrUgBZpaOPEfBJAi/HMPT06pVs2AARTKGv//H+s=; b=AEJf4+Wy2/rUgSjjkvtWdsuDKk3UOPnNU7JcGYymEFMKV6UOzEJJZiwKpaKKRr2pB8 BaBvwkihe0T9I7dSsUXONKx2lDSmiosU4jK/6o2Ixn+iGQZld/Zm2jioSwnn1pp8+dC6 752ktuFV9/3XLaIm2PUWj5ol76pBdw4LyfdztzDzqnzdYWoOEw+X8G0hDTfWZQQ5h6H6 Ps1Nj9gZgSh3EWsnO8XIPhhdX7YbGZ7D5cO/MaYlY5wjyH0fyOq5gN2mM5BwjveAFB5J oiztwzfBu+s8Pj3SBwbpeb2QnFLEMBPOShW4YCKdoYgZ5slwzzV82gqFvIQhz3SEL8aS lJQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g+jflMy5; 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 v12-20020a05622a188c00b003b63cc0efabsi1531568qtc.510.2023.02.25.01.29.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 25 Feb 2023 01:29:44 -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=g+jflMy5; 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 1pVqil-0005Jy-3S; Sat, 25 Feb 2023 04:19:59 -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 1pVqiF-0003rj-RV for qemu-devel@nongnu.org; Sat, 25 Feb 2023 04:19:28 -0500 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVqiE-0002uZ-4P for qemu-devel@nongnu.org; Sat, 25 Feb 2023 04:19:27 -0500 Received: by mail-pf1-x434.google.com with SMTP id n2so823211pfo.12 for ; Sat, 25 Feb 2023 01:19:25 -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=YHoTHrUgBZpaOPEfBJAi/HMPT06pVs2AARTKGv//H+s=; b=g+jflMy5QF9Gh/OL/ohI7+fjhI7M0kP5qvxSb5g8UT9M8xaGcXCe9uRs/lwuNrU5rE 5EqLG55PBjl0NmaNSOSJ+QYhGehD8Qg/SpDVTV2H3leFXs1sLcD3h5eKKWY0rhKAKR+z o6N7x2+wTQS8StN7D4pLkB/xW68whQYVoA3Sja8BGhqlOGTbUdBovd3EprqTe5+AKfNq w+IJAfDfKOh+vNXBoPjoHkZNH9Yc7Kei8PdTmnJR9d8XqhOTqSn4SYlDi9fZowdmsUIp 1m/pH/993a/x6gWm0+kIwhMDk1CHFMfkL3Y0LvGQ/k0/eqx1i/LQxKV8jWEtbmJruy9O a3Jg== 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=YHoTHrUgBZpaOPEfBJAi/HMPT06pVs2AARTKGv//H+s=; b=RxE5YZTpnzWyGrd4yPjiAdzyuuO4C8wGJYb5r3YIxrERH8UP04pCre5wbRQcM3Y4x2 u2IKJ7pvD9D4/LX6JN+UbfoeGddSj9ZTy8UqKjl1UBy7i7dKpwb2yz0NwpAEAvcm3WMo woMPiEsifI0WkG30zhQqCLRPq+laauC9b+3aUNFFjuGxmHa55m7F61/MnzzkoGzaO5i4 MmkAGvd628xt1kmhVgFeHnFjqnFHr6QeCQvE6bh8PZrRqHMEqKgspxTzI7FzWuPDpRDz fWacW/ZdU0bRo9AOLwN94/1gIoMQ2L2IdgSrCeM6z+ytGFkRZVfn1diAcsvoXGJuYRwd WHMQ== X-Gm-Message-State: AO0yUKWNAAIG+twyR9cRaJbCr1g8neVqJl9m0oRKTgZruwPmMXaab5kW CfDWQDxeP0kN12Zh2nPCN9PbMZ+B0H92n+pJHWw= X-Received: by 2002:a62:6286:0:b0:5dc:6a64:6704 with SMTP id w128-20020a626286000000b005dc6a646704mr7309360pfb.7.1677316764660; Sat, 25 Feb 2023 01:19:24 -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 26-20020aa7921a000000b00592417157f2sm843114pfo.148.2023.02.25.01.19.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Feb 2023 01:19:24 -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 Subject: [PATCH 43/76] target/mips: Drop tcg_temp_free from translate_addr_const.c Date: Fri, 24 Feb 2023 23:13:54 -1000 Message-Id: <20230225091427.1817156-44-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230225091427.1817156-1-richard.henderson@linaro.org> References: <20230225091427.1817156-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x434.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Translators are no longer required to free tcg temporaries. Signed-off-by: Richard Henderson --- target/mips/tcg/translate_addr_const.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/target/mips/tcg/translate_addr_const.c b/target/mips/tcg/translate_addr_const.c index 96f483418e..a510da406c 100644 --- a/target/mips/tcg/translate_addr_const.c +++ b/target/mips/tcg/translate_addr_const.c @@ -30,10 +30,6 @@ bool gen_lsa(DisasContext *ctx, int rd, int rt, int rs, int sa) tcg_gen_shli_tl(t0, t0, sa + 1); tcg_gen_add_tl(cpu_gpr[rd], t0, t1); tcg_gen_ext32s_tl(cpu_gpr[rd], cpu_gpr[rd]); - - tcg_temp_free(t1); - tcg_temp_free(t0); - return true; } @@ -54,8 +50,5 @@ bool gen_dlsa(DisasContext *ctx, int rd, int rt, int rs, int sa) gen_load_gpr(t1, rt); tcg_gen_shli_tl(t0, t0, sa + 1); tcg_gen_add_tl(cpu_gpr[rd], t0, t1); - tcg_temp_free(t1); - tcg_temp_free(t0); - return true; }