Skip to content

tcg: allocate TB structs preceding translate

Richard Henderson qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest posting 2/27 patches 3 repliesIn review
  2. v5 posting 1/20 of 7 patches 0 repliesSuperseded
  3. v47 patches 6 repliesSuperseded

Changes in v5 from the cover letter

* The first patch reorganized a bit for aarch64 and ppc64. Re-tested on win32, for which there was a Werror. Incorporated feedback from Emilio re MacOS.
* Fixed the short description for the tcg/arm patches.

Patches in v5 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7util: add cacheinfoinclude/qemu/osdep.h tcg/ppc/tcg-target.inc.c util/Makefile.objs +1 more+191 -690 replies
2/7tcg: allocate TB structs before the corresponding translated codeinclude/exec/tb-context.h tcg/tcg.c tcg/tcg.h +1 more+47 -170 replies
3/7tcg/aarch64: Use ADR in tcg_out_movitcg/aarch64/tcg-target.inc.c+6 -10 replies
4/7tcg/arm: Use indirect branch for goto_tbinclude/exec/exec-all.h tcg/arm/tcg-target.inc.c+3 -190 replies
5/7tcg/arm: Remove limit on code buffer sizetranslate-all.c+0 -20 replies
6/7tcg/arm: Try pc-relative addresses for movitcg/arm/tcg-target.inc.c+29 -150 replies
7/7tcg/arm: Use ldr (literal) for goto_tbtcg/arm/tcg-target.inc.c+18 -50 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchGeert Martin IjewskiPranith KumarEmilio G. Cota
1/7T-b
2/7R-b
3/7T-b
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [Qemu-devel] [PATCH v5 0/7] tcg: allocate TB structs preceding translate

This is a follow-up to Emilio's patch set.

My primary changes to Emilio's patches are to the first patch, in merging the existing implementations from tcg/ppc/tcg-target.inc.c into util/cacheinfo.c.

Then I've a few follow-up patches to take advantage of the new TB placement for arm platforms. I've had a look at the asm output for ppc64 and s390x, and don't see anything obvious that can be improved.

Changes since v4:
* The first patch reorganized a bit for aarch64 and ppc64. Re-tested on win32, for which there was a Werror. Incorporated feedback from Emilio re MacOS.
* Fixed the short description for the tcg/arm patches.

r~

Emilio G. Cota (2):
util: add cacheinfo
tcg: allocate TB structs before the corresponding translated code

Richard Henderson (5):
tcg/aarch64: Use ADR in tcg_out_movi
tcg/arm: Use indirect branch for goto_tb
tcg/arm: Remove limit on code buffer size
tcg/arm: Try pc-relative addresses for movi
tcg/arm: Use ldr (literal) for goto_tb

 include/exec/exec-all.h      |   5 +-
 include/exec/tb-context.h    |   3 +-
 include/qemu/osdep.h         |   3 +
 tcg/aarch64/tcg-target.inc.c |   7 +-
 tcg/arm/tcg-target.inc.c     |  82 +++++++++++--------
 tcg/ppc/tcg-target.inc.c     |  71 +----------------
 tcg/tcg.c                    |  20 +++++
 tcg/tcg.h                    |   2 +-
 translate-all.c              |  41 ++++++----
 util/Makefile.objs           |   1 +
 util/cacheinfo.c             | 185 +++++++++++++++++++++++++++++++++++++++++++
 11 files changed, 293 insertions(+), 127 deletions(-)
 create mode 100644 util/cacheinfo.c
Signature · 1 line
2.9.4