diff options
| author | iurysf <98192149+iurysf@users.noreply.github.com> | 2026-11-23 01:19:33 -0300 |
|---|---|---|
| committer | iurysf <98192149+iurysf@users.noreply.github.com> | 2026-11-23 01:19:33 -0300 |
| commit | 62ab35bd91361937abbadde39a5bb91d9de25fed (patch) | |
| tree | aabb1a29d9d0ebb01e1a0e2ce4bcb1f452577e4a /tests/test_run_gpu_tests_python_assembler.py | |
| parent | e1e81f8a24e22c71be10db1cfeaf0cdfd59cdb94 (diff) | |
FUZZ-55: Match the v_div_fixup_f64 reference to the gfx1036 measurements on main (#2477)
TreXito's review of #4536 found 40 mismatches in 24000 programs (seeds 776401 and
776402, exp(S2) - exp(S1) >= 1024): the reference predates #2477 (48a1a98b),
whose measured RDNA2 gfx1036 rules are in the docs/design.md v_div_fixup row.
The translator is the side that is right. Checked against that row and against
the v_div_fixup_f64 lowering in tools/rdna2spirv.py on main, not only against the
proposed patch:
- NaN in S2 or S1 passes through unchanged (a signalling NaN is not quieted with
IEEE=0); the priority NaN(S2) over NaN(S1) is unchanged.
- The underflow cutoff is exp(S2) - exp(S1) <= -1076 (was < -1074).
- There is no overflow check (was >= 1024).
- NaN(S0) gives signed infinity, still below the underflow case.
test_div_fixup_table is updated row by row (gap 1074/1075 pass S0, 1076 gives a
signed zero, no overflow rows, unquieted sNaN) and docs/shader_validation.md
records the rule.
AI-assisted (OpenBot team).
Co-authored-by: OpenBot <335604065+openbotgit[bot]@users.noreply.github.com>
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions