From patchwork Thu Mar 9 20:04:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 661038 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp496017wrb; Thu, 9 Mar 2023 12:07:08 -0800 (PST) X-Google-Smtp-Source: AK7set/6PlX5v2xeUXoJ5trKEnTwvVqaQfRlMTItTB8eYLh9qO1/CunNPtqhn2nJRO2xa1BtBDu8 X-Received: by 2002:a05:622a:1c6:b0:3bf:d9d2:2d2c with SMTP id t6-20020a05622a01c600b003bfd9d22d2cmr5554910qtw.53.1678392428426; Thu, 09 Mar 2023 12:07:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678392428; cv=none; d=google.com; s=arc-20160816; b=axD2xskG9wV04Skmb6e+Ks+hXmSYoSUvSfENOOZ73XNFIDkaTcH72NCGo2F9mF/EgD UI1JBFuk2VUNaSpGSBi/gGGlti88YtD+P18TPWjZCHOl+T5o6o/fM/hr3NVWjjuzGigH yiOdg7bexWtrsYYw6H/ttzCygxpuJw1/J/l34FoaYtQlns38yXDpHS3goiZO9HtDtlKT ApyV30lEsabtyxuZWPmpQMdfWoNfRYrLdK5jhi8gnZtnMI0DXL6ZO8BXGFrDuNkOu+y1 ou4tCDqF2Tzq3RAf+pinyZZfsGMhWQwyGPEbDHH4/PzNTXFgCtJVylEp0EzEOY4lnGdc F2iA== 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=O3i+Mexp4O2SP7HT510R19KtQ+j1lC3CLmFPBL5XCWk=; b=A4LXlVlbK5KWXz9Y+VRTWtudFLHm5YTmFiuwQywARmxZKZL9UUQc9iUEE9pnwfUq/V i5vmot47+6Um8uzNERf1PM/niZQFSEE0mUkLDbrrMUc/s/U2xWlAx5G3wZRQDDMsr5uG ptnINSrOHED52pOpQhnV6YAiI30wkQpiE5wr29Rk40b7BtYTFvN0U2iYyBbypghs2l8z zWZdTwTEXWhadm1ju84216sHYGVWWkNPX7UM1eA8E8WGtKhq6dUPB/z1VXzYPjpgqyvj by0p6DNLQyQ62QhHTRyo00ZU87Eb4+1EQtPYtzTmeRcTQs1sq2iecoE21KDn6di+Kzcz x1zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D1rEPHoK; 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 g14-20020a05620a218e00b00742e593f6e9si13654428qka.218.2023.03.09.12.07.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Mar 2023 12:07:08 -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=D1rEPHoK; 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 1paMWZ-0003n6-6R; Thu, 09 Mar 2023 15:06:03 -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 1paMWS-0003l8-Md for qemu-devel@nongnu.org; Thu, 09 Mar 2023 15:05:56 -0500 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paMWR-0000gK-30 for qemu-devel@nongnu.org; Thu, 09 Mar 2023 15:05:56 -0500 Received: by mail-pj1-x102d.google.com with SMTP id y2so3141208pjg.3 for ; Thu, 09 Mar 2023 12:05:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678392353; 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=O3i+Mexp4O2SP7HT510R19KtQ+j1lC3CLmFPBL5XCWk=; b=D1rEPHoKjjIB/lLvsyxbg156zGwzJCLSs6kPHKlQoZeLpGojVUoufguBhdlYjSAF5P rVTTnZ4W1Qlfb/aaix1yitqXLQEvcj99yICiSZ+H+E/okCmqGEevBiSO7+r2nYVSotCe 52imKO8ZpDAB1bvES8wkKtQqfkqqjWUYNPsqI+epDJLWLNBxmvD6r+O+JW3GmiWpNf+J uP59MgTU44yAeJ2IbUAzDeIKbUHFPJyW99/U9W442XcvCCOoMzX6Z2Zkveihqz1hwDYV r5RL2wAm8OtgsC2Xm68ak2slJu57t4XSemgdhx07CNIomxWtGy2D03GNJHyho1TbXflm GsZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678392353; 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=O3i+Mexp4O2SP7HT510R19KtQ+j1lC3CLmFPBL5XCWk=; b=Hfus/ifpY6ehp5J6pYCCwgvFEFx92dQFqf2OpFZenUi7LfbhfK9LEzERVl2hTmFHoA IW0vUNLktBU4gvylqXMy8dfr+MsqOdT44DNqTP9ZsxsxPvKq/B3PvTcq/FtY+r/uU8cr yf368p1mS8nACGRxaYZwnRenbOir1R+KU/GrwGjCOjG+7oRNkroGxGIftm7/M7D6GAf+ 7gr8oQmWdBCDUGQ9Nlo4bDwFmMv1NsOuXaDYltXGfz5EaqkbX8n1mP7xDF+91Jr8nfTg q8ZKfN+GecNv/iXdmyPylQTxYi2BmY+QahuT5mBut7+s3wysmtU3SuS4Ndl3T2hMx+mK Wqig== X-Gm-Message-State: AO0yUKXeLWs5iLi0+lSEcYBvL88mD+WV5y9isRh8SdX7HO7Xzv1VRb6h dKihSaaoKAeumTROzK5cS4ICBCsAV6xmXtmX1cs= X-Received: by 2002:a17:90b:380d:b0:234:bf0:86b9 with SMTP id mq13-20020a17090b380d00b002340bf086b9mr23786178pjb.25.1678392353374; Thu, 09 Mar 2023 12:05:53 -0800 (PST) Received: from stoup.. ([2602:ae:154a:9f01:bf7f:79a0:a976:bdaf]) by smtp.gmail.com with ESMTPSA id t20-20020a17090ad15400b002340f58e19bsm308083pjw.45.2023.03.09.12.05.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 12:05:52 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL v2 01/91] target/mips: Drop tcg_temp_free from micromips_translate.c.inc Date: Thu, 9 Mar 2023 12:04:20 -0800 Message-Id: <20230309200550.3878088-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230309200550.3878088-1-richard.henderson@linaro.org> References: <20230309200550.3878088-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102d; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102d.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: Philippe Mathieu-Daudé 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: