qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, "Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: [PULL 02/67] target/mips: Drop tcg_temp_free from msa_translate.c
Date: Tue,  7 Mar 2023 09:57:43 -0800	[thread overview]
Message-ID: <20230307175848.2508955-3-richard.henderson@linaro.org> (raw)
In-Reply-To: <20230307175848.2508955-1-richard.henderson@linaro.org>

Translators are no longer required to free tcg temporaries.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 target/mips/tcg/msa_translate.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/target/mips/tcg/msa_translate.c b/target/mips/tcg/msa_translate.c
index 1bcdbb1121..220cd3b048 100644
--- a/target/mips/tcg/msa_translate.c
+++ b/target/mips/tcg/msa_translate.c
@@ -217,8 +217,6 @@ static void gen_check_zero_element(TCGv tresult, uint8_t df, uint8_t wt,
     /* if some bit is non-zero then some element is zero */
     tcg_gen_setcondi_i64(cond, t0, t0, 0);
     tcg_gen_trunc_i64_tl(tresult, t0);
-    tcg_temp_free_i64(t0);
-    tcg_temp_free_i64(t1);
 }
 
 static bool gen_msa_BxZ_V(DisasContext *ctx, int wt, int sa, TCGCond cond)
@@ -237,7 +235,6 @@ static bool gen_msa_BxZ_V(DisasContext *ctx, int wt, int sa, TCGCond cond)
     tcg_gen_or_i64(t0, msa_wr_d[wt << 1], msa_wr_d[(wt << 1) + 1]);
     tcg_gen_setcondi_i64(cond, t0, t0, 0);
     tcg_gen_trunc_i64_tl(bcond, t0);
-    tcg_temp_free_i64(t0);
 
     ctx->btarget = ctx->base.pc_next + (sa << 2) + 4;
 
@@ -545,8 +542,6 @@ static bool trans_CTCMSA(DisasContext *ctx, arg_msa_elm *a)
     gen_load_gpr(telm, a->ws);
     gen_helper_msa_ctcmsa(cpu_env, telm, tcg_constant_i32(a->wd));
 
-    tcg_temp_free(telm);
-
     return true;
 }
 
@@ -563,8 +558,6 @@ static bool trans_CFCMSA(DisasContext *ctx, arg_msa_elm *a)
     gen_helper_msa_cfcmsa(telm, cpu_env, tcg_constant_i32(a->ws));
     gen_store_gpr(telm, a->wd);
 
-    tcg_temp_free(telm);
-
     return true;
 }
 
@@ -782,8 +775,6 @@ static bool trans_msa_ldst(DisasContext *ctx, arg_msa_i *a,
     gen_base_offset_addr(ctx, taddr, a->ws, a->sa << a->df);
     gen_msa_ldst(cpu_env, tcg_constant_i32(a->wd), taddr);
 
-    tcg_temp_free(taddr);
-
     return true;
 }
 
