Kmeakin opened PR #6202 from Kmeakin:icmp-documentation to bytecodealliance:main:
Add documentation to
icmpclarifying the representation of true/false values for scalar and vector comparisons
Kmeakin requested cfallin for a review on PR #6202.
Kmeakin requested wasmtime-compiler-reviewers for a review on PR #6202.
kevaundray submitted PR review.
kevaundray created PR review comment:
Just a formatting preference:
When comparing scalars, the result is:
-
1if the condition holds.
-0if the condition does not hold.When comparing vectors, the result is
-
-1(ie all ones) in each lane if the condition holds.
-0in each lane if the condition does not hold.
kevaundray edited PR review comment.
Kmeakin updated PR #6202.
Kmeakin updated PR #6202.
jameysharp submitted PR review.
jameysharp has enabled auto merge for PR #6202.
jameysharp merged PR #6202.
Last updated: Dec 13 2025 at 19:03 UTC