diff options
| author | nonverifiedperson <8898330+nonverifiedperson@users.noreply.github.com> | 2026-11-22 14:31:03 +0100 |
|---|---|---|
| committer | nonverifiedperson <8898330+nonverifiedperson@users.noreply.github.com> | 2026-11-22 14:31:03 +0100 |
| commit | 254b95da53ed3568dafe5a316bee31f905ec5082 (patch) | |
| tree | d47e31f1048bc95b6bd6a7c324a0576afe604b7b /runtime/src/pe_loader.cpp | |
| parent | 8a300e0e9806f6da2ac7c63c60e06b5d606ac3f8 (diff) | |
Execute v_rcp_iflag_f32 with clamp/omod in the semantic suite; drop a stale note
test_valu_f32_class_rndne.py said the translator drops clamp/omod on v_rcp_iflag_f32 and that
spirv_mini_interp.py has no OpFDiv, so it only checked the translation structurally. Both changed in
FUZZ-3 (ed6da6b6): rdna2spirv.py applies clamp_mods after the OpFDiv, and the interpreter runs OpFDiv
except by zero. The class now executes the op on power-of-two inputs with mul:2, mul:4, div:2, clamp and
source modifiers, plus a negative control that removes the omod multiply.
On gfx1036 (tools/f32_fuzz.py --oracle translator,hw --ops v_rcp_iflag_f32, seeds 1 to 3) the translator
agrees with the hardware on 2,570 of 3,000 programs and differs on none; the rest divide by zero
(undefined in SPIR-V) or are cases the model does not judge.
Tested: tests/semantic (1,340 tests), compileall. AI-assisted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions