direct compute: lower op_sel on VOP3 v_fma_f16 #3233

Closed
opened 2026-11-28 00:13:57 +00:00 by Leyukaka · 0 comments
Leyukaka commented 2026-11-28 00:13:57 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-11-28T00:13:57Z.


Part of #2935, from the ranking in #3224. 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" (#3187 left it refused on purpose).

Measured. In the 882 requests of #3224, 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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6656539971 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3233). Originally posted by [Leyukaka](https://github.com/Leyukaka) on 2026-11-28T00:13:57Z. --- Part of #2935, from the ranking in #3224. 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" (#3187 left it refused on purpose). **Measured.** In the 882 requests of #3224, 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.
Sign in to join this conversation.
No labels
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.

Reference
R0Y00/Xbox2Windows#3233
No description provided.