Skip to content

Remove CONFIG_QEMU_LDST_OPTIMIZATION

Richard Henderson qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tcg-aarch64: Update to helper_ret_*_mmu routinesinclude/exec/exec-all.h tcg/aarch64/tcg-target.c+16 -303 replies
2/5exec: Delete is_tcg_gen_code and GETRA_EXTinclude/exec/exec-all.h include/exec/softmmu_template.h translate-all.c+2 -260 replies
3/5tcg: Add tcg-be-null.htcg/ia64/tcg-target.c tcg/mips/tcg-target.c tcg/s390/tcg-target.c +3 more+53 -00 replies
4/5tcg: Add tcg-be-ldst.htcg/aarch64/tcg-target.c tcg/arm/tcg-target.c tcg/i386/tcg-target.c +5 more+112 -1580 replies
5/5configure: Remove CONFIG_QEMU_LDST_OPTIMIZATIONconfigure+0 -80 replies

Reviews trailers per patch

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

PatchClaudio Fontana
1/5R-b T-b
2/5
3/5
4/5
5/5

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] Remove CONFIG_QEMU_LDST_OPTIMIZATION

This patch set is based upon

git://github.com/rth7680/qemu.git tcg-arm-pull

With the first patch, to convert aarch64 away from the old ldst helpers, we wean exec-all.h from any knowledge of the tcg backend implementation. Which means we no longer need to involve configure in the backend implementation either.

The structure I've chosen, a TCGBackendData structure that is (technically) totally private to the backend, is based on my long-term assumption that many targets would do better with some sort of constant pool. Or allowing ia64 to save data with which it could produce better instruction bundling across tcg opcodes.

That said, until there is some need for the TCGBackendData structure to be unique, let's share as much code as we can. Thus the two helper header files, which allow all of the boilerplate code for ldst optimization to be shared.

r~

Richard Henderson (5):
tcg-aarch64: Update to helper_ret_*_mmu routines
exec: Delete is_tcg_gen_code and GETRA_EXT
tcg: Add tcg-be-null.h
tcg: Add tcg-be-ldst.h
configure: Remove CONFIG_QEMU_LDST_OPTIMIZATION

 configure                       |  8 ----
 include/exec/exec-all.h         | 30 --------------
 include/exec/softmmu_template.h |  4 +-
 tcg/aarch64/tcg-target.c        | 51 +++++++++--------------
 tcg/arm/tcg-target.c            | 27 ++-----------
 tcg/i386/tcg-target.c           | 30 ++------------
 tcg/ia64/tcg-target.c           |  2 +
 tcg/mips/tcg-target.c           |  2 +
 tcg/ppc/tcg-target.c            | 28 ++-----------
 tcg/ppc64/tcg-target.c          | 26 ++----------
 tcg/s390/tcg-target.c           |  2 +
 tcg/sparc/tcg-target.c          |  2 +
 tcg/tcg-be-ldst.h               | 90 +++++++++++++++++++++++++++++++++++++++++
 tcg/tcg-be-null.h               | 43 ++++++++++++++++++++
 tcg/tcg.c                       | 15 +++----
 tcg/tcg.h                       | 31 +-------------
 tcg/tci/tcg-target.c            |  2 +
 translate-all.c                 | 12 ------
 18 files changed, 183 insertions(+), 222 deletions(-)
 create mode 100644 tcg/tcg-be-ldst.h
 create mode 100644 tcg/tcg-be-null.h
Signature · 1 line
1.8.3.1