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? -->
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? -->
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.
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.)
Last updated: Nov 22 2024 at 17:03 UTC