Kmeakin opened PR #6202 from Kmeakin:icmp-documentation
to bytecodealliance:main
:
Add documentation to
icmp
clarifying 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:
-
1
if the condition holds.
-0
if the condition does not hold.When comparing vectors, the result is
-
-1
(ie all ones) in each lane if the condition holds.
-0
in 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: Nov 22 2024 at 17:03 UTC