Skip to content

queued tcg improvements

Richard Henderson qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 of 17 patches 2 repliesIn review

16 of 17 patches are in this archive. The cover letter announces 17.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17tcg/optimize: fix constant signednesstcg/optimize.c+5 -50 replies
2/17tcg/optimize: optimize temps trackingtcg/optimize.c+25 -110 replies
3/17tcg/optimize: add temp_is_const and temp_is_copy functionstcg/optimize.c+60 -710 replies
4/17tcg/optimize: track const/copy status separatelytcg/optimize.c+14 -280 replies
5/17tcg/optimize: allow constant to have copiestcg/optimize.c+2 -80 replies
6/17tcg: rename trunc_shr_i32 into trunc_shr_i64_i32tcg/README tcg/aarch64/tcg-target.h tcg/i386/tcg-target.h +10 more+18 -180 replies
7/17tcg: don't abuse TCG type in tcg_gen_trunc_shr_i64_i32tcg/tcg-op.c+2 -20 replies
8/17tcg: implement real ext_i32_i64 and extu_i32_i64 opstcg/aarch64/tcg-target.c tcg/i386/tcg-target.c tcg/ia64/tcg-target.c +7 more+45 -101 reply
9/17tcg/optimize: add optimizations for ext_i32_i64 and extu_i32_i64 opstcg/optimize.c+13 -00 replies
10/17tcg/optimize: do not remember garbage high bits for 32-bit opstcg/optimize.c+11 -301 reply
11/17tcg: update README about size changing opstcg/README+15 -30 replies
12/17tcg: Split trunc_shr_i32 opcode into extr[lh]_i64_i32target-tricore/translate.c tcg/README tcg/aarch64/tcg-target.h +12 more+77 -590 replies
14/17tcg/i386: use softmmu fast path for unaligned accessestcg/i386/tcg-target.c+13 -90 replies
15/17tcg/ppc: Improve unaligned load/store handling on 64-bit backendtcg/ppc/tcg-target.c+31 -100 replies
16/17tcg/s390: Use softmmu fast path for unaligned accessestcg/s390/tcg-target.c+21 -50 replies
17/17tcg/aarch64: Use softmmu fast path for unaligned accessestcg/aarch64/tcg-target.c+24 -130 replies

Reviews trailers per patch

5 of 16 patches have a Reviewed-by or Acked-by.

PatchAlex BennéeRichard HendersonAurelien JarnoClaudio Fontana
1/17
2/17
3/17R-b
4/17
5/17
6/17R-b
7/17R-b
8/17A-b
9/17
10/17
11/17
12/17
14/17
15/17R-b
16/17
17/17

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/17] queued tcg improvements

This pull includes three independent patch sets, which were all posted during the 2.4 freeze.

The first is algorithmic improvements to tcg/optimize, both improving its runtime and its tracking of constants.

The second is improvements to the representation of 32<->64-bit size changing operations. Still to do here is investigate how these might be best applied to each tcg host.

The third is improvements to how guest unaligned accesses are implemented in softmmu mode, for the 4 supported host processors that themselves implement unaligned accesses.

r~

The following changes since commit 074a9925e1cfd659d5376dcaccd1436d3840e611:

Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into staging (2015-08-14 16:52:34 +0100)

are available in the git repository at:

git://github.com/rth7680/qemu.git tags/pull-tcg-20150817

for you to fetch changes up to 845fa7960c4fc7ab936e7ec45076ef230266d6cd:

tcg/aarch64: Use softmmu fast path for unaligned accesses (2015-08-17 12:18:05 -0700)

----------------------------------------------------------------
Collected tcg improvements for 2.5

----------------------------------------------------------------
Aurelien Jarno (12):
tcg/optimize: fix constant signedness
tcg/optimize: optimize temps tracking
tcg/optimize: add temp_is_const and temp_is_copy functions tcg/optimize: track const/copy status separately tcg/optimize: allow constant to have copies
tcg: rename trunc_shr_i32 into trunc_shr_i64_i32
tcg: don't abuse TCG type in tcg_gen_trunc_shr_i64_i32
tcg: implement real ext_i32_i64 and extu_i32_i64 ops tcg/optimize: add optimizations for ext_i32_i64 and extu_i32_i64 ops tcg/optimize: do not remember garbage high bits for 32-bit ops
tcg: update README about size changing ops
tcg/i386: use softmmu fast path for unaligned accesses

Benjamin Herrenschmidt (1):
tcg/ppc: Improve unaligned load/store handling on 64-bit backend

Richard Henderson (5):
Merge remote-tracking branch 'aurel32/tcg-optimizer' into tcg-next-25
tcg: Split trunc_shr_i32 opcode into extr[lh]_i64_i32
tcg: Remove tcg_gen_trunc_i64_i32
tcg/s390: Use softmmu fast path for unaligned accesses tcg/aarch64: Use softmmu fast path for unaligned accesses

 target-alpha/translate.c      |   4 +-
 target-arm/translate-a64.c    |  60 ++++-----
 target-arm/translate.c        |  46 +++----
 target-cris/translate.c       |   4 +-
 target-m68k/translate.c       |   2 +-
 target-microblaze/translate.c |   8 +-
 target-mips/translate.c       |   4 +-
 target-openrisc/translate.c   |  22 ++--
 target-s390x/translate.c      |  30 ++---
 target-sh4/translate.c        |   4 +-
 target-sparc/translate.c      |  14 +--
 target-tricore/translate.c    |  32 ++---
 target-xtensa/translate.c     |   2 +-
 tcg/README                    |  32 +++--
 tcg/aarch64/tcg-target.c      |  41 ++++--
 tcg/aarch64/tcg-target.h      |   3 +-
 tcg/i386/tcg-target.c         |  27 ++--
 tcg/i386/tcg-target.h         |   3 +-
 tcg/ia64/tcg-target.c         |   4 +
 tcg/ia64/tcg-target.h         |   3 +-
 tcg/optimize.c                | 283 +++++++++++++++++++-----------------------
 tcg/ppc/tcg-target.c          |  47 +++++--
 tcg/ppc/tcg-target.h          |   3 +-
 tcg/s390/tcg-target.c         |  31 ++++-
 tcg/s390/tcg-target.h         |   3 +-
 tcg/sparc/tcg-target.c        |  22 ++--
 tcg/sparc/tcg-target.h        |   3 +-
 tcg/tcg-op.c                  |  48 ++++---
 tcg/tcg-op.h                  |  12 +-
 tcg/tcg-opc.h                 |  10 +-
 tcg/tcg.h                     |   3 +-
 tcg/tci/tcg-target.c          |   4 +
 tcg/tci/tcg-target.h          |   3 +-
 tci.c                         |   6 +-
 34 files changed, 456 insertions(+), 367 deletions(-)