[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 39/76] target/mips: Drop tcg_temp_free from msa_translate.c
From: |
Richard Henderson |
Subject: |
[PATCH v2 39/76] target/mips: Drop tcg_temp_free from msa_translate.c |
Date: |
Sun, 26 Feb 2023 19:24:28 -1000 |
Translators are no longer required to free tcg temporaries.
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
- [PATCH v2 28/76] target/hexagon/idef-parser: Drop HexValue.is_manual, (continued)
- [PATCH v2 28/76] target/hexagon/idef-parser: Drop HexValue.is_manual, Richard Henderson, 2023/02/27
- [PATCH v2 29/76] target/hppa: Drop tcg_temp_free, Richard Henderson, 2023/02/27
- [PATCH v2 31/76] target/loongarch: Drop temp_new, Richard Henderson, 2023/02/27
- [PATCH v2 30/76] target/i386: Drop tcg_temp_free, Richard Henderson, 2023/02/27
- [PATCH v2 32/76] target/loongarch: Drop tcg_temp_free, Richard Henderson, 2023/02/27
- [PATCH v2 34/76] target/m68k: Drop free_cond, Richard Henderson, 2023/02/27
- [PATCH v2 35/76] target/m68k: Drop tcg_temp_free, Richard Henderson, 2023/02/27
- [PATCH v2 33/76] target/m68k: Drop mark_to_release, Richard Henderson, 2023/02/27
- [PATCH v2 38/76] target/mips: Drop tcg_temp_free from mips16e_translate.c.inc, Richard Henderson, 2023/02/27
- [PATCH v2 39/76] target/mips: Drop tcg_temp_free from msa_translate.c,
Richard Henderson <=
- [PATCH v2 36/76] target/microblaze: Drop tcg_temp_free, Richard Henderson, 2023/02/27
- [PATCH v2 37/76] target/mips: Drop tcg_temp_free from micromips_translate.c.inc, Richard Henderson, 2023/02/27
- [PATCH v2 41/76] target/mips: Drop tcg_temp_free from nanomips_translate.c.inc, Richard Henderson, 2023/02/27
- [PATCH v2 40/76] target/mips: Drop tcg_temp_free from mxu_translate.c, Richard Henderson, 2023/02/27
- [PATCH v2 42/76] target/mips: Drop tcg_temp_free from octeon_translate.c, Richard Henderson, 2023/02/27
- [PATCH v2 44/76] target/mips: Drop tcg_temp_free from tx79_translate.c, Richard Henderson, 2023/02/27
- [PATCH v2 48/76] target/nios2: Drop tcg_temp_free, Richard Henderson, 2023/02/27
- [PATCH v2 45/76] target/mips: Fix trans_mult_acc return, Richard Henderson, 2023/02/27
- [PATCH v2 43/76] target/mips: Drop tcg_temp_free from translate_addr_const.c, Richard Henderson, 2023/02/27
- [PATCH v2 50/76] target/ppc: Drop tcg_temp_free, Richard Henderson, 2023/02/27