Skip to content

Fix i64.atomic.rmw.or using AND instead of OR#564

Open
sumleo wants to merge 1 commit intotitzer:masterfrom
sumleo:fix/atomic-rmw-or
Open

Fix i64.atomic.rmw.or using AND instead of OR#564
sumleo wants to merge 1 commit intotitzer:masterfrom
sumleo:fix/atomic-rmw-or

Conversation

@sumleo
Copy link
Contributor

@sumleo sumleo commented Feb 25, 2026

Summary

  • The I64_ATOMIC_RMW_OR case in V3Interpreter dispatches V3Eval.I64_AND instead of V3Eval.I64_OR, causing i64.atomic.rmw.or to perform a bitwise AND instead of OR.

Details

V3Interpreter.v3:527 — simple typo: I64_ANDI64_OR.

The I64_ATOMIC_RMW_OR handler incorrectly dispatched to V3Eval.I64_AND
instead of V3Eval.I64_OR, causing the atomic read-modify-write to
perform a bitwise AND instead of the intended bitwise OR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant