[PATCH v2 04/50] tcg: Increase maximum TB size
Anton Johansson via qemu development <[email protected]>
| Newsgroups | gmane.comp.emulators.qemu |
|---|---|
| Message-ID | <[email protected]> |
Doubles amount of space allocated for translation blocks. This is needed, particularly for Hexagon, where a single instruction packet may consist of up to four vector instructions. If each vector instruction then gets expanded into gvec operations that utilize a small host vector size the TB blows up quite quickly. Signed-off-by: Anton Johansson <[email protected]> --- include/tcg/tcg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h index 7669dc1c2d..9f0a35f1be 100644 --- a/include/tcg/tcg.h +++ b/include/tcg/tcg.h @@ -40,7 +40,7 @@ /* XXX: make safe guess about sizes */ #define MAX_OP_PER_INSTR 266 -#define CPU_TEMP_BUF_NLONGS 128 +#define CPU_TEMP_BUF_NLONGS 256 #define TCG_STATIC_FRAME_SIZE (CPU_TEMP_BUF_NLONGS * sizeof(long)) typedef int64_t tcg_target_long; -- 2.52.0