Stream: git-wasmtime

Topic: wasmtime / PR #14029 Fix AArch64 subword atomic unsigned ...


view this post on Zulip Wasmtime GitHub notifications bot (Jul 30 2026 at 18:00):

subotac opened PR #14029 from subotac:fix/aarch64-atomic-umin-zero-extension to bytecodealliance:main:

Fixes #13972.

Zero-extend i8 and i16 operands in non-LSE AArch64 atomic umin/umax comparison loops. Values produced by ireduce can retain high register bits, so comparing the unextended 32-bit operand can select the wrong
subword value.

This updates the assembly and binary-emission expectations and adds runtime cases with dirty high operand bits.

## Testing

- cargo run -p cranelift-tools -- test cranelift/filetests/filetests/isa/aarch64/atomic-rmw.clif cranelift/filetests/filetests/runtests/atomic-rmw-subword-little.clif
- cargo test -p cranelift-codegen --features all-arch --lib test_aarch64_binemit
- cargo clippy -p cranelift-codegen --features all-arch --lib -- -D warnings
- cargo fmt -p cranelift-codegen -p cranelift-filetests -- --check

view this post on Zulip Wasmtime GitHub notifications bot (Jul 30 2026 at 18:00):

subotac requested fitzgen for a review on PR #14029.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 30 2026 at 18:00):

subotac requested wasmtime-compiler-reviewers for a review on PR #14029.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 30 2026 at 19:06):

github-actions[bot] added the label cranelift on PR #14029.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 30 2026 at 19:06):

github-actions[bot] added the label cranelift:area:aarch64 on PR #14029.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 13 2026 at 16:43):

:thumbs_up: fitzgen submitted PR review:

Thanks!

view this post on Zulip Wasmtime GitHub notifications bot (Aug 13 2026 at 16:43):

fitzgen added PR #14029 Fix AArch64 subword atomic unsigned min/max to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 13 2026 at 17:08):

:check: fitzgen merged PR #14029.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 13 2026 at 17:08):

fitzgen removed PR #14029 Fix AArch64 subword atomic unsigned min/max from the merge queue.


Last updated: Aug 30 2026 at 09:07 UTC