V3L0C1T13S opened PR #14141 from microlift:aarch64_atomiccas_128 to bytecodealliance:main:
This PR adds support for lowering
AtomicCAS128by lowering it tocaspal, gated behindFEAT_LSE. Lowering tocaspalmakes it use acquire-release semantics like other atomics do.This is currently being used in a project I'm working on (privately for now) to emulate the semantics of an x86-64
cmpxchg16bon AArch64 and other backends that may eventually supportAtomicCAS128.
V3L0C1T13S requested fitzgen for a review on PR #14141.
V3L0C1T13S requested wasmtime-compiler-reviewers for a review on PR #14141.
github-actions[bot] added the label cranelift on PR #14141.
github-actions[bot] added the label cranelift:area:aarch64 on PR #14141.
github-actions[bot] added the label isle on PR #14141.
github-actions[bot] commented on PR #14141:
Subscribe to Label Action
cc @cfallin, @fitzgen
<details>
This issue or pull request has been labeled: "cranelift", "cranelift:area:aarch64", "isle"Thus the following users have been cc'd because of the following labels:
- cfallin: isle
- fitzgen: isle
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
:thumbs_up: fitzgen submitted PR review:
Thanks! Sorry for the delay
fitzgen added PR #14141 aarch64: lower AtomicCAS128 to caspal when LSE is supported to the merge queue.
github-merge-queue[bot] removed PR #14141 aarch64: lower AtomicCAS128 to caspal when LSE is supported from the merge queue.
V3L0C1T13S updated PR #14141.
V3L0C1T13S commented on PR #14141:
ISLE verifier failure should be fixed by the newest commit - also reordered the rule for consistency with other rules.
:thumbs_up: fitzgen submitted PR review:
Thanks!
fitzgen added PR #14141 aarch64: lower AtomicCAS128 to caspal when LSE is supported to the merge queue.
github-merge-queue[bot] removed PR #14141 aarch64: lower AtomicCAS128 to caspal when LSE is supported from the merge queue.
alexcrichton added PR #14141 aarch64: lower AtomicCAS128 to caspal when LSE is supported to the merge queue.
:check: alexcrichton merged PR #14141.
alexcrichton removed PR #14141 aarch64: lower AtomicCAS128 to caspal when LSE is supported from the merge queue.
Last updated: Aug 30 2026 at 10:08 UTC