direct compute: support defined numeric M0 register values #3204
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#3204
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?
@xiaoqi72665 on GitHub · 2026-11-27 21:35 UTC · original
Refs #2935, #3145 and #3174. Taking the independent numeric M0 register slice, not the raw-load decoder change.
At
d99e0ae, source-built slot67 controls compile ordinary scalar moves and zero-offset buffer loads, buts_mov_b32 m0, 4fails at +0x2c ("direct scalar move destination"); a subsequent numeric read cannot be reached. M0-buffer loads separately hit the shared decoder refusal. The same scalar register restrictions remain in673a9f2.RDNA 2 ISA sections 3.7 and 5.2 identify M0 as a 32-bit per-wave register (encoding 124). Reuse existing direct register storage and CFG symbol analysis for defined numeric scalar writes and explicit ALU reads; refuse undefined values, symbolic descriptors and invalid pairs. Source-built controls/readback will exercise group-dependent values, overwrite, branch joins, loop and EXEC/SCC behavior. Keep graphics and legacy HLSL paths unchanged. #3174 explicitly leaves M0 soffset unsupported; leave that decoder and memory-addressing behavior unchanged until its follow-up is coordinated. No implicit M0 LDS/indexing support claimed.
Buhe (@xiaoqi72665). AI-assisted.