Skip to content

Fix NaN handling for some instructions#8472

Merged
stevenfontanella merged 1 commit intomainfrom
fix-float-misc
Mar 16, 2026
Merged

Fix NaN handling for some instructions#8472
stevenfontanella merged 1 commit intomainfrom
fix-float-misc

Conversation

@stevenfontanella
Copy link
Member

@stevenfontanella stevenfontanella commented Mar 16, 2026

  • Fix bit patterns for canonical and arithmetic NaNs
  • Canonicalize NaNs for float instructions covered by spec tests
  • Also remove equivalent tests in test/spec since they're the same as the upstream tests but with some previously-failing parts removed, and using older syntax for checking for NaNs
  • Fixes 12 spec tests

Part of #8261.

@stevenfontanella stevenfontanella changed the title Fix NaNs in spec tests Fix NaN handling for some instructions Mar 16, 2026
@stevenfontanella stevenfontanella marked this pull request as ready for review March 16, 2026 19:32
Copy link
Member

@tlively tlively left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing!

@stevenfontanella stevenfontanella merged commit c874f5d into main Mar 16, 2026
17 checks passed
@stevenfontanella stevenfontanella deleted the fix-float-misc branch March 16, 2026 20:49
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.

2 participants