diff options
| author | Sanonymous01 <359799944+Sanonymous01@users.noreply.github.com> | 2026-11-22 13:32:59 +0000 |
|---|---|---|
| committer | Sanonymous01 <359799944+Sanonymous01@users.noreply.github.com> | 2026-11-22 13:32:59 +0000 |
| commit | 0906a75f3df32cc24f46714504092ab987d516b5 (patch) | |
| tree | 64d4a78898b34dcb6d1e23040bbdca549ca8b610 /runtime/test/loader_test.cpp | |
| parent | a0acd33d77babe67a28e398b2936a9f735a50f5d (diff) | |
docs: SHADER-135 on RDNA2 (gfx1036): f16 omod and clamp, v_fma_mix* constants, NaNs, denormals and rounding
Raw kernels through the hardware oracle on a gfx1036 iGPU (AMD Windows driver
32.0.21044.64, HIP backend), 1,385 programs in wave32 and wave64, identical
words in both:
- an omod on an f16 result (v_add/mul/fma/fmac/cvt/exp/rcp_f16) acts only with
IEEE 0 and denorm_mode_16_64 = 0; omod comes before clamp; clamp gives +0
for -0 and, with DX10_CLAMP 1, for a NaN;
- v_fma_mix* operands: a float inline constant is f32 or the f16 constant
(zero high half) by op_sel_hi, an integer constant its 32-bit integer;
denormals follow the mode of their own width; NaN payloads are kept;
- v_fma_mixlo/mixhi_f16 round once (fma_mix_probe --oracle hw, 7 of 7 ties);
- v_exp_f16 / v_log_f16 repeat gfx1031's sweep counts exactly.
The translator is compared word for word and differs in five ways, listed
in docs/shader_validation.md; none is fixed here. Docs only. AI-assisted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/loader_test.cpp')
0 files changed, 0 insertions, 0 deletions