From patchwork Sat Feb 25 09:13:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 656521 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp1359580wrb; Sat, 25 Feb 2023 01:28:49 -0800 (PST) X-Google-Smtp-Source: AK7set82hFe1Nk9HICNHU0e+IwRkkuKbP6fY6wBXI9pRXj7klF5LedqY4U6VUSUBsLysih/HCIJM X-Received: by 2002:a05:622a:164c:b0:3b9:a42b:7099 with SMTP id y12-20020a05622a164c00b003b9a42b7099mr30376664qtj.30.1677317329350; Sat, 25 Feb 2023 01:28:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677317329; cv=none; d=google.com; s=arc-20160816; b=nnAp37qYyiaZTtF5q0Z8XG4xyfud79nRxXaD5RMYq15tJ++++iu0S0l/SfeHQZO/w7 hYrhwTDctxX7hrosAKU54LGyGTTCoaFoS4T8lmH2kl4zLFqVzPXoBzgNtzb6NcpgpObF jEG4RzXSzCeKVA9bHsTRi7ifMXuT/X1j0FFKyrX4iblaggVrskhKq+tWRzsRFfgfU+Vl 3Rh8nLpxcUpDNtfPjo0vMaa5/4iol0/Y7+zQCzqK1edxiBSFPT3qX3V0G924pr8FVh0u OtKMgb5JkRyR9TzO6pCsaZquTcPMArnrsYn3l46c+hSiKQKRLe/MDuGNGXfzLAmeUh19 TErQ== 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=TUvgLx5xhTwjb7hREopkObqZZiBh0MpycGbgHAh1Sr8=; b=XnVZ7JHi/blImhlyYQYlhgRiZcc/Atzya1CibqGto3vcgD1Axs0DkiL81DSOQ2XLGe 0EfGqFvRN9K8aMdvP0eDwIit/UMwer9vnPYjwe5BkqLTvR/ZgrO6Gd/54ToSoEG0xIta DxA8S2RDmWD6qMP0fWE76/dcpCEdH0tSMXI2Fa4kbsXH9rgG28Lo51h7LCKPeVm9Etoh S0teDfdZiC1M+vvhBGgkyyf3OW+joM5slgqJLoC1cEwTDnrWmZ2OowAckDkpzD0AhNuR BEnECm80IENZzC5S5iERslMlyisXZmJY3Dyw6SPY6W0p9gMFeqNV+ccatnRoki/QNBgT TRhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w9fmbjnT; 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 p15-20020a05622a048f00b0035cbddbaf4csi1728032qtx.477.2023.02.25.01.28.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 25 Feb 2023 01:28:49 -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=w9fmbjnT; 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 1pVqg4-0001lu-VN; Sat, 25 Feb 2023 04:17:12 -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 1pVqfJ-0007fa-SE for qemu-devel@nongnu.org; Sat, 25 Feb 2023 04:16:26 -0500 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVqfD-0002Cs-VP for qemu-devel@nongnu.org; Sat, 25 Feb 2023 04:16:23 -0500 Received: by mail-pj1-x1043.google.com with SMTP id nw10-20020a17090b254a00b00233d7314c1cso5183090pjb.5 for ; Sat, 25 Feb 2023 01:16:08 -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=TUvgLx5xhTwjb7hREopkObqZZiBh0MpycGbgHAh1Sr8=; b=w9fmbjnT02Pe+LWPAiKvbxEBzktOIvwjpwBI2PiHz1Cov9xUEX0YgVmqf3h/eIyY+S X8qUlr6/hPR9L4xRYOj1QywKqV10crwGNIzhHssYPazACO0DWqRSGd3DCf9cdPPqV2Jf 5nl9Zh2bWrtV2AewDGeGPm6piYbz4De+3FoaDgY/OQ915Q9ByLLdAaC5zE1DBmyLSUFD 8ywYDZHGSPbkoLRWANjVGV8tcHFPYhJ2AQwvKNlDd9nHx4SLkVe0eu4iH5qLd+1qcKNP Bzm5IovJUCvM+FSHa2zcB+rewMY1jgpceTG4kntSWUGG6pYS9tYD1yyHt/v+c5usEs+7 1i+g== 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=TUvgLx5xhTwjb7hREopkObqZZiBh0MpycGbgHAh1Sr8=; b=N8U2VLVD942nLYyopAmYPeZEURdZZON74eqjyaSHI889fYahdX6pApXs2YdX048Dza uQaOK7PRU0kLp0by1+uK/DkfSz4QWXpyYR/jNBM+XUa0VZwXeAzwxg8q68fZFatCFF7Q 4mDOJzqYh/aIxyQtKecEZpPsxfM/837sIcjtwkYODOQLFI7ez7cIb6aKbOo46aI7THqZ dQ8sTU4jb6btpJlYfkVXdgdsrA2mJxyuDPQH8I2GIW7jkBTcZjL2FLLPb2e6QS3kP+QI 5j0kBKuB8mHJm3/73wM7pcjWKwZnKs433KZxg4WEuHJEf3LdDoclFhDzo8XobI9+0Xlg oPMA== X-Gm-Message-State: AO0yUKVpecCOAg4YiDXkP1UqL63y4uQHyhVDY0eK6U6tDN0dG1vJ1X6L +kGPBiLJUzHCoAk2jPGxF255cF8Eu0AwYjp+c+8K1A== X-Received: by 2002:a17:903:2291:b0:196:7906:b4e with SMTP id b17-20020a170903229100b0019679060b4emr24357335plh.19.1677316567803; Sat, 25 Feb 2023 01:16:07 -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 je12-20020a170903264c00b0019607aeda8bsm831101plb.73.2023.02.25.01.16.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Feb 2023 01:16:07 -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 37/76] target/mips: Drop tcg_temp_free from micromips_translate.c.inc Date: Fri, 24 Feb 2023 23:13:48 -1000 Message-Id: <20230225091427.1817156-38-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::1043; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1043.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/micromips_translate.c.inc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/target/mips/tcg/micromips_translate.c.inc b/target/mips/tcg/micromips_translate.c.inc index 632895cc9e..23f80d4315 100644 --- a/target/mips/tcg/micromips_translate.c.inc +++ b/target/mips/tcg/micromips_translate.c.inc @@ -724,9 +724,6 @@ static void gen_ldst_multiple(DisasContext *ctx, uint32_t opc, int reglist, break; #endif } - tcg_temp_free(t0); - tcg_temp_free(t1); - tcg_temp_free_i32(t2); } @@ -1018,8 +1015,6 @@ static void gen_ldst_pair(DisasContext *ctx, uint32_t opc, int rd, break; #endif } - tcg_temp_free(t0); - tcg_temp_free(t1); } static void gen_pool32axf(CPUMIPSState *env, DisasContext *ctx, int rt, int rs) @@ -1067,7 +1062,6 @@ static void gen_pool32axf(CPUMIPSState *env, DisasContext *ctx, int rt, int rs) gen_load_gpr(t0, rt); gen_mtc0(ctx, t0, rs, (ctx->opcode >> 11) & 0x7); - tcg_temp_free(t0); } break; #endif @@ -1276,7 +1270,6 @@ static void gen_pool32axf(CPUMIPSState *env, DisasContext *ctx, int rt, int rs) * mode. */ ctx->base.is_jmp = DISAS_STOP; - tcg_temp_free(t0); } break; case EI: @@ -1293,7 +1286,6 @@ static void gen_pool32axf(CPUMIPSState *env, DisasContext *ctx, int rt, int rs) */ gen_save_pc(ctx->base.pc_next + 4); ctx->base.is_jmp = DISAS_EXIT; - tcg_temp_free(t0); } break; default: