direct compute: lower op_sel on VOP3 v_fma_f16 #3235

Closed
opened 2026-11-28 00:19:45 +00:00 by github-bot · 0 comments
Owner

@⁠Leyukaka on GitHub · 2026-11-28 00:13 UTC · original

Part of #2935, from the ranking in #3226. Target branch main. I am taking it; the PR follows.

Gap. The direct compute path refuses op_sel on VOP3 v_fma_f16 with "unsupported v_fma_f16 high-half op_sel" (#3189 left it refused on purpose).

Measured. In the 882 requests of #3226, nine programs use v_fma_f16 with op_sel.

  • Two heavily dispatched wave64 programs reach this refusal with #3006 applied, at 329,032 dispatches each. Each has 384 such instructions in three forms, 128 of each:
    • one uses [1,0,0], [1,1,1,1] and [0,1,1,1];
    • the other uses [1,0,0], [1,1,0] and [0,1,0].
  • On main alone, both stop earlier at "unbound numeric SGPR", the wave-size gap that #3006 addresses.
  • A third program (4,282 dispatches) already reaches the refusal on main, with [0,0,0,1].
  • [0,0,1,1] appears 18 times in the set.

AI-assisted.

**@⁠Leyukaka** on GitHub · 2026-11-28 00:13 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/3233) Part of #2935, from the ranking in #3226. Target branch `main`. I am taking it; the PR follows. **Gap.** The direct compute path refuses `op_sel` on VOP3 `v_fma_f16` with "unsupported v_fma_f16 high-half op_sel" (#3189 left it refused on purpose). **Measured.** In the 882 requests of #3226, nine programs use `v_fma_f16` with `op_sel`. - Two heavily dispatched wave64 programs reach this refusal with #3006 applied, at 329,032 dispatches each. Each has 384 such instructions in three forms, 128 of each: - one uses `[1,0,0]`, `[1,1,1,1]` and `[0,1,1,1]`; - the other uses `[1,0,0]`, `[1,1,0]` and `[0,1,0]`. - On `main` alone, both stop earlier at "unbound numeric SGPR", the wave-size gap that #3006 addresses. - A third program (4,282 dispatches) already reaches the refusal on `main`, with `[0,0,0,1]`. - `[0,0,1,1]` appears 18 times in the set. AI-assisted.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 00:19:45 +00:00
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/R0Y00--Xbox2Windows#3235
No description provided.