RDNA2 division underflow boundary
PortBridge linked Lyrnc's AMD measurements, the Continued tests and the XCL division helper. After the five discrepancies were reported, b3IKK adjusted the boundary and NaN handling and added tests in the PR branch.
Recorded in the catalog
VIctory
Lyrnc measured the transition from a nonzero quotient to signed zero at an exponent difference of −151 on gfx1036.
Source observation · Observed · AMD RDNA2 gfx1036
At −151 the measured input produced zero. At −150 it preserved the quotient.
Leonida Continued
The Continued translator and CPU interpreter matched 14 of 14 synthetic cases. All 18 existing focused tests passed.
Independent verification · Passed · CPU, SPIR-V interpreter
79834b22fbaac99d67becf13a697878c7c2bcffeContinued translator comparison
Report date
Continued matched all 14 cases, including 10 from the hardware probe.
XCL
The original helper matched 9 of 14 inputs. After b3IKK's fix, an independent WARP run passed all 14 original inputs and all 17 inputs from the updated test.
Independent verification · Mixed result · Windows 11, Microsoft WARP, DXC 1.9.2602.17
2aa8211b9d72243dbe521cb0e0fbea9352dcf0ddReport date
At −151 the expected result was 0x00000000 and the original helper returned 0x40000000. The −150 control passed. This was an isolated helper check.
Independent verification · Passed · Windows 11, Microsoft WARP, DXC 1.9.2602.17
eac652c3d11927169ea46739249ebcc188ad800eIndependent run of b3IKK's fix
Report date
The isolated helper passed all 14 original inputs and all 17 updated fixture inputs. The old helper passed 9 and 13 respectively. The comparison included exact NaN payloads and both signed zero cases.
Independent verification · Passed · NVIDIA RTX 3060, CachyOS Linux, Vulkan (vkd3d-proton), DXC 1.9.2609.5
eac652c3d11927169ea46739249ebcc188ad800eJoaoPauluu confirmed the XCL fix on RTX 3060
Report date
Both focused XCL GPU tests passed without skips. The baseline was not part of this run.
Independent verification · Passed · AMD Radeon RX 9070 XT, Linux, RADV 26.3.1, vkd3d-proton 3.1, Native Wave64
eac652c3d11927169ea46739249ebcc188ad800eTobiasFornell confirmed the fix on RX 9070 XT
Report date
The local merge of the corrected head onto 47efa2e passed all three focused tests. Native Wave64 covered the −151/−150 boundary, NaN order, DIV_FMAS and EXEC divergence.