[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 25/27] exec/gen-icount: Don't use tcg_temp_local_new_i32
From: |
Richard Henderson |
Subject: |
[PATCH 25/27] exec/gen-icount: Don't use tcg_temp_local_new_i32 |
Date: |
Mon, 30 Jan 2023 10:59:33 -1000 |
Since tcg_temp_new_i32 is now identical, use that.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
include/exec/gen-icount.h | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h
index c57204ddad..21a1bff8b7 100644
--- a/include/exec/gen-icount.h
+++ b/include/exec/gen-icount.h
@@ -19,13 +19,7 @@ static inline void gen_io_start(void)
static inline void gen_tb_start(const TranslationBlock *tb)
{
- TCGv_i32 count;
-
- if (tb_cflags(tb) & CF_USE_ICOUNT) {
- count = tcg_temp_local_new_i32();
- } else {
- count = tcg_temp_new_i32();
- }
+ TCGv_i32 count = tcg_temp_new_i32();
tcg_gen_ld_i32(count, cpu_env,
offsetof(ArchCPU, neg.icount_decr.u32) -
--
2.34.1
- [PATCH 15/27] tcg: Change default temp lifetime to TEMP_TB, (continued)
- [PATCH 15/27] tcg: Change default temp lifetime to TEMP_TB, Richard Henderson, 2023/01/30
- [PATCH 13/27] accel/tcg/plugin: Tidy plugin_gen_disable_mem_helpers, Richard Henderson, 2023/01/30
- [PATCH 11/27] tcg: Use tcg_temp_ebb_new_* in tcg/, Richard Henderson, 2023/01/30
- [PATCH 14/27] tcg: Don't re-use TEMP_TB temporaries, Richard Henderson, 2023/01/30
- [PATCH 19/27] target/hexagon: Don't use tcg_temp_local_new_*, Richard Henderson, 2023/01/30
- [PATCH 21/27] target/i386: Don't use tcg_temp_local_new, Richard Henderson, 2023/01/30
- [PATCH 22/27] target/mips: Don't use tcg_temp_local_new, Richard Henderson, 2023/01/30
- [PATCH 25/27] exec/gen-icount: Don't use tcg_temp_local_new_i32,
Richard Henderson <=
- [PATCH 26/27] tcg: Remove tcg_temp_local_new_*, tcg_const_local_*, Richard Henderson, 2023/01/30
- [PATCH 27/27] tcg: Update docs/devel/tcg-ops.rst for temporary changes, Richard Henderson, 2023/01/30
- [PATCH 20/27] target/hppa: Don't use tcg_temp_local_new, Richard Henderson, 2023/01/30
- [PATCH 17/27] target/arm: Don't use tcg_temp_local_new_*, Richard Henderson, 2023/01/30
- [PATCH 18/27] target/cris: Don't use tcg_temp_local_new, Richard Henderson, 2023/01/30