-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[Wasm RyuJit] unordered floating point compares #122562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Wasm floating point comparisons (except `fne`) return false if any operand is a NaN. Handle unordered compares by reversing the comparison and branching if the result is false.
|
@dotnet/jit-contrib PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
|
Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara |
adamperlin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me! Thanks for the comments on unordered EQ/ordered NE @SingleAccretion!
Wasm floating point comparisons (except
fne) return false if any operand is a NaN. Handle unordered compares by reversing the comparison and branching if the result is false.