mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 14:18:38 +00:00
These forms were refused. Measured on RDNA2 (gfx1036, raw kernels through tools/hw_oracle, wave32 and wave64): op_sel bit 2 adds S2[31:16] zero-extended (in the i16 op too), op_sel bit 3 writes the result shifted left by 16, and clamp saturates the sum to u32 / i32 before that shift. GPU test ps_valu16_mad_sel (4096/4096 on RTX 5080 and the gfx1036 iGPU), the same shader as a semantic fixture, test_alu_mad_32_16 checks the measured rule instead of the refusal, and a docs/design.md row (EGEN-HW-MAD-U32-U16). AI-assisted.