mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
TCG: Move translation block variables to new context inside tcg_ctx: tb_ctx
It's worth to clean-up translation blocks variables and move them into one context as was suggested by Swirl. Also if we use this context directly inside tcg_ctx, then it speeds up code generation a bit. Signed-off-by: Evgeny Voevodin <evgenyvoevodin@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
0b0d3320db
commit
5e5f07e08f
5 changed files with 79 additions and 70 deletions
|
@ -471,6 +471,8 @@ struct TCGContext {
|
|||
size_t code_gen_buffer_max_size;
|
||||
uint8_t *code_gen_ptr;
|
||||
|
||||
TBContext tb_ctx;
|
||||
|
||||
#if defined(CONFIG_QEMU_LDST_OPTIMIZATION) && defined(CONFIG_SOFTMMU)
|
||||
/* labels info for qemu_ld/st IRs
|
||||
The labels help to generate TLB miss case codes at the end of TB */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue