shader: lower v_fma_f16, v_fmac_f16, v_fmamk_f16 and v_fmaak_f16 in the direct C++ path #3188
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#3188
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@legacy-code-archaeologist on GitHub · 2026-11-27 20:42 UTC · original
Taking the four scalar binary16 FMA instructions in the direct C++ frontend (
src/gfx1013_direct_compute.inl, Refs #2935):v_fma_f16(VOP3)v_fmac_f16(VOP2 / VOP3A)v_fmamk_f16(VOP2 + 32-bit literalKlow 16 bits)v_fmaak_f16(VOP2 + 32-bit literalKlow 16 bits)Plan:
fma16_rnealgorithm intools/pixel_aot.pyso #2073 tie cases round once rather than double-rounding through binary32), preservingD[31:16], supporting VOP3abs/neg/clamp, enforcing the default binary16 MODE contract viahalf_binary, and refusing unsupported DPP/SDWA/omod/op_sel/third-source modifiers.tests/native_f16_alu_check.pyfromv_fmac_f16tov_pk_fmac_f16.native_compute_ir_dump(ir),compile_dxil(controls), andnative_store_replay(hardware, expected skip77on Quadro M1000M).AI-assisted.