tcg cross-tb optimizations
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest25 of 26 patches 1 replyIn review
- v625 patches 8 repliesSuperseded
- v519 patches 21 repliesSuperseded
Changes since v7 from the cover letter
* I've dropped the alpha patch to use goto_ptr until I can figure out why this is causing minute-long hangs while booting a kernel. It's an odd one, perhaps timing related, since the hangs do not (usually) occur when logging is enabled.
* Added r-b and patches from Aurelien.
25 of 26 patches are in this archive. The cover letter announces 26.
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/26 | target/nios2: Fix 64-bit ilp32 compilationtarget/ | +1 | 0 replies | |
| 2/26 | tcg/sparc: Use the proper compilation flags for 32-bitconfigure | +3 | 0 replies | |
| 3/26 | qemu/atomic: Loosen restrictions for 64-bit ILP32 hostsinclude/ | +26 | 0 replies | |
| 4/26 | tcg: Introduce goto_ptr opcode and tcg_gen_lookup_and_goto_ptrcpu-exec.c include/ tcg-runtime.c +16 more | +85 | 0 replies | |
| 5/26 | tcg/i386: implement goto_ptrtcg/ tcg/ | +23 | 0 replies | |
| 6/26 | target/arm: optimize cross-page direct jumps in softmmutarget/ | +5 | 0 replies | |
| 7/26 | target/arm: optimize indirect branchestarget/ target/ | +20 | 0 replies | |
| 8/26 | target/i386: introduce gen_jr helper to generate lookup_and_goto_ptrtarget/ | +24 | 0 replies | |
| 9/26 | target/i386: optimize cross-page direct jumps in softmmutarget/ | +2 | 0 replies | |
| 10/26 | target/i386: optimize indirect branchestarget/ | +8 | 0 replies | |
| 11/26 | tb-hash: improve tb_jmp_cache hash function in user modeinclude/ | +12 | 0 replies | |
| 12/26 | tcg/ppc: Implement goto_ptrtcg/ tcg/ | +8 | 0 replies | |
| 13/26 | tcg/aarch64: Implement goto_ptrtcg/ tcg/ | +21 | 0 replies | |
| 14/26 | tcg/sparc: Implement goto_ptrtcg/ tcg/ | +11 | 0 replies | |
| 15/26 | tcg/s390: Implement goto_ptrtcg/ tcg/ | +22 | 0 replies | |
| 16/26 | tcg/arm: Clarify tcg_out_bx for arm4 hosttcg/ | +15 | 1 reply | |
| 17/26 | tcg/arm: Implement goto_ptrtcg/ tcg/ | +22 | 0 replies | |
| 19/26 | target/s390: Use tcg_gen_lookup_and_goto_ptrtarget/ | +12 | 0 replies | |
| 20/26 | target/hppa: Use tcg_gen_lookup_and_goto_ptrtarget/ | +4 | 0 replies | |
| 21/26 | target/aarch64: optimize cross-page direct jumps in softmmutarget/ | +1 | 0 replies | |
| 22/26 | target/aarch64: optimize indirect branchestarget/ | +1 | 0 replies | |
| 23/26 | target/mips: optimize cross-page direct jumps in softmmutarget/ | +1 | 0 replies | |
| 24/26 | target/mips: optimize indirect branchestarget/ | +1 | 0 replies | |
| 25/26 | target/alpha: Implement WTINT inlinetarget/ | +11 | 0 replies | |
| 26/26 | target/alpha: Use goto_tb for fallthru between TBstarget/ | +12 | 0 replies |
Reviews trailers per patch
14 of 25 patches have a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé | Alex Bennée | Richard Henderson | Emilio G. Cota | Aurelien Jarno |
|---|---|---|---|---|---|
| 1/26 | R-b | R-b | |||
| 2/26 | R-b | ||||
| 3/26 | R-b | ||||
| 4/26 | R-b | ||||
| 5/26 | R-b | ||||
| 6/26 | R-b | R-b | |||
| 7/26 | |||||
| 8/26 | R-b | ||||
| 9/26 | R-b | ||||
| 10/26 | R-b | R-b | |||
| 11/26 | R-b | R-b | |||
| 12/26 | |||||
| 13/26 | T-b | R-b | |||
| 14/26 | |||||
| 15/26 | T-b R-b | ||||
| 16/26 | R-b | ||||
| 17/26 | |||||
| 19/26 | T-b R-b | ||||
| 20/26 | |||||
| 21/26 | |||||
| 22/26 | |||||
| 23/26 | |||||
| 24/26 | |||||
| 25/26 | |||||
| 26/26 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [Qemu-devel] [PATCH v7 00/26] tcg cross-tb optimizations
Changes since v7:
* I've dropped the alpha patch to use goto_ptr until I can figure out why this is causing minute-long hangs while booting a kernel. It's an odd one, perhaps timing related, since the hangs do not (usually) occur when logging is enabled.
* Added r-b and patches from Aurelien.
r~
Aurelien Jarno (3):
tcg/mips: implement goto_ptr
target/mips: optimize cross-page direct jumps in softmmu target/mips: optimize indirect branches
Emilio G. Cota (10):
tcg: Introduce goto_ptr opcode and tcg_gen_lookup_and_goto_ptr tcg/i386: implement goto_ptr
target/arm: optimize cross-page direct jumps in softmmu target/arm: optimize indirect branches
target/i386: introduce gen_jr helper to generate lookup_and_goto_ptr target/i386: optimize cross-page direct jumps in softmmu target/i386: optimize indirect branches
tb-hash: improve tb_jmp_cache hash function in user mode target/aarch64: optimize cross-page direct jumps in softmmu target/aarch64: optimize indirect branches
Richard Henderson (13):
target/nios2: Fix 64-bit ilp32 compilation tcg/sparc: Use the proper compilation flags for 32-bit qemu/atomic: Loosen restrictions for 64-bit ILP32 hosts tcg/ppc: Implement goto_ptr
tcg/aarch64: Implement goto_ptr
tcg/sparc: Implement goto_ptr
tcg/s390: Implement goto_ptr
tcg/arm: Clarify tcg_out_bx for arm4 host tcg/arm: Implement goto_ptr
target/s390: Use tcg_gen_lookup_and_goto_ptr target/hppa: Use tcg_gen_lookup_and_goto_ptr target/alpha: Implement WTINT inline target/alpha: Use goto_tb for fallthru between TBs
configure | 6 ++--- cpu-exec.c | 6 ++--- include/exec/exec-all.h | 2 ++ include/exec/tb-hash.h | 12 ++++++++++ include/qemu/atomic.h | 34 +++++++++++++++++++++------- target/alpha/translate.c | 30 ++++++++++++++++++------ target/arm/translate-a64.c | 5 ++-- target/arm/translate.c | 21 +++++++++++++---- target/arm/translate.h | 4 ++++ target/hppa/translate.c | 8 +++---- target/i386/translate.c | 43 +++++++++++++++++++++++++++-------- target/mips/translate.c | 4 ++-- target/nios2/translate.c | 2 +- target/s390x/translate.c | 17 ++++++++++---- tcg-runtime.c | 32 ++++++++++++++++++++++++++ tcg/README | 8 +++++++ tcg/aarch64/tcg-target.h | 1 + tcg/aarch64/tcg-target.inc.c | 22 ++++++++++++++++-- tcg/arm/tcg-target.h | 1 + tcg/arm/tcg-target.inc.c | 54 +++++++++++++++++++++++++++++--------------- tcg/i386/tcg-target.h | 1 + tcg/i386/tcg-target.inc.c | 24 ++++++++++++++++++-- tcg/ia64/tcg-target.h | 1 + tcg/mips/tcg-target.h | 1 + tcg/mips/tcg-target.inc.c | 13 +++++++++++ tcg/ppc/tcg-target.h | 1 + tcg/ppc/tcg-target.inc.c | 7 ++++++ tcg/s390/tcg-target.h | 1 + tcg/s390/tcg-target.inc.c | 24 +++++++++++++++++--- tcg/sparc/tcg-target.h | 1 + tcg/sparc/tcg-target.inc.c | 11 ++++++++- tcg/tcg-op.c | 12 ++++++++++ tcg/tcg-op.h | 11 +++++++++ tcg/tcg-opc.h | 1 + tcg/tcg-runtime.h | 2 ++ tcg/tcg.c | 5 ++++ tcg/tcg.h | 1 + tcg/tci/tcg-target.h | 1 + 38 files changed, 353 insertions(+), 77 deletions(-)
Signature · 1 line
2.9.4