[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 34/52] include/exec: Remove CODE_GEN_AVG_BLOCK_SIZE
From: |
Richard Henderson |
Subject: |
[PULL 34/52] include/exec: Remove CODE_GEN_AVG_BLOCK_SIZE |
Date: |
Mon, 5 Jun 2023 13:15:30 -0700 |
The last use was removed with 2ac01d6dafab.
Fixes: 2ac01d6dafab ("translate-all: use a binary search tree to track TBs in
TBContext")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
include/exec/exec-all.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
index f01c7d57e8..698943d58f 100644
--- a/include/exec/exec-all.h
+++ b/include/exec/exec-all.h
@@ -467,16 +467,6 @@ int probe_access_full(CPUArchState *env, target_ulong
addr, int size,
CPUTLBEntryFull **pfull, uintptr_t retaddr);
#endif
-/* Estimated block size for TB allocation. */
-/* ??? The following is based on a 2015 survey of x86_64 host output.
- Better would seem to be some sort of dynamically sized TB array,
- adapting to the block sizes actually being produced. */
-#if defined(CONFIG_SOFTMMU)
-#define CODE_GEN_AVG_BLOCK_SIZE 400
-#else
-#define CODE_GEN_AVG_BLOCK_SIZE 150
-#endif
-
/* Hide the qatomic_read to make code a little easier on the eyes */
static inline uint32_t tb_cflags(const TranslationBlock *tb)
{
--
2.34.1
- [PULL 32/52] exec-all: Widen TranslationBlock pc and cs_base to 64-bits, (continued)
- [PULL 32/52] exec-all: Widen TranslationBlock pc and cs_base to 64-bits, Richard Henderson, 2023/06/05
- [PULL 24/52] tcg: Split helper-proto.h, Richard Henderson, 2023/06/05
- [PULL 28/52] tcg: Move TLB_FLAGS_MASK check out of get_alignment_bits, Richard Henderson, 2023/06/05
- [PULL 29/52] tcg: Split tcg/tcg-op-gvec.h, Richard Henderson, 2023/06/05
- [PULL 35/52] accel/tcg: Move most of gen-icount.h into translator.c, Richard Henderson, 2023/06/05
- [PULL 33/52] tcg: Spit out exec/translation-block.h, Richard Henderson, 2023/06/05
- [PULL 31/52] exec-all: Widen tb_page_addr_t for user-only, Richard Henderson, 2023/06/05
- [PULL 30/52] tcg: Remove NO_CPU_IO_DEFS, Richard Henderson, 2023/06/05
- [PULL 23/52] tcg: Split helper-gen.h, Richard Henderson, 2023/06/05
- [PULL 15/52] tcg: Split tcg/tcg-op-common.h from tcg/tcg-op.h, Richard Henderson, 2023/06/05
- [PULL 34/52] include/exec: Remove CODE_GEN_AVG_BLOCK_SIZE,
Richard Henderson <=
- [PULL 39/52] target/arm: Tidy helpers for translation, Richard Henderson, 2023/06/05
- [PULL 38/52] accel/tcg: Move translator_fake_ldb out of line, Richard Henderson, 2023/06/05
- [PULL 20/52] tcg: Pass TCGHelperInfo to tcg_gen_callN, Richard Henderson, 2023/06/05
- [PULL 22/52] tcg: Split tcg_gen_callN, Richard Henderson, 2023/06/05
- [PULL 36/52] accel/tcg: Introduce translator_io_start, Richard Henderson, 2023/06/05
- [PULL 37/52] target/ppc: Inline gen_icount_io_start(), Richard Henderson, 2023/06/05
- [PULL 42/52] target/arm: Add missing include of exec/exec-all.h, Richard Henderson, 2023/06/05
- [PULL 44/52] tcg: Fix PAGE/PROT confusion, Richard Henderson, 2023/06/05
- [PULL 45/52] tcg: Move env defines out of NEED_CPU_H in helper-head.h, Richard Henderson, 2023/06/05
- [PULL 40/52] target/mips: Tidy helpers for translation, Richard Henderson, 2023/06/05