Do away with TB retranslation
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest26 patches 10 repliesIn review
- v325 patches 27 repliesSuperseded
- v222 patches 22 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 RFC | 19 of 20 patches | 42 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/26 | tcg: Rename debug_insn_start to insn_starttarget-alpha/ target-arm/ target-arm/ +20 more | +28 | 0 replies | |
| 2/26 | target-*: Unconditionally emit tcg_gen_insn_starttarget-alpha/ target-arm/ target-arm/ +17 more | +41 | 0 replies | |
| 3/26 | target-*: Increment num_insns immediately after tcg_gen_insn_starttarget-alpha/ target-arm/ target-arm/ +16 more | +41 | 0 replies | |
| 4/26 | target-*: Introduce and use cpu_breakpoint_testinclude/ target-alpha/ target-arm/ +15 more | +160 | 1 reply | |
| 5/26 | tcg: Allow extra data to be attached to insn_starttcg/ tcg/ tcg/ +1 more | +59 | 0 replies | |
| 6/26 | target-arm: Add condexec state to insn_starttarget-arm/ target-arm/ target-arm/ | +4 | 0 replies | |
| 7/26 | target-i386: Add cc_op state to insn_starttarget-i386/ target-i386/ | +2 | 0 replies | |
| 8/26 | target-mips: Add delayed branch state to insn_starttarget-mips/ target-mips/ | +3 | 0 replies | |
| 9/26 | target-s390x: Add cc_op state to insn_starttarget-s390x/ target-s390x/ | +2 | 0 replies | |
| 10/26 | target-sh4: Add flags state to insn_starttarget-sh4/ target-sh4/ | +2 | 0 replies | |
| 11/26 | target-cris: Mirror gen_opc_pc into insn_starttarget-cris/ | +2 | 0 replies | |
| 12/26 | target-sparc: Tidy gen_branch_a interfacetarget-sparc/ | +10 | 0 replies | |
| 13/26 | target-sparc: Split out gen_branch_ntarget-sparc/ | +28 | 0 replies | |
| 14/26 | target-sparc: Remove gen_opc_jump_pctarget-sparc/ | +10 | 0 replies | |
| 15/26 | target-sparc: Add npc state to insn_starttarget-sparc/ target-sparc/ | +7 | 0 replies | |
| 16/26 | tcg: Merge cpu_gen_code into tb_gen_codeinclude/ translate-all.c | +59 | 0 replies | |
| 17/26 | target-*: Drop cpu_gen_code definetarget-alpha/ target-arm/ target-cris/ +13 more | +0 | 0 replies | |
| 18/26 | tcg: Add TCG_MAX_INSNStarget-alpha/ target-arm/ target-arm/ +17 more | +95 | 0 replies | |
| 19/26 | tcg: Pass data argument to restore_state_to_opcinclude/ target-alpha/ target-arm/ +19 more | +79 | 0 replies | |
| 20/26 | tcg: Save insn data and use it in cpu_restore_state_from_tbinclude/ tcg/ tcg/ +1 more | +140 | 0 replies | |
| 21/26 | tcg: Remove gen_intermediate_code_pcinclude/ target-alpha/ target-arm/ +19 more | +90 | 0 replies | |
| 22/26 | tcg: Remove tcg_gen_code_search_pctcg/ tcg/ | +19 | 0 replies | |
| 23/26 | tcg: Emit prologue to the beginning of code_gen_buffertcg/ translate-all.c | +37 | 2 replies | |
| 24/26 | tcg: Allocate a guard page after code_gen_buffertranslate-all.c | +119 | 2 replies | |
| 25/26 | tcg: Check for overflow via highwater markinclude/ tcg/ tcg/ +1 more | +40 | 3 replies | |
| 26/26 | tcg: Adjust CODE_GEN_AVG_BLOCK_SIZEinclude/ | +6 | 1 reply |
Reviews trailers per patch
25 of 26 patches have a Reviewed-by or Acked-by.
| Patch | Aurelien Jarno | Peter Maydell |
|---|---|---|
| 1/26 | R-b | R-b |
| 2/26 | R-b | R-b |
| 3/26 | R-b | R-b |
| 4/26 | R-b | R-b |
| 5/26 | R-b | R-b |
| 6/26 | R-b | R-b |
| 7/26 | R-b | R-b |
| 8/26 | R-b | R-b |
| 9/26 | R-b | R-b |
| 10/26 | R-b | R-b |
| 11/26 | R-b | R-b |
| 12/26 | R-b | R-b |
| 13/26 | R-b | R-b |
| 14/26 | R-b | R-b |
| 15/26 | R-b | R-b |
| 16/26 | R-b | R-b |
| 17/26 | R-b | R-b |
| 18/26 | R-b | R-b |
| 19/26 | R-b | R-b |
| 20/26 | R-b | R-b |
| 21/26 | R-b | R-b |
| 22/26 | R-b | R-b |
| 23/26 | R-b | |
| 24/26 | ||
| 25/26 | R-b | |
| 26/26 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v4 00/26] Do away with TB retranslation
Version 4:
* Typos noticed by pmm during round 3.
* RB's collected during round 3.
* Reduce the number of TBs allocated.
I believe the only patch left without an RB is 24; and of course 26 which is new.
r~
Richard Henderson (26):
tcg: Rename debug_insn_start to insn_start
target-*: Unconditionally emit tcg_gen_insn_start target-*: Increment num_insns immediately after tcg_gen_insn_start target-*: Introduce and use cpu_breakpoint_test
tcg: Allow extra data to be attached to insn_start
target-arm: Add condexec state to insn_start
target-i386: Add cc_op state to insn_start
target-mips: Add delayed branch state to insn_start
target-s390x: Add cc_op state to insn_start
target-sh4: Add flags state to insn_start
target-cris: Mirror gen_opc_pc into insn_start
target-sparc: Tidy gen_branch_a interface
target-sparc: Split out gen_branch_n
target-sparc: Remove gen_opc_jump_pc
target-sparc: Add npc state to insn_start
tcg: Merge cpu_gen_code into tb_gen_code
target-*: Drop cpu_gen_code define
tcg: Add TCG_MAX_INSNS
tcg: Pass data argument to restore_state_to_opc
tcg: Save insn data and use it in cpu_restore_state_from_tb
tcg: Remove gen_intermediate_code_pc
tcg: Remove tcg_gen_code_search_pc
tcg: Emit prologue to the beginning of code_gen_buffer
tcg: Allocate a guard page after code_gen_buffer
tcg: Check for overflow via highwater mark
tcg: Adjust CODE_GEN_AVG_BLOCK_SIZE
include/exec/exec-all.h | 23 +- include/qom/cpu.h | 16 ++ target-alpha/cpu.h | 1 - target-alpha/translate.c | 70 ++---- target-arm/cpu.h | 2 +- target-arm/translate-a64.c | 48 +--- target-arm/translate.c | 83 +++---- target-arm/translate.h | 8 +- target-cris/cpu.h | 1 - target-cris/translate.c | 93 ++------ target-cris/translate_v10.c | 3 - target-i386/cpu.h | 2 +- target-i386/translate.c | 106 +++------ target-lm32/cpu.h | 1 - target-lm32/translate.c | 83 ++----- target-m68k/cpu.h | 1 - target-m68k/translate.c | 82 ++----- target-microblaze/cpu.h | 1 - target-microblaze/translate.c | 83 ++----- target-mips/cpu.h | 2 +- target-mips/translate.c | 98 +++----- target-moxie/cpu.h | 1 - target-moxie/translate.c | 82 +++---- target-openrisc/cpu.h | 1 - target-openrisc/translate.c | 78 ++----- target-ppc/cpu.h | 1 - target-ppc/translate.c | 72 ++---- target-s390x/cpu.h | 2 +- target-s390x/translate.c | 78 ++----- target-sh4/cpu.h | 2 +- target-sh4/translate.c | 91 +++----- target-sparc/cpu.h | 2 +- target-sparc/translate.c | 185 +++++++-------- target-tilegx/cpu.h | 1 - target-tilegx/translate.c | 58 ++--- target-tricore/translate.c | 59 ++--- target-unicore32/translate.c | 83 ++----- target-xtensa/cpu.h | 1 - target-xtensa/translate.c | 79 ++----- tcg/tcg-op.h | 52 ++++- tcg/tcg-opc.h | 4 +- tcg/tcg.c | 168 ++++++++------ tcg/tcg.h | 20 +- tci.c | 9 - translate-all.c | 520 +++++++++++++++++++++++++----------------- 45 files changed, 964 insertions(+), 1492 deletions(-)
Signature · 1 line
2.4.3