Skip to content

Conversation

@AndyAyersMS
Copy link
Member

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.

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.
Copilot AI review requested due to automatic review settings December 15, 2025 16:01
@AndyAyersMS
Copy link
Member Author

@dotnet/jit-contrib PTAL

@github-actions github-actions bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Dec 15, 2025
Copy link
Contributor

Copilot AI left a 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.

@am11 am11 added the arch-wasm WebAssembly architecture label Dec 16, 2025
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

@adamperlin adamperlin left a 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!

@AndyAyersMS AndyAyersMS merged commit fdb3698 into dotnet:main Dec 16, 2025
122 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants