[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 60/62] exec/gen-icount: Don't use tcg_temp_local_new_i32
From: |
Richard Henderson |
Subject: |
[PULL 60/62] exec/gen-icount: Don't use tcg_temp_local_new_i32 |
Date: |
Tue, 28 Feb 2023 16:56:41 -1000 |
Since tcg_temp_new_i32 is now identical, use that.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
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 5b1794188f..aff35d6982 100644
--- a/include/exec/gen-icount.h
+++ b/include/exec/gen-icount.h
@@ -16,13 +16,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
- [PULL 36/62] tcg: Rename TEMP_LOCAL to TEMP_TB, (continued)
- [PULL 36/62] tcg: Rename TEMP_LOCAL to TEMP_TB, Richard Henderson, 2023/02/28
- [PULL 37/62] tcg: Use noinline for major tcg_gen_code subroutines, Richard Henderson, 2023/02/28
- [PULL 38/62] tcg: Add liveness_pass_0, Richard Henderson, 2023/02/28
- [PULL 39/62] tcg: Remove TEMP_NORMAL, Richard Henderson, 2023/02/28
- [PULL 47/62] accel/tcg/plugin: Tidy plugin_gen_disable_mem_helpers, Richard Henderson, 2023/02/28
- [PULL 58/62] target/ppc: Don't use tcg_temp_local_new, Richard Henderson, 2023/02/28
- [PULL 46/62] accel/tcg/plugin: Use tcg_temp_ebb_*, Richard Henderson, 2023/02/28
- [PULL 55/62] target/hppa: Don't use tcg_temp_local_new, Richard Henderson, 2023/02/28
- [PULL 43/62] tcg: Add tcg_temp_ebb_new_{i32,i64,ptr}, Richard Henderson, 2023/02/28
- [PULL 44/62] tcg: Use tcg_temp_ebb_new_* in tcg/, Richard Henderson, 2023/02/28
- [PULL 60/62] exec/gen-icount: Don't use tcg_temp_local_new_i32,
Richard Henderson <=
- [PULL 56/62] target/i386: Don't use tcg_temp_local_new, Richard Henderson, 2023/02/28
- [PULL 50/62] target/arm: Drop copies in gen_sve_{ldr,str}, Richard Henderson, 2023/02/28
- [PULL 48/62] tcg: Don't re-use TEMP_TB temporaries, Richard Henderson, 2023/02/28
- [PULL 40/62] tcg: Pass TCGTempKind to tcg_temp_new_internal, Richard Henderson, 2023/02/28
- [PULL 49/62] tcg: Change default temp lifetime to TEMP_TB, Richard Henderson, 2023/02/28
- [PULL 59/62] target/xtensa: Don't use tcg_temp_local_new_*, Richard Henderson, 2023/02/28
- [PULL 42/62] tcg: Add tcg_gen_movi_ptr, Richard Henderson, 2023/02/28
- [PULL 45/62] tcg: Use tcg_constant_ptr in do_dup, Richard Henderson, 2023/02/28
- [PULL 53/62] target/hexagon: Don't use tcg_temp_local_new_*, Richard Henderson, 2023/02/28
- [PULL 57/62] target/mips: Don't use tcg_temp_local_new, Richard Henderson, 2023/02/28