From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: qemu-arm@nongnu.org
Subject: [PATCH v4 00/16] tcg: Improvements to atomic128
Date: Thu, 25 May 2023 17:23:18 -0700 [thread overview]
Message-ID: <20230526002334.1760495-1-richard.henderson@linaro.org> (raw)
This is a merge of a couple of singleton fixes, CONFIG_ATOMIC128
detection, and tcg backend code generation patch sets, just to
keep everything in one place.
Tested with the Arm FEAT_LSE2 patch set, which greatly increases
the number of 16-byte atomic operations.
Patches needing review:
01-tcg-Fix-register-move-type-in-tcg_out_ld_helper_r.patch
02-accel-tcg-Fix-check-for-page-writeability-in-load.patch
03-meson-Split-test-for-__int128_t-type-from-__int12.patch
05-tcg-i386-Support-128-bit-load-store.patch
07-tcg-aarch64-Reserve-TCG_REG_TMP1-TCG_REG_TMP2.patch
08-tcg-aarch64-Simplify-constraints-on-qemu_ld-st.patch
12-accel-tcg-Extract-load_atom_extract_al16_or_al8-t.patch
13-accel-tcg-Extract-store_atom_insert_al16-to-host-.patch
14-accel-tcg-Add-x86_64-load_atom_extract_al16_or_al.patch
15-accel-tcg-Add-aarch64-lse2-load_atom_extract_al16.patch
16-accel-tcg-Add-aarch64-store_atom_insert_al16.patch
r~
Richard Henderson (16):
tcg: Fix register move type in tcg_out_ld_helper_ret
accel/tcg: Fix check for page writeability in load_atomic16_or_exit
meson: Split test for __int128_t type from __int128_t arithmetic
qemu/atomic128: Add x86_64 atomic128-ldst.h
tcg/i386: Support 128-bit load/store
tcg/aarch64: Rename temporaries
tcg/aarch64: Reserve TCG_REG_TMP1, TCG_REG_TMP2
tcg/aarch64: Simplify constraints on qemu_ld/st
tcg/aarch64: Support 128-bit load/store
tcg/ppc: Support 128-bit load/store
tcg/s390x: Support 128-bit load/store
accel/tcg: Extract load_atom_extract_al16_or_al8 to host header
accel/tcg: Extract store_atom_insert_al16 to host header
accel/tcg: Add x86_64 load_atom_extract_al16_or_al8
accel/tcg: Add aarch64 lse2 load_atom_extract_al16_or_al8
accel/tcg: Add aarch64 store_atom_insert_al16
meson.build | 15 +-
.../aarch64/host/load-extract-al16-al8.h | 40 +++
host/include/aarch64/host/store-insert-al16.h | 47 ++++
.../generic/host/load-extract-al16-al8.h | 45 ++++
host/include/generic/host/store-insert-al16.h | 50 ++++
host/include/x86_64/host/atomic128-ldst.h | 68 +++++
.../x86_64/host/load-extract-al16-al8.h | 50 ++++
include/qemu/int128.h | 4 +-
tcg/aarch64/tcg-target-con-set.h | 4 +-
tcg/aarch64/tcg-target-con-str.h | 1 -
tcg/aarch64/tcg-target.h | 11 +-
tcg/i386/tcg-target.h | 4 +-
tcg/ppc/tcg-target-con-set.h | 2 +
tcg/ppc/tcg-target-con-str.h | 1 +
tcg/ppc/tcg-target.h | 3 +-
tcg/s390x/tcg-target-con-set.h | 2 +
tcg/s390x/tcg-target.h | 2 +-
tcg/tcg.c | 4 +-
accel/tcg/ldst_atomicity.c.inc | 78 +-----
tcg/aarch64/tcg-target.c.inc | 243 ++++++++++++++----
tcg/i386/tcg-target.c.inc | 191 +++++++++++++-
tcg/ppc/tcg-target.c.inc | 108 +++++++-
tcg/s390x/tcg-target.c.inc | 103 +++++++-
23 files changed, 913 insertions(+), 163 deletions(-)
create mode 100644 host/include/aarch64/host/load-extract-al16-al8.h
create mode 100644 host/include/aarch64/host/store-insert-al16.h
create mode 100644 host/include/generic/host/load-extract-al16-al8.h
create mode 100644 host/include/generic/host/store-insert-al16.h
create mode 100644 host/include/x86_64/host/atomic128-ldst.h
create mode 100644 host/include/x86_64/host/load-extract-al16-al8.h
--
2.34.1
next reply other threads:[~2023-05-26 0:25 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-26 0:23 Richard Henderson [this message]
2023-05-26 0:23 ` [PATCH v4 01/16] tcg: Fix register move type in tcg_out_ld_helper_ret Richard Henderson
2023-05-30 13:36 ` Peter Maydell
2023-05-26 0:23 ` [PATCH v4 02/16] accel/tcg: Fix check for page writeability in load_atomic16_or_exit Richard Henderson
2023-05-30 13:44 ` Peter Maydell
2023-05-30 13:58 ` Richard Henderson
2023-05-30 14:06 ` Peter Maydell
2023-05-30 14:29 ` Richard Henderson
2023-05-30 14:48 ` Peter Maydell
2023-05-30 15:09 ` Richard Henderson
2023-05-30 15:18 ` Peter Maydell
2023-05-26 0:23 ` [PATCH v4 03/16] meson: Split test for __int128_t type from __int128_t arithmetic Richard Henderson
2023-05-30 13:47 ` Peter Maydell
2023-05-26 0:23 ` [PATCH v4 04/16] qemu/atomic128: Add x86_64 atomic128-ldst.h Richard Henderson
2023-05-26 0:23 ` [PATCH v4 05/16] tcg/i386: Support 128-bit load/store Richard Henderson
2023-05-30 15:02 ` Peter Maydell
2023-05-26 0:23 ` [PATCH v4 06/16] tcg/aarch64: Rename temporaries Richard Henderson
2023-05-26 0:23 ` [PATCH v4 07/16] tcg/aarch64: Reserve TCG_REG_TMP1, TCG_REG_TMP2 Richard Henderson
2023-05-30 13:52 ` Peter Maydell
2023-05-26 0:23 ` [PATCH v4 08/16] tcg/aarch64: Simplify constraints on qemu_ld/st Richard Henderson
2023-05-30 13:55 ` Peter Maydell
2023-05-26 0:23 ` [PATCH v4 09/16] tcg/aarch64: Support 128-bit load/store Richard Henderson
2023-05-26 0:23 ` [PATCH v4 10/16] tcg/ppc: " Richard Henderson
2023-05-26 0:23 ` [PATCH v4 11/16] tcg/s390x: " Richard Henderson
2023-05-26 0:23 ` [PATCH v4 12/16] accel/tcg: Extract load_atom_extract_al16_or_al8 to host header Richard Henderson
2023-05-30 13:58 ` Peter Maydell
2023-05-26 0:23 ` [PATCH v4 13/16] accel/tcg: Extract store_atom_insert_al16 " Richard Henderson
2023-05-30 13:59 ` Peter Maydell
2023-05-26 0:23 ` [PATCH v4 14/16] accel/tcg: Add x86_64 load_atom_extract_al16_or_al8 Richard Henderson
2023-05-30 14:01 ` Peter Maydell
2023-05-26 0:23 ` [PATCH v4 15/16] accel/tcg: Add aarch64 lse2 load_atom_extract_al16_or_al8 Richard Henderson
2023-05-30 14:02 ` Peter Maydell
2023-05-26 0:23 ` [PATCH v4 16/16] accel/tcg: Add aarch64 store_atom_insert_al16 Richard Henderson
2023-05-30 14:04 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230526002334.1760495-1-richard.henderson@linaro.org \
--to=richard.henderson@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).