[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 08/20] target/mips: Drop tcg_temp_free from translate_addr_con
From: |
Richard Henderson |
Subject: |
[PATCH v3 08/20] target/mips: Drop tcg_temp_free from translate_addr_const.c |
Date: |
Sat, 4 Mar 2023 10:18:48 -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/translate_addr_const.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/target/mips/tcg/translate_addr_const.c
b/target/mips/tcg/translate_addr_const.c
index 96f483418e..a510da406c 100644
--- a/target/mips/tcg/translate_addr_const.c
+++ b/target/mips/tcg/translate_addr_const.c
@@ -30,10 +30,6 @@ bool gen_lsa(DisasContext *ctx, int rd, int rt, int rs, int
sa)
tcg_gen_shli_tl(t0, t0, sa + 1);
tcg_gen_add_tl(cpu_gpr[rd], t0, t1);
tcg_gen_ext32s_tl(cpu_gpr[rd], cpu_gpr[rd]);
-
- tcg_temp_free(t1);
- tcg_temp_free(t0);
-
return true;
}
@@ -54,8 +50,5 @@ bool gen_dlsa(DisasContext *ctx, int rd, int rt, int rs, int
sa)
gen_load_gpr(t1, rt);
tcg_gen_shli_tl(t0, t0, sa + 1);
tcg_gen_add_tl(cpu_gpr[rd], t0, t1);
- tcg_temp_free(t1);
- tcg_temp_free(t0);
-
return true;
}
--
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, 2023/03/04
- [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 <=
- [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
- [PATCH v3 11/20] target/mips: Drop tcg_temp_free from vr54xx_translate.c, Richard Henderson, 2023/03/04
- [PATCH v3 17/20] target/s390x: Remove g_out, g_out2, g_in1, g_in2 from DisasContext, Richard Henderson, 2023/03/04
- Re: [PATCH v3 17/20] target/s390x: Remove g_out, g_out2, g_in1, g_in2 from DisasContext, David Hildenbrand, 2023/03/06
- Re: [PATCH v3 17/20] target/s390x: Remove g_out, g_out2, g_in1, g_in2 from DisasContext, Ilya Leoshkevich, 2023/03/06
- [PATCH v3 16/20] target/s390x: Remove assert vs g_in2, Richard Henderson, 2023/03/04