direct compute: lower binary16 VOP1 rcp, sqrt, exp, rsq and log #3221
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#3221
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?
@Leyukaka on GitHub · 2026-11-27 22:18 UTC · original
Part of #2935 (instruction coverage). Target branch
main. I am taking it; the PR follows.Gap. Direct compute lowers the binary16 VOP2 ALU ops only. The binary16 VOP1 ops
v_rcp_f16,v_sqrt_f16,v_exp_f16,v_rsq_f16andv_log_f16are refused, plain and SDWA. Captured SDWA forms usedst_selWORD_0 or WORD_1, with UNUSED_PAD or UNUSED_PRESERVE.Measured on a local capture of 2,689 compute requests (counts and instruction shape only), with
compile_dxil --jobs 8 gfx1013-direct-cs@36 --requestsonmainc45bf9ab:AI-assisted.
github-bot referenced this issue2026-11-27 22:23:30 +00:00
@Leyukaka on GitHub · 2026-11-29 01:08 UTC · original
v_rcp_f16,v_sqrt_f16,v_exp_f16andv_rsq_f16are onmainthrough #3222 (src/gfx1013_compute_native.cpp:32-35).v_log_f16is not in that list and is still refused (control attests/native_f16_alu_check.py:408); #3222 gives the accuracy reason.Releasing my claim on the log part.