The reference returned 0x7fc00000 for any NaN or infinity. docs/design.md ("Float min/max/med3 with NaN, v_fract")
records the gfx1036 measurement: a NaN operand comes back unchanged, a signalling one too, and +-inf gives exactly
0xffc00000. The translator follows that, so a v_cmp_class_f32 of a fract'd signalling NaN reported a false
mismatch: fmisc_diff --programs 8000 --seed 775101, program 177 (v_fract_f32 of 0x7f800001, then a class mask with
bit 0 and not bit 1: reference 0, translated 1.0).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A separate exact-rational ISA model for v_fract_f32, v_frexp_mant/exp_f32, v_ldexp_f32, v_cvt_u32/i32_f32, v_cvt_off_f32_i4, v_fmamk_f32, the 16 v_cmp_*_f32 conditions and v_cmp_class_f32, with neg/abs, omod and clamp and every source kind within the constant-bus rules, compared one lane at a time with rdna2spirv run in tests/semantic/spirv_mini_interp.py, optionally with the hardware through tools/hw_oracle (run under IEEE off, f32 denormals flushed). Denormals, NaN payloads read as integers, clamp of a NaN and omod giving a zero are counted skips. v_cmp_class_f32 with neg/abs on a signalling NaN only with --known.
AI-assisted.