[PATCH for-11.2 0/3] accel/tcg: Add infrastructure for atomic 64-byte load/store
Richard Henderson <[email protected]>
| Newsgroups | org.nongnu.qemu-arm,org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
Prepare to implement FEAT_LS64 for AArch64 with some tcg infrastructure.
r~
Richard Henderson (3):
accel/tcg: Add infrastructure for atomic 64-byte load/store
host/x86_64: Implement atomic64_set with MOVDIR64B
host/aarch64: Implement atomic64_{read,set} with FEAT_LS64
host/include/aarch64/host/cpuinfo.h | 1 +
host/include/x86_64/host/cpuinfo.h | 1 +
include/accel/tcg/cpu-ldst-common.h | 6 ++++
include/qemu/atomic512.h | 12 +++++++
include/qemu/cpuid.h | 3 ++
include/qemu/value64.h | 21 +++++++++++
accel/tcg/cputlb.c | 30 ++++++++++++++++
accel/tcg/user-exec.c | 33 +++++++++++++++++
util/cpuinfo-aarch64.c | 14 ++++++--
util/cpuinfo-i386.c | 1 +
accel/tcg/ldst_common.c.inc | 31 ++++++++++++++++
.../include/aarch64/host/atomic512-ldst.h.inc | 36 +++++++++++++++++++
.../include/generic/host/atomic512-ldst.h.inc | 16 +++++++++
host/include/x86_64/host/atomic512-ldst.h.inc | 21 +++++++++++
meson.build | 8 +++++
15 files changed, 231 insertions(+), 3 deletions(-)
create mode 100644 include/qemu/atomic512.h
create mode 100644 include/qemu/value64.h
create mode 100644 host/include/aarch64/host/atomic512-ldst.h.inc
create mode 100644 host/include/generic/host/atomic512-ldst.h.inc
create mode 100644 host/include/x86_64/host/atomic512-ldst.h.inc
--
2.43.0