Skip to content

TCG ppc speedups

Paolo Bonzini qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest14 patches 29 repliesIn review
  2. v117 patches 31 repliesApplied

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14ppc: do not look at the MMU index to detect PR/HV modetarget-ppc/translate.c+77 -880 replies
2/14softmmu: support up to 12 MMU modesinclude/exec/cpu_ldst.h+117 -30 replies
3/14target-ppc: use separate indices for various translation modestarget-ppc/cpu.h target-ppc/excp_helper.c target-ppc/helper_regs.h+8 -1312 replies
4/14ppc: introduce ppc_get_cr and ppc_set_crlinux-user/elfload.c linux-user/signal.c monitor.c +3 more+34 -601 reply
5/14ppc: use CRF_* in fpu_helper.ctarget-ppc/fpu_helper.c+18 -180 replies
6/14ppc: introduce helpers for mfocrf/mtocrftarget-ppc/helper.h target-ppc/int_helper.c target-ppc/translate.c+24 -272 replies
7/14ppc: reorganize gen_compute_fprftarget-ppc/translate.c+12 -131 reply
8/14ppc: introduce gen_op_mfcr/gen_op_mtcrtarget-ppc/translate.c+43 -183 replies
9/14ppc: introduce ppc_get_crf and ppc_set_crflinux-user/main.c target-ppc/cpu.h target-ppc/excp_helper.c +3 more+30 -172 replies
10/14ppc: use movcond for iseltarget-ppc/translate.c+13 -131 reply
11/14ppc: store CR registers in 32 1-bit registerslinux-user/main.c target-ppc/cpu.h target-ppc/fpu_helper.c +4 more+236 -2142 replies
12/14ppc: use movcond to implement evseltarget-ppc/translate.c+11 -160 replies
13/14ppc: inline ppc_set_crf when clearerlinux-user/main.c target-ppc/fpu_helper.c target-ppc/int_helper.c+35 -92 replies
14/14ppc: dump all 32 CR bitstarget-ppc/translate.c+8 -120 replies

Reviews trailers per patch

6 of 14 patches have a Reviewed-by or Acked-by.

PatchTom Musta
1/14
2/14
3/14
4/14R-b
5/14R-b T-b
6/14R-b T-b
7/14R-b
8/14R-b
9/14
10/14R-b T-b
11/14
12/14
13/14
14/14

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 00/14] TCG ppc speedups

Patches 1-3 speed up softmmu emulation by avoiding TLB flushes on changes to IR/DR.

Patches 4-14 speed up emulation in general by rewriting the handling of condition registers.

Paolo Bonzini (14):
ppc: do not look at the MMU index to detect PR/HV mode
softmmu: support up to 12 MMU modes
target-ppc: use separate indices for various translation modes
ppc: introduce ppc_get_cr and ppc_set_cr
ppc: use CRF_* in fpu_helper.c
ppc: introduce helpers for mfocrf/mtocrf
ppc: reorganize gen_compute_fprf
ppc: introduce gen_op_mfcr/gen_op_mtcr
ppc: introduce ppc_get_crf and ppc_set_crf
ppc: use movcond for isel
ppc: store CR registers in 32 1-bit registers
ppc: use movcond to implement evsel
ppc: inline ppc_get_crf/ppc_set_crf when clearer
ppc: dump all 32 CR bits

 include/exec/cpu_ldst.h  | 120 ++++++++-
 linux-user/elfload.c     |   4 +-
 linux-user/main.c        |   9 +-
 linux-user/signal.c      |   8 +-
 monitor.c                |   9 +-
 target-ppc/cpu.h         |  66 ++++-
 target-ppc/excp_helper.c |   5 +-
 target-ppc/fpu_helper.c  |  82 +++---
 target-ppc/gdbstub.c     |  42 +--
 target-ppc/helper.h      |   9 +-
 target-ppc/helper_regs.h |  11 +-
 target-ppc/int_helper.c  |  46 +++-
 target-ppc/kvm.c         |  11 +-
 target-ppc/machine.c     |   9 +
 target-ppc/translate.c   | 686 ++++++++++++++++++++++++-----------------------
 15 files changed, 631 insertions(+), 486 deletions(-)
Signature · 1 line
1.8.3.1