diff options
| author | Rhys Hiltner <rhys.hiltner@gmail.com> | 2025-03-14 09:36:06 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-03-14 15:42:34 -0700 |
| commit | 3c3b8dd4f0590881f7010014985d05cce1c9e943 (patch) | |
| tree | c8ed51101ff6ea5b37fcc652da3f4276afcbbf8e /test/codegen/arithmetic.go | |
| parent | 580b6ee646809cdd409b3e0d311e1ec35c72aa6b (diff) | |
| download | go-3c3b8dd4f0590881f7010014985d05cce1c9e943.tar.xz | |
internal/runtime/atomic: add Xchg8 for s390x and wasm
This makes the single-byte atomic.Xchg8 operation available on all
GOARCHes, including those without direct / single-instruction support.
Fixes #69735
Change-Id: Icb6aff8f907257db81ea440dc4d29f96b3cff6c4
Reviewed-on: https://go-review.googlesource.com/c/go/+/657936
Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Rhys Hiltner <rhys.hiltner@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'test/codegen/arithmetic.go')
0 files changed, 0 insertions, 0 deletions
