[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 05/67] target/mips: Drop tcg_temp_free from octeon_translate.c
From: |
Richard Henderson |
Subject: |
[PULL 05/67] target/mips: Drop tcg_temp_free from octeon_translate.c |
Date: |
Tue, 7 Mar 2023 09:57:46 -0800 |
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/octeon_translate.c | 23 -----------------------
1 file changed, 23 deletions(-)
diff --git a/target/mips/tcg/octeon_translate.c
b/target/mips/tcg/octeon_translate.c
index 6a207d2e7e..103c304d10 100644
--- a/target/mips/tcg/octeon_translate.c
+++ b/target/mips/tcg/octeon_translate.c
@@ -40,8 +40,6 @@ static bool trans_BBIT(DisasContext *ctx, arg_BBIT *a)
ctx->hflags |= MIPS_HFLAG_BC;
ctx->btarget = ctx->base.pc_next + 4 + a->offset * 4;
ctx->hflags |= MIPS_HFLAG_BDS32;
-
- tcg_temp_free(t0);
return true;
}
@@ -61,10 +59,6 @@ static bool trans_BADDU(DisasContext *ctx, arg_BADDU *a)
tcg_gen_add_tl(t0, t0, t1);
tcg_gen_andi_i64(cpu_gpr[a->rd], t0, 0xff);
-
- tcg_temp_free(t0);
- tcg_temp_free(t1);
-
return true;
}
@@ -83,10 +77,6 @@ static bool trans_DMUL(DisasContext *ctx, arg_DMUL *a)
gen_load_gpr(t1, a->rt);
tcg_gen_mul_i64(cpu_gpr[a->rd], t0, t1);
-
- tcg_temp_free(t0);
- tcg_temp_free(t1);
-
return true;
}
@@ -103,8 +93,6 @@ static bool trans_EXTS(DisasContext *ctx, arg_EXTS *a)
gen_load_gpr(t0, a->rs);
tcg_gen_sextract_tl(t0, t0, a->p, a->lenm1 + 1);
gen_store_gpr(t0, a->rt);
- tcg_temp_free(t0);
-
return true;
}
@@ -121,8 +109,6 @@ static bool trans_CINS(DisasContext *ctx, arg_CINS *a)
gen_load_gpr(t0, a->rs);
tcg_gen_deposit_z_tl(t0, t0, a->p, a->lenm1 + 1);
gen_store_gpr(t0, a->rt);
- tcg_temp_free(t0);
-
return true;
}
@@ -142,8 +128,6 @@ static bool trans_POP(DisasContext *ctx, arg_POP *a)
}
tcg_gen_ctpop_tl(t0, t0);
gen_store_gpr(t0, a->rd);
- tcg_temp_free(t0);
-
return true;
}
@@ -167,10 +151,6 @@ static bool trans_SEQNE(DisasContext *ctx, arg_SEQNE *a)
} else {
tcg_gen_setcond_tl(TCG_COND_EQ, cpu_gpr[a->rd], t1, t0);
}
-
- tcg_temp_free(t0);
- tcg_temp_free(t1);
-
return true;
}
@@ -194,8 +174,5 @@ static bool trans_SEQNEI(DisasContext *ctx, arg_SEQNEI *a)
} else {
tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_gpr[a->rt], t0, imm);
}
-
- tcg_temp_free(t0);
-
return true;
}
--
2.34.1
- [PULL 00/67] tcg patch queue, Richard Henderson, 2023/03/07
- [PULL 01/67] target/mips: Drop tcg_temp_free from micromips_translate.c.inc, Richard Henderson, 2023/03/07
- [PULL 06/67] target/mips: Drop tcg_temp_free from translate_addr_const.c, Richard Henderson, 2023/03/07
- [PULL 02/67] target/mips: Drop tcg_temp_free from msa_translate.c, Richard Henderson, 2023/03/07
- [PULL 08/67] target/mips: Drop tcg_temp_free from vr54xx_translate.c, Richard Henderson, 2023/03/07
- [PULL 03/67] target/mips: Drop tcg_temp_free from mxu_translate.c, Richard Henderson, 2023/03/07
- [PULL 10/67] target/s390x: Drop free_compare, Richard Henderson, 2023/03/07
- [PULL 07/67] target/mips: Drop tcg_temp_free from tx79_translate.c, Richard Henderson, 2023/03/07
- [PULL 05/67] target/mips: Drop tcg_temp_free from octeon_translate.c,
Richard Henderson <=
- [PULL 04/67] target/mips: Drop tcg_temp_free from nanomips_translate.c.inc, Richard Henderson, 2023/03/07
- [PULL 11/67] target/s390x: Drop tcg_temp_free from translate_vx.c.inc, Richard Henderson, 2023/03/07
- [PULL 13/67] target/s390x: Remove assert vs g_in2, Richard Henderson, 2023/03/07
- [PULL 09/67] target/mips: Drop tcg_temp_free from translate.c, Richard Henderson, 2023/03/07
- [PULL 15/67] tcg: Create tcg/tcg-temp-internal.h, Richard Henderson, 2023/03/07
- [PULL 12/67] target/s390x: Drop tcg_temp_free from translate.c, Richard Henderson, 2023/03/07
- [PULL 14/67] target/s390x: Remove g_out, g_out2, g_in1, g_in2 from DisasContext, Richard Henderson, 2023/03/07
- [PULL 16/67] include/exec: Set default `NB_MMU_MODES` to 16, Richard Henderson, 2023/03/07
- [PULL 21/67] target/hexagon: Remove `NB_MMU_MODES` define, Richard Henderson, 2023/03/07
- [PULL 17/67] target/alpha: Remove `NB_MMU_MODES` define, Richard Henderson, 2023/03/07