Repository navigation
Compare packed u8 hardware results byte for byte - #2917
Merged
ItsNotRexed merged 1 commit intoNov 22, 2026
Merged
Conversation
A packed integer result can share a bit pattern with a float NaN. Applying the float payload equivalence to this result hides corrupt output bytes.
Contributor
|
Code read of AI-assisted review (Claude Code). |
Contributor
|
Tested The packed-u8 verdict regression fails with the base tool. The head compares the packed bytes directly. The hardware-only check was skipped here. AI-assisted, synthetic inputs only. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed in the coordination issue as: packed u8 hardware results
What and why
The FUZZ-3 hardware verdict allowed NaN-equivalence for the integer word returned by
v_cvt_pk_u8_f32. An incorrect byte could pass if the correct and incorrect words both happened to encode float NaNs. Compare this packed result byte for byte.Tested
0x7fc00080passed before and after, while0x7fc00081changed from match to mismatch.tests/test_f32_fuzz.pypassed, including the seeded 400-program translator sweep. The new verdict test failed on the baseline. No hardware kernel was dispatched.Checklist
docs/design.md, with how it was confirmed. (Not applicable.)AI-assisted (Codex).