[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 28/28] tcg: Remove USE_TCG_OPTIMIZATIONS
|
From: |
Richard Henderson |
|
Subject: |
[PULL 28/28] tcg: Remove USE_TCG_OPTIMIZATIONS |
|
Date: |
Tue, 23 May 2023 16:58:04 -0700 |
This is always defined, and the optimization pass is
essential to producing reasonable code.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
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 bfe3d80fc2..ac30d484f5 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. */
@@ -6028,9 +6025,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
- [PULL 13/28] include/qemu: Move CONFIG_ATOMIC128_OPT handling to atomic128.h, (continued)
- [PULL 13/28] include/qemu: Move CONFIG_ATOMIC128_OPT handling to atomic128.h, Richard Henderson, 2023/05/23
- [PULL 14/28] target/ppc: Use tcg_gen_qemu_{ld, st}_i128 for LQARX, LQ, STQ, Richard Henderson, 2023/05/23
- [PULL 18/28] target/s390x: Always use cpu_atomic_cmpxchgl_be_mmu in do_csst, Richard Henderson, 2023/05/23
- [PULL 27/28] tcg: Remove DEBUG_DISAS, Richard Henderson, 2023/05/23
- [PULL 19/28] accel/tcg: Remove cpu_atomic_{ld,st}o_*_mmu, Richard Henderson, 2023/05/23
- [PULL 24/28] tcg: Split out tcg/debug-assert.h, Richard Henderson, 2023/05/23
- [PULL 15/28] target/s390x: Use tcg_gen_qemu_{ld, st}_i128 for LPQ, STPQ, Richard Henderson, 2023/05/23
- [PULL 22/28] qemu/atomic128: Split atomic16_read, Richard Henderson, 2023/05/23
- [PULL 25/28] qemu/atomic128: Improve cmpxchg fallback for atomic16_set, Richard Henderson, 2023/05/23
- [PULL 23/28] accel/tcg: Correctly use atomic128.h in ldst_atomicity.c.inc, Richard Henderson, 2023/05/23
- [PULL 28/28] tcg: Remove USE_TCG_OPTIMIZATIONS,
Richard Henderson <=
- [PULL 26/28] qemu/atomic128: Add runtime test for FEAT_LSE2, Richard Henderson, 2023/05/23