diff options
| author | GTAVIB4GTAVI <GTAVIB4GTAVI@users.noreply.github.com> | 2026-11-25 01:20:54 -0500 |
|---|---|---|
| committer | GTAVIB4GTAVI <GTAVIB4GTAVI@users.noreply.github.com> | 2026-11-25 03:22:47 -0500 |
| commit | 12f177867863936c83dc49ac81f211ddb720e47d (patch) | |
| tree | 9f4255714b264f322b9f6e410ef4cb72efa9d95b /docs/github-metadata-export.md | |
| parent | 3f81d46ac01021bd7517f0cce153f4283bc8dd17 (diff) | |
tests: GPU-free repro of the FMA denormal-product divergence (TEST-FMA-DENORM-PRODUCT)
v_fmamk_f32 with an exact product of -2^-127 and addend 0x00ffffff is 0x00bfffff on RDNA2; an RTX 4070 SUPER
returned the addend (whoalin1, #14 comments 7150696174 (a) and 7152027316 (c)). Nothing pinned that mix:
cs_fma_fused probes rounding on normal products.
tests/semantic/fixtures/ps_fma_denorm_product.asm runs v_fmamk/fmaak/fma/fmac_f32 on push-constant operands.
tests/semantic/test_fma_denorm_product.py (12 tests) pins, per --fma mode:
- glsl: one GLSL.std.450 Fma per op. khr: one OpFmaKHR per op, with FMAKHR and SPV_KHR_fma. exact: no OpFmaKHR,
every FMul/FAdd/FSub NoContraction (124 for the 4 ops), and its 4 GLSL Fma feed only OpSelect.
- the words under three models of the driver's fused op: fused (0x00bfffff in every mode); flushing a denormal
product (glsl and khr give the addend, NVIDIA's word; exact keeps 0x00bfffff, also with every f32 denormal
result flushed); NaN for every finite operand triple (exact unchanged).
Expected words are checked against exact rationals, not against the interpreter. With exact's tiny-product
2^96 scaling disabled in a copy of tools/, 4 subtests fail. spirv-val accepts all three modes.
Semantic suite, same base c7e82e26e, -j 6: A 487 files / 6,279 tests / 0 failed; B 488 / 6,291 / 0 failed.
Test only, no translator change, no game data. The sNaN item of 7152027316 is #1554's. Claim: #1594.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: GTAVIB4GTAVI <GTAVIB4GTAVI@users.noreply.github.com>
Diffstat (limited to 'docs/github-metadata-export.md')
0 files changed, 0 insertions, 0 deletions