For version 2, drop the -static and -pie changes,
i.e. patches 1-7 from version 1.
I'll come back to those after the required linux-user changes are
upstream. In the meantime, it's still a large enough set of patches.
r~
The following changes since commit 3a63b24a1bbf166e6f455fe43a6bbd8dea413d92:
Merge remote-tracking branch 'remotes/kraxel/tags/ui-20200114-pull-request' into staging (2020-01-14 16:00:31 +0000)
are available in the Git repository at:
https://github.com/rth7680/qemu.git tags/pull-tcg-20200115
for you to fetch changes up to 3e5a01ef0268ee4c9d342a26dbf6624d6b5b20d6:
MAINTAINERS: Replace Claudio Fontana for tcg/aarch64 (2020-01-15 15:13:10 -1000)
----------------------------------------------------------------
Add cpu_{ld,st}*_mmuidx_ra
Remove MMU_MODE*_SUFFIX
Move tcg headers under include/
----------------------------------------------------------------
Philippe Mathieu-Daudé (4):
tcg: Search includes from the project root source directory
tcg: Search includes in the parent source directory
tcg: Move TCG headers to include/tcg/
configure: Remove tcg/ from the preprocessor include search list
Richard Henderson (30):
target/xtensa: Use probe_access for itlb_hit_test
cputlb: Use trace_mem_get_info instead of trace_mem_build_info
trace: Remove trace_mem_build_info_no_se_[bl]e
target/s390x: Include tcg.h in mem_helper.c
target/arm: Include tcg.h in sve_helper.c
accel/tcg: Include tcg.h in tcg-runtime.c
linux-user: Include tcg.h in syscall.c
linux-user: Include trace-root.h in syscall-trace.h
plugins: Include trace/mem.h in api.c
cputlb: Move body of cpu_ldst_template.h out of line
translator: Use cpu_ld*_code instead of open-coding
cputlb: Rename helper_ret_ld*_cmmu to cpu_ld*_code
cputlb: Provide cpu_(ld,st}*_mmuidx_ra for user-only
target/i386: Use cpu_*_mmuidx_ra instead of templates
cputlb: Expand cpu_ldst_useronly_template.h in user-exec.c
target/nios2: Remove MMU_MODE{0,1}_SUFFIX
target/alpha: Remove MMU_MODE{0,1}_SUFFIX
target/cris: Remove MMU_MODE{0,1}_SUFFIX
target/i386: Remove MMU_MODE{0,1,2}_SUFFIX
target/microblaze: Remove MMU_MODE{0,1,2}_SUFFIX
target/sh4: Remove MMU_MODE{0,1}_SUFFIX
target/unicore32: Remove MMU_MODE{0,1}_SUFFIX
target/xtensa: Remove MMU_MODE{0,1,2,3}_SUFFIX
target/m68k: Use cpu_*_mmuidx_ra instead of MMU_MODE{0,1}_SUFFIX
target/mips: Use cpu_*_mmuidx_ra instead of MMU_MODE*_SUFFIX
target/s390x: Use cpu_*_mmuidx_ra instead of MMU_MODE*_SUFFIX
target/ppc: Use cpu_*_mmuidx_ra instead of MMU_MODE*_SUFFIX
cputlb: Remove support for MMU_MODE*_SUFFIX
cputlb: Expand cpu_ldst_template.h in cputlb.c
MAINTAINERS: Replace Claudio Fontana for tcg/aarch64
accel/tcg/atomic_template.h | 67 ++---
include/exec/cpu_ldst.h | 446 +++++++++---------------------
include/exec/cpu_ldst_template.h | 211 --------------
include/exec/cpu_ldst_useronly_template.h | 159 -----------
include/exec/translator.h | 48 +---
{tcg => include/tcg}/tcg-gvec-desc.h | 0
{tcg => include/tcg}/tcg-mo.h | 0
{tcg => include/tcg}/tcg-op-gvec.h | 0
{tcg => include/tcg}/tcg-op.h | 2 +-
{tcg => include/tcg}/tcg-opc.h | 0
{tcg => include/tcg}/tcg.h | 33 +--
include/user/syscall-trace.h | 2 +
target/alpha/cpu.h | 2 -
target/cris/cpu.h | 2 -
target/i386/cpu.h | 3 -
target/m68k/cpu.h | 2 -
target/microblaze/cpu.h | 3 -
target/mips/cpu.h | 4 -
target/nios2/cpu.h | 2 -
target/ppc/cpu.h | 2 -
target/s390x/cpu.h | 5 -
target/sh4/cpu.h | 2 -
target/unicore32/cpu.h | 2 -
target/xtensa/cpu.h | 4 -
tcg/i386/tcg-target.h | 2 +-
trace/mem-internal.h | 17 --
accel/tcg/cpu-exec.c | 2 +-
accel/tcg/cputlb.c | 315 ++++++++++++++++-----
accel/tcg/tcg-runtime-gvec.c | 2 +-
accel/tcg/tcg-runtime.c | 1 +
accel/tcg/translate-all.c | 2 +-
accel/tcg/user-exec.c | 238 +++++++++++++++-
bsd-user/main.c | 2 +-
cpus.c | 2 +-
exec.c | 2 +-
linux-user/main.c | 2 +-
linux-user/syscall.c | 1 +
plugins/api.c | 1 +
target/alpha/translate.c | 2 +-
target/arm/helper-a64.c | 2 +-
target/arm/sve_helper.c | 1 +
target/arm/translate-a64.c | 4 +-
target/arm/translate-sve.c | 6 +-
target/arm/translate.c | 4 +-
target/cris/translate.c | 2 +-
target/hppa/translate.c | 2 +-
target/i386/mem_helper.c | 2 +-
target/i386/seg_helper.c | 56 ++--
target/i386/translate.c | 2 +-
target/lm32/translate.c | 2 +-
target/m68k/op_helper.c | 77 ++++--
target/m68k/translate.c | 2 +-
target/microblaze/translate.c | 2 +-
target/mips/op_helper.c | 182 ++++--------
target/mips/translate.c | 2 +-
target/moxie/translate.c | 2 +-
target/nios2/translate.c | 2 +-
target/openrisc/translate.c | 2 +-
target/ppc/mem_helper.c | 13 +-
target/ppc/translate.c | 4 +-
target/riscv/cpu_helper.c | 2 +-
target/riscv/translate.c | 2 +-
target/s390x/mem_helper.c | 11 +-
target/s390x/translate.c | 4 +-
target/sh4/translate.c | 2 +-
target/sparc/ldst_helper.c | 2 +-
target/sparc/translate.c | 2 +-
target/tilegx/translate.c | 2 +-
target/tricore/translate.c | 2 +-
target/unicore32/translate.c | 2 +-
target/xtensa/mmu_helper.c | 5 +-
target/xtensa/translate.c | 2 +-
tcg/aarch64/tcg-target.inc.c | 4 +-
tcg/arm/tcg-target.inc.c | 4 +-
tcg/i386/tcg-target.inc.c | 4 +-
tcg/mips/tcg-target.inc.c | 2 +-
tcg/optimize.c | 2 +-
tcg/ppc/tcg-target.inc.c | 4 +-
tcg/riscv/tcg-target.inc.c | 4 +-
tcg/s390/tcg-target.inc.c | 4 +-
tcg/sparc/tcg-target.inc.c | 2 +-
tcg/tcg-common.c | 2 +-
tcg/tcg-op-gvec.c | 8 +-
tcg/tcg-op-vec.c | 6 +-
tcg/tcg-op.c | 6 +-
tcg/tcg.c | 2 +-
tcg/tci.c | 2 +-
MAINTAINERS | 4 +-
configure | 1 -
docs/devel/loads-stores.rst | 215 ++++++++++----
90 files changed, 1037 insertions(+), 1240 deletions(-)
delete mode 100644 include/exec/cpu_ldst_template.h
delete mode 100644 include/exec/cpu_ldst_useronly_template.h
rename {tcg => include/tcg}/tcg-gvec-desc.h (100%)
rename {tcg => include/tcg}/tcg-mo.h (100%)
rename {tcg => include/tcg}/tcg-op-gvec.h (100%)
rename {tcg => include/tcg}/tcg-op.h (99%)
rename {tcg => include/tcg}/tcg-opc.h (100%)
rename {tcg => include/tcg}/tcg.h (96%)