Stream: git-wasmtime

Topic: wasmtime / issue #2665 x64/newBE: Implement atomic operat...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 01 2021 at 21:53):

akirilov-arm labeled issue #2665:

<!-- Please try to describe precisely what you would like to do in
Cranelift/Wasmtime and/or expect from it. You can answer the questions below if
they're relevant and delete this text before submitting. Thanks for opening an
issue! -->

Feature

See title

Benefit

Necessary for compiler-builtins to compile with cg_clif on macOS and other x86 targets that are specified to support 128bit atomics.

Implementation

Use cmpxchg16b

Alternatives

<!-- Have you considered alternative implementations? If so, how are they
better or worse than your proposal? -->

view this post on Zulip Wasmtime GitHub notifications bot (Oct 01 2021 at 21:53):

akirilov-arm labeled issue #2665:

<!-- Please try to describe precisely what you would like to do in
Cranelift/Wasmtime and/or expect from it. You can answer the questions below if
they're relevant and delete this text before submitting. Thanks for opening an
issue! -->

Feature

See title

Benefit

Necessary for compiler-builtins to compile with cg_clif on macOS and other x86 targets that are specified to support 128bit atomics.

Implementation

Use cmpxchg16b

Alternatives

<!-- Have you considered alternative implementations? If so, how are they
better or worse than your proposal? -->

view this post on Zulip Wasmtime GitHub notifications bot (Dec 20 2022 at 21:52):

bjorn3 commented on issue #2665:

Rust is close to stabilizing the cmpchg16b vendor intrinsic, which requires this. On AArch64 I also already need a patch to disable AtomicU128 in libstd.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 20 2022 at 23:05):

cfallin commented on issue #2665:

We'd be happy to review a PR for this; might make a good starter issue. (Otherwise I'm not sure if someone has the bandwidth to implement it it in the short term.)

view this post on Zulip Wasmtime GitHub notifications bot (May 26 2025 at 09:32):

bjorn3 closed issue #2665:

<!-- Please try to describe precisely what you would like to do in
Cranelift/Wasmtime and/or expect from it. You can answer the questions below if
they're relevant and delete this text before submitting. Thanks for opening an
issue! -->

Feature

See title

Benefit

Necessary for compiler-builtins to compile with cg_clif on macOS and other x86 targets that are specified to support 128bit atomics.

Implementation

Use cmpxchg16b

Alternatives

<!-- Have you considered alternative implementations? If so, how are they
better or worse than your proposal? -->

view this post on Zulip Wasmtime GitHub notifications bot (May 26 2025 at 09:32):

bjorn3 commented on issue #2665:

Fixed by https://github.com/bytecodealliance/wasmtime/pull/9459


Last updated: Dec 13 2025 at 19:03 UTC