[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 02/20] target/mips: Drop tcg_temp_free from micromips_translat
From: |
Richard Henderson |
Subject: |
[PATCH v3 02/20] target/mips: Drop tcg_temp_free from micromips_translate.c.inc |
Date: |
Sat, 4 Mar 2023 10:18:42 -0800 |
Translators are no longer required to free tcg temporaries.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
Cc: Philippe Mathieu-Daudé <philmd@linaro.org>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>
---
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:
--
2.34.1
- [PATCH v3 00/20] tcg: drop tcg_temp_free from translators, Richard Henderson, 2023/03/04
- [PATCH v3 01/20] target/i386: Drop tcg_temp_free, Richard Henderson, 2023/03/04
- [PATCH v3 02/20] target/mips: Drop tcg_temp_free from micromips_translate.c.inc,
Richard Henderson <=
- [PATCH v3 03/20] target/mips: Drop tcg_temp_free from mips16e_translate.c.inc, Richard Henderson, 2023/03/04
- [PATCH v3 04/20] target/mips: Drop tcg_temp_free from msa_translate.c, Richard Henderson, 2023/03/04
- [PATCH v3 06/20] target/mips: Drop tcg_temp_free from nanomips_translate.c.inc, Richard Henderson, 2023/03/04
- [PATCH v3 07/20] target/mips: Drop tcg_temp_free from octeon_translate.c, Richard Henderson, 2023/03/04
- [PATCH v3 08/20] target/mips: Drop tcg_temp_free from translate_addr_const.c, Richard Henderson, 2023/03/04
- [PATCH v3 05/20] target/mips: Drop tcg_temp_free from mxu_translate.c, Richard Henderson, 2023/03/04
- [PATCH v3 09/20] target/mips: Drop tcg_temp_free from tx79_translate.c, Richard Henderson, 2023/03/04
- [PATCH v3 10/20] target/mips: Fix trans_mult_acc return, Richard Henderson, 2023/03/04
- [PATCH v3 12/20] target/mips: Drop tcg_temp_free from translate.c, Richard Henderson, 2023/03/04