The following changes since commit aa33508196f4e2da04625bee36e1f7be5b9267e7:
Merge tag 'mem-2023-05-23' of https://github.com/davidhildenbrand/qemu into staging (2023-05-23 10:57:25 -0700) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20230523 for you to fetch changes up to 30d56836f98c7ed2d309bff1dde8854f3d0b5634: tcg: Remove USE_TCG_OPTIMIZATIONS (2023-05-23 16:52:39 -0700) ---------------------------------------------------------------- util: Host cpu detection for x86 and aa64 util: Use cpu detection for bufferiszero migration: Use cpu detection for xbzrle tcg: Replace and remove cpu_atomic_{ld,st}o* host/include: Split qemu/atomic128.h tcg: Remove DEBUG_DISAS tcg: Remove USE_TCG_OPTIMIZATIONS ---------------------------------------------------------------- Richard Henderson (28): util: Introduce host-specific cpuinfo.h util: Add cpuinfo-i386.c util: Add i386 CPUINFO_ATOMIC_VMOVDQU tcg/i386: Use host/cpuinfo.h util/bufferiszero: Use i386 host/cpuinfo.h migration/xbzrle: Shuffle function order migration/xbzrle: Use i386 host/cpuinfo.h migration: Build migration_files once util: Add cpuinfo-aarch64.c include/host: Split out atomic128-cas.h include/host: Split out atomic128-ldst.h meson: Fix detect atomic128 support with optimization include/qemu: Move CONFIG_ATOMIC128_OPT handling to atomic128.h target/ppc: Use tcg_gen_qemu_{ld,st}_i128 for LQARX, LQ, STQ target/s390x: Use tcg_gen_qemu_{ld,st}_i128 for LPQ, STPQ accel/tcg: Unify cpu_{ld,st}*_{be,le}_mmu target/s390x: Use cpu_{ld,st}*_mmu in do_csst target/s390x: Always use cpu_atomic_cmpxchgl_be_mmu in do_csst accel/tcg: Remove cpu_atomic_{ld,st}o_*_mmu accel/tcg: Remove prot argument to atomic_mmu_lookup accel/tcg: Eliminate #if on HAVE_ATOMIC128 and HAVE_CMPXCHG128 qemu/atomic128: Split atomic16_read accel/tcg: Correctly use atomic128.h in ldst_atomicity.c.inc tcg: Split out tcg/debug-assert.h qemu/atomic128: Improve cmpxchg fallback for atomic16_set qemu/atomic128: Add runtime test for FEAT_LSE2 tcg: Remove DEBUG_DISAS tcg: Remove USE_TCG_OPTIMIZATIONS accel/tcg/atomic_template.h | 93 +----- host/include/aarch64/host/atomic128-cas.h | 45 +++ host/include/aarch64/host/atomic128-ldst.h | 79 +++++ host/include/aarch64/host/cpuinfo.h | 22 ++ host/include/generic/host/atomic128-cas.h | 47 +++ host/include/generic/host/atomic128-ldst.h | 81 +++++ host/include/generic/host/cpuinfo.h | 4 + host/include/i386/host/cpuinfo.h | 39 +++ host/include/x86_64/host/cpuinfo.h | 1 + include/exec/cpu_ldst.h | 67 +---- include/exec/exec-all.h | 3 - include/qemu/atomic128.h | 146 ++------- include/tcg/debug-assert.h | 17 ++ include/tcg/tcg.h | 9 +- migration/xbzrle.h | 5 +- target/ppc/cpu.h | 1 - target/ppc/helper.h | 9 - target/s390x/cpu.h | 3 - target/s390x/helper.h | 4 - tcg/aarch64/tcg-target.h | 6 +- tcg/i386/tcg-target.h | 28 +- accel/tcg/cpu-exec.c | 2 - accel/tcg/cputlb.c | 211 ++++--------- accel/tcg/translate-all.c | 2 - accel/tcg/translator.c | 2 - accel/tcg/user-exec.c | 332 ++++++-------------- migration/ram.c | 34 +-- migration/xbzrle.c | 268 +++++++++-------- target/arm/tcg/m_helper.c | 4 +- target/ppc/mem_helper.c | 48 --- target/ppc/translate.c | 34 +-- target/s390x/tcg/mem_helper.c | 137 ++------- target/s390x/tcg/translate.c | 30 +- target/sh4/translate.c | 2 - target/sparc/ldst_helper.c | 18 +- target/sparc/translate.c | 2 - tcg/tcg.c | 14 +- tests/bench/xbzrle-bench.c | 469 ----------------------------- tests/unit/test-xbzrle.c | 49 +-- util/bufferiszero.c | 127 +++----- util/cpuinfo-aarch64.c | 67 +++++ util/cpuinfo-i386.c | 99 ++++++ MAINTAINERS | 3 + accel/tcg/atomic_common.c.inc | 14 - accel/tcg/ldst_atomicity.c.inc | 135 ++------- accel/tcg/ldst_common.c.inc | 24 +- meson.build | 12 +- migration/meson.build | 1 - target/ppc/translate/fixedpoint-impl.c.inc | 51 +--- target/s390x/tcg/insn-data.h.inc | 2 +- tcg/aarch64/tcg-target.c.inc | 40 --- tcg/i386/tcg-target.c.inc | 123 +------- tests/bench/meson.build | 6 - util/meson.build | 6 + 54 files changed, 1035 insertions(+), 2042 deletions(-) create mode 100644 host/include/aarch64/host/atomic128-cas.h create mode 100644 host/include/aarch64/host/atomic128-ldst.h create mode 100644 host/include/aarch64/host/cpuinfo.h create mode 100644 host/include/generic/host/atomic128-cas.h create mode 100644 host/include/generic/host/atomic128-ldst.h create mode 100644 host/include/generic/host/cpuinfo.h create mode 100644 host/include/i386/host/cpuinfo.h create mode 100644 host/include/x86_64/host/cpuinfo.h create mode 100644 include/tcg/debug-assert.h delete mode 100644 tests/bench/xbzrle-bench.c create mode 100644 util/cpuinfo-aarch64.c create mode 100644 util/cpuinfo-i386.c