-- 
2.34.1



  parent reply	other threads:[~2023-03-07 18:01 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-07 17:57 [PULL 00/67] tcg patch queue Richard Henderson
2023-03-07 17:57 ` [PULL 01/67] target/mips: Drop tcg_temp_free from micromips_translate.c.inc Richard Henderson
2023-03-07 17:57 ` Richard Henderson [this message]
2023-03-07 17:57 ` [PULL 03/67] target/mips: Drop tcg_temp_free from mxu_translate.c Richard Henderson
2023-03-07 17:57 ` [PULL 04/67] target/mips: Drop tcg_temp_free from nanomips_translate.c.inc Richard Henderson
2023-03-07 17:57 ` [PULL 05/67] target/mips: Drop tcg_temp_free from octeon_translate.c Richard Henderson
2023-03-07 17:57 ` [PULL 06/67] target/mips: Drop tcg_temp_free from translate_addr_const.c Richard Henderson
2023-03-07 17:57 ` [PULL 07/67] target/mips: Drop tcg_temp_free from tx79_translate.c Richard Henderson
2023-03-07 17:57 ` [PULL 08/67] target/mips: Drop tcg_temp_free from vr54xx_translate.c Richard Henderson
2023-03-07 17:57 ` [PULL 09/67] target/mips: Drop tcg_temp_free from translate.c Richard Henderson
2023-03-07 17:57 ` [PULL 10/67] target/s390x: Drop free_compare Richard Henderson
2023-03-07 17:57 ` [PULL 11/67] target/s390x: Drop tcg_temp_free from translate_vx.c.inc Richard Henderson
2023-03-07 17:57 ` [PULL 12/67] target/s390x: Drop tcg_temp_free from translate.c Richard Henderson
2023-03-07 17:57 ` [PULL 13/67] target/s390x: Remove assert vs g_in2 Richard Henderson
2023-03-07 17:57 ` [PULL 14/67] target/s390x: Remove g_out, g_out2, g_in1, g_in2 from DisasContext Richard Henderson
2023-03-07 17:57 ` [PULL 15/67] tcg: Create tcg/tcg-temp-internal.h Richard Henderson
2023-03-07 17:57 ` [PULL 16/67] include/exec: Set default `NB_MMU_MODES` to 16 Richard Henderson
2023-03-07 17:57 ` [PULL 17/67] target/alpha: Remove `NB_MMU_MODES` define Richard Henderson
2023-03-07 17:57 ` [PULL 18/67] target/arm: " Richard Henderson
2023-03-07 17:58 ` [PULL 19/67] target/avr: " Richard Henderson
2023-03-07 17:58 ` [PULL 20/67] target/cris: " Richard Henderson
2023-03-07 17:58 ` [PULL 21/67] target/hexagon: " Richard Henderson
2023-03-07 17:58 ` [PULL 22/67] target/hppa: " Richard Henderson
2023-03-07 17:58 ` [PULL 23/67] target/i386: " Richard Henderson
2023-03-07 17:58 ` [PULL 24/67] target/loongarch: " Richard Henderson
2023-03-07 17:58 ` [PULL 25/67] target/m68k: " Richard Henderson
2023-03-09 12:18   ` Laurent Vivier
2023-03-07 17:58 ` [PULL 26/67] target/microblaze: " Richard Henderson
2023-03-07 17:58 ` [PULL 27/67] target/mips: " Richard Henderson
2023-03-07 17:58 ` [PULL 28/67] target/nios2: " Richard Henderson
2023-03-07 17:58 ` [PULL 29/67] target/openrisc: " Richard Henderson
2023-03-07 17:58 ` [PULL 30/67] target/ppc: " Richard Henderson
2023-03-07 17:58 ` [PULL 31/67] target/riscv: " Richard Henderson
2023-03-07 17:58 ` [PULL 32/67] target/rx: " Richard Henderson
2023-03-07 17:58 ` [PULL 33/67] target/s390x: " Richard Henderson
2023-03-07 17:58 ` [PULL 34/67] target/sh4: " Richard Henderson
2023-03-07 17:58 ` [PULL 35/67] target/sparc: " Richard Henderson
2023-03-07 17:58 ` [PULL 36/67] target/tricore: " Richard Henderson
2023-03-07 17:58 ` [PULL 37/67] target/xtensa: " Richard Henderson
2023-03-07 17:58 ` [PULL 38/67] include/exec: Remove guards around `NB_MMU_MODES` Richard Henderson
2023-03-07 17:58 ` [PULL 39/67] target/avr: Avoid use of tcg_const_i32 in SBIC, SBIS Richard Henderson
2023-03-07 17:58 ` [PULL 40/67] target/avr: Avoid use of tcg_const_i32 throughout Richard Henderson
2023-03-07 17:58 ` [PULL 41/67] target/cris: " Richard Henderson
2023-03-07 17:58 ` [PULL 42/67] target/hppa: Avoid tcg_const_i64 in trans_fid_f Richard Henderson
2023-03-07 17:58 ` [PULL 43/67] target/hppa: Avoid use of tcg_const_i32 throughout Richard Henderson
2023-03-07 17:58 ` [PULL 44/67] target/i386: Avoid use of tcg_const_* throughout Richard Henderson
2023-03-07 17:58 ` [PULL 45/67] target/m68k: Avoid tcg_const_i32 when modified Richard Henderson
2023-03-07 17:58 ` [PULL 46/67] target/m68k: Avoid tcg_const_i32 in bfop_reg Richard Henderson
2023-03-07 17:58 ` [PULL 47/67] target/m68k: Avoid tcg_const_* throughout Richard Henderson
2023-03-07 17:58 ` [PULL 48/67] target/mips: Split out gen_lxl Richard Henderson
2023-03-07 17:58 ` [PULL 49/67] target/mips: Split out gen_lxr Richard Henderson
2023-03-07 17:58 ` [PULL 50/67] target/mips: Avoid tcg_const_tl in gen_r6_ld Richard Henderson
2023-03-07 17:58 ` [PULL 51/67] target/mips: Avoid tcg_const_* throughout Richard Henderson
2023-03-07 17:58 ` [PULL 52/67] target/ppc: Split out gen_vx_vmul10 Richard Henderson
2023-03-07 17:58 ` [PULL 53/67] target/ppc: Avoid tcg_const_i64 in do_vector_shift_quad Richard Henderson
2023-03-07 17:58 ` [PULL 54/67] target/rx: Use tcg_gen_abs_i32 Richard Henderson
2023-03-07 17:58 ` [PULL 55/67] target/rx: Use cpu_psw_z as temp in flags computation Richard Henderson
2023-03-07 17:58 ` [PULL 56/67] target/rx: Avoid tcg_const_i32 when new temp needed Richard Henderson
2023-03-07 17:58 ` [PULL 57/67] target/rx: Avoid tcg_const_i32 Richard Henderson
2023-03-07 17:58 ` [PULL 58/67] target/s390x: Avoid tcg_const_i64 Richard Henderson
2023-03-07 17:58 ` [PULL 59/67] target/sh4: Avoid tcg_const_i32 for TAS.B Richard Henderson
2023-03-07 17:58 ` [PULL 60/67] target/sh4: Avoid tcg_const_i32 Richard Henderson
2023-03-07 17:58 ` [PULL 61/67] tcg/sparc: Avoid tcg_const_tl in gen_edge Richard Henderson
2023-03-07 17:58 ` [PULL 62/67] target/tricore: Split t_n as constant from temp as variable Richard Henderson
2023-03-07 17:58 ` [PULL 63/67] target/tricore: Rename t_off10 and use tcg_constant_i32 Richard Henderson
2023-03-07 17:58 ` [PULL 64/67] target/tricore: Use setcondi instead of explicit allocation Richard Henderson
2023-03-07 17:58 ` [PULL 65/67] target/tricore: Drop some temp initialization Richard Henderson
2023-03-07 17:58 ` [PULL 66/67] target/tricore: Avoid tcg_const_i32 Richard Henderson
2023-03-07 17:58 ` [PULL 67/67] tcg: Replace tcg_const_i64 in tcg-op.c Richard Henderson
2023-03-09 13:14 ` [PULL 00/67] tcg patch queue Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230307175848.2508955-3-richard.henderson@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).