Skip to content

Improve tcg ldst optimization

Richard Henderson qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 1 replyIn review
  2. v18 patches 12 repliesSuperseded

Changes in v2 from the cover letter

* Feedback from Aurelien
* Added the first patch.
* ARM patches fixed.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9tcg: Tidy generated code for tcg_outNtcg/tcg.c+6 -40 replies
2/9tcg-i386: Add and use tcg_out64tcg/i386/tcg-target.c tcg/tcg.c+8 -20 replies
3/9tcg-i386: Try pc-relative lea for constant formationtcg/i386/tcg-target.c+20 -50 replies
4/9tcg-i386: Tidy qemu_ld/st slow pathtcg/i386/tcg-target.c+74 -910 replies
5/9tcg: Add mmu helpers that take a return address argumentinclude/exec/softmmu_defs.h include/exec/softmmu_template.h+55 -330 replies
6/9tcg: Tidy softmmu_template.hinclude/exec/softmmu_template.h+104 -1830 replies
7/9tcg-i386: Use new return-argument ld/st helpersinclude/exec/exec-all.h tcg/i386/tcg-target.c+49 -670 replies
8/9tcg-arm: Use ldrd/strd for appropriate qemu_ld/st64tcg/arm/tcg-target.c+43 -50 replies
9/9tcg-arm: Rearrange slow-path qemu_ld/stinclude/exec/exec-all.h tcg/arm/tcg-target.c+135 -1590 replies

Reviews trailers per patch

2 of 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAurelien Jarno
SeriesR-b
1/9
2/9R-b
3/9
4/9
5/9
6/9R-b
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/9] Improve tcg ldst optimization

V2:
* Feedback from Aurelien
* Added the first patch.
* ARM patches fixed.

Sorry about not merging back from the tree on my arm machine before posting the patch set last time.

r~

Richard Henderson (9):
tcg: Tidy generated code for tcg_outN
tcg-i386: Add and use tcg_out64
tcg-i386: Try pc-relative lea for constant formation
tcg-i386: Tidy qemu_ld/st slow path
tcg: Add mmu helpers that take a return address argument
tcg: Tidy softmmu_template.h
tcg-i386: Use new return-argument ld/st helpers
tcg-arm: Use ldrd/strd for appropriate qemu_ld/st64
tcg-arm: Rearrange slow-path qemu_ld/st

 include/exec/exec-all.h         |  36 +----
 include/exec/softmmu_defs.h     |  46 +++---
 include/exec/softmmu_template.h | 309 +++++++++++++++------------------------
 tcg/arm/tcg-target.c            | 315 ++++++++++++++++++++++------------------
 tcg/i386/tcg-target.c           | 274 +++++++++++++++++-----------------
 tcg/tcg.c                       |  17 ++-
 6 files changed, 471 insertions(+), 526 deletions(-)
Signature · 1 line
1.8.1.4