[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 34/52] tcg: Remove USE_TCG_OPTIMIZATIONS
|
From: |
Richard Henderson |
|
Subject: |
[PATCH v2 34/52] tcg: Remove USE_TCG_OPTIMIZATIONS |
|
Date: |
Tue, 23 May 2023 06:53:04 -0700 |
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 f7e61e736f..7d0449f6a9 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. */
@@ -6078,9 +6075,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
- Re: [PATCH v2 33/52] tcg: Remove DEBUG_DISAS, (continued)
- [PATCH v2 32/52] exec-all: Widen TranslationBlock pc and cs_base to 64-bits, Richard Henderson, 2023/05/23
- [PATCH v2 24/52] tcg: Split helper-gen.h, Richard Henderson, 2023/05/23
- [PATCH v2 36/52] include/exec: Remove CODE_GEN_AVG_BLOCK_SIZE, Richard Henderson, 2023/05/23
- [PATCH v2 31/52] exec-all: Widen tb_page_addr_t for user-only, Richard Henderson, 2023/05/23
- [PATCH v2 37/52] accel/tcg: Move most of gen-icount.h into translator.c, Richard Henderson, 2023/05/23
- [PATCH v2 27/52] tcg: Add guest_mo to TCGContext, Richard Henderson, 2023/05/23
- [PATCH v2 39/52] accel/tcg: Move translator_fake_ldb out of line, Richard Henderson, 2023/05/23
- [PATCH v2 38/52] accel/tcg: Introduce translator_io_start, Richard Henderson, 2023/05/23
- [PATCH v2 34/52] tcg: Remove USE_TCG_OPTIMIZATIONS,
Richard Henderson <=
- [PATCH v2 41/52] target/mips: Tidy helpers for translation, Richard Henderson, 2023/05/23
- [PATCH v2 42/52] *: Add missing includes of exec/translation-block.h, Richard Henderson, 2023/05/23
- [PATCH v2 40/52] target/arm: Tidy helpers for translation, Richard Henderson, 2023/05/23
- [PATCH v2 45/52] tcg: Define IN_TCG, Richard Henderson, 2023/05/23
- [PATCH v2 46/52] tcg: Fix PAGE/PROT confusion, Richard Henderson, 2023/05/23
- [PATCH v2 48/52] tcg: Remove target-specific headers from tcg.[ch], Richard Henderson, 2023/05/23