[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 62/84] tcg: Remove USE_TCG_OPTIMIZATIONS
|
From: |
Richard Henderson |
|
Subject: |
[PATCH 62/84] tcg: Remove USE_TCG_OPTIMIZATIONS |
|
Date: |
Wed, 3 May 2023 08:23:09 +0100 |
This is always defined, and the optimization pass is
essential to producing reasonable code.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
tcg/tcg.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/tcg/tcg.c b/tcg/tcg.c
index c5d7c6abc1..f9bc6bd0ed 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -22,9 +22,6 @@
* THE SOFTWARE.
*/
-/* define it to use liveness analysis (better code) */
-#define USE_TCG_OPTIMIZATIONS
-
#include "qemu/osdep.h"
/* Define to jump the ELF file used to communicate with GDB. */
@@ -5936,9 +5933,7 @@ int tcg_gen_code(TCGContext *s, TranslationBlock *tb,
uint64_t pc_start)
qatomic_set(&prof->opt_time, prof->opt_time - profile_getclock());
#endif
-#ifdef USE_TCG_OPTIMIZATIONS
tcg_optimize(s);
-#endif
#ifdef CONFIG_PROFILER
qatomic_set(&prof->opt_time, prof->opt_time + profile_getclock());
--
2.34.1
- [PATCH 45/84] target/arm: Include helper-gen.h in translator.h, (continued)
- [PATCH 45/84] target/arm: Include helper-gen.h in translator.h, Richard Henderson, 2023/05/03
- [PATCH 47/84] tcg: Remove outdated comments in helper-head.h, Richard Henderson, 2023/05/03
- [PATCH 44/84] tcg: Split tcg/tcg-op-common.h from tcg/tcg-op.h, Richard Henderson, 2023/05/03
- [PATCH 46/84] target/hexagon: Include helper-gen.h where needed, Richard Henderson, 2023/05/03
- [PATCH 51/84] tcg: Split tcg_gen_callN, Richard Henderson, 2023/05/03
- [PATCH 54/84] tcg: Add insn_start_words to TCGContext, Richard Henderson, 2023/05/03
- [PATCH 53/84] tcg: Split helper-proto.h, Richard Henderson, 2023/05/03
- [PATCH 50/84] tcg: Move temp_idx and tcgv_i32_temp debug out of line, Richard Henderson, 2023/05/03
- [PATCH 48/84] tcg: Move TCGHelperInfo and dependencies to tcg/helper-info.h, Richard Henderson, 2023/05/03
- [PATCH 55/84] tcg: Add guest_mo to TCGContext, Richard Henderson, 2023/05/03
- [PATCH 62/84] tcg: Remove USE_TCG_OPTIMIZATIONS,
Richard Henderson <=
- [PATCH 57/84] tcg: Split tcg/tcg-op-gvec.h, Richard Henderson, 2023/05/03
- [PATCH 68/84] target/arm: Tidy helpers for translation, Richard Henderson, 2023/05/03
- [PATCH 69/84] target/mips: Tidy helpers for translation, Richard Henderson, 2023/05/03
- [PATCH 63/84] tcg: Spit out exec/translation-block.h, Richard Henderson, 2023/05/03
- [PATCH 65/84] accel/tcg: Move most of gen-icount.h into translator.c, Richard Henderson, 2023/05/03
- [PATCH 52/84] tcg: Split helper-gen.h, Richard Henderson, 2023/05/03
- [PATCH 59/84] exec-all: Widen tb_page_addr_t for user-only, Richard Henderson, 2023/05/03
- [PATCH 67/84] accel/tcg: Move translator_fake_ldb out of line, Richard Henderson, 2023/05/03
- [PATCH 49/84] tcg: Pass TCGHelperInfo to tcg_gen_callN, Richard Henderson, 2023/05/03
- [PATCH 56/84] tcg: Move TLB_FLAGS_MASK check out of get_alignment_bits, Richard Henderson, 2023/05/03