[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 33/48] include/exec: Remove CODE_GEN_AVG_BLOCK_SIZE
|
From: |
Richard Henderson |
|
Subject: |
[PATCH v3 33/48] include/exec: Remove CODE_GEN_AVG_BLOCK_SIZE |
|
Date: |
Tue, 30 May 2023 21:03:15 -0700 |
The last use was removed with 2ac01d6dafab.
Fixes: 2ac01d6dafab ("translate-all: use a binary search tree to track TBs in
TBContext")
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
- [PATCH v3 35/48] accel/tcg: Introduce translator_io_start, (continued)
- [PATCH v3 35/48] accel/tcg: Introduce translator_io_start, Richard Henderson, 2023/05/31
- [PATCH v3 39/48] *: Add missing includes of exec/translation-block.h, Richard Henderson, 2023/05/31
- [PATCH v3 24/48] tcg: Split helper-proto.h, Richard Henderson, 2023/05/31
- [PATCH v3 25/48] tcg: Add insn_start_words to TCGContext, Richard Henderson, 2023/05/31
- [PATCH v3 11/48] tcg: Split out tcg-target-reg-bits.h, Richard Henderson, 2023/05/31
- [PATCH v3 29/48] tcg: Remove NO_CPU_IO_DEFS, Richard Henderson, 2023/05/31
- [PATCH v3 31/48] exec-all: Widen TranslationBlock pc and cs_base to 64-bits, Richard Henderson, 2023/05/31
- [PATCH v3 28/48] tcg: Split tcg/tcg-op-gvec.h, Richard Henderson, 2023/05/31
- [PATCH v3 27/48] tcg: Move TLB_FLAGS_MASK check out of get_alignment_bits, Richard Henderson, 2023/05/31
- [PATCH v3 33/48] include/exec: Remove CODE_GEN_AVG_BLOCK_SIZE,
Richard Henderson <=
- [PATCH v3 34/48] accel/tcg: Move most of gen-icount.h into translator.c, Richard Henderson, 2023/05/31
- [PATCH v3 36/48] accel/tcg: Move translator_fake_ldb out of line, Richard Henderson, 2023/05/31
- [PATCH v3 38/48] target/mips: Tidy helpers for translation, Richard Henderson, 2023/05/31
- [PATCH v3 48/48] tcg: Build once for system and once for user-only, Richard Henderson, 2023/05/31
- [PATCH v3 46/48] plugins: Drop unused headers from exec/plugin-gen.h, Richard Henderson, 2023/05/31
- [PATCH v3 40/48] *: Add missing includes of exec/exec-all.h, Richard Henderson, 2023/05/31
- [PATCH v3 41/48] accel/tcg: Tidy includes for translator.[ch], Richard Henderson, 2023/05/31