You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
direct compute: SCC liveness treats SCC-neutral SOP1 ops as SCC readers #3174
Part of #2935 (instruction coverage). Target branch main. I am taking it.
Gap. The direct compute SCC liveness (DirectCompute::uses_scc_after) treats every SOP1 outside a short list as an unknown SCC reader. An SCC written by a byte-window descriptor rewrite therefore stays live past instructions that neither read nor write SCC, such as s_ff1_i32_b64. The rewrite is then refused with "numeric SCC from a symbolic descriptor field".
Measured on a local capture of 2,689 compute requests (counts and instruction shape only), with compile_dxil --jobs 8 gfx1013-direct-cs@36 --requests on main6057071b (the commits since then do not touch gfx1013_compute_native.cpp or gfx1013_direct_compute.inl):
13 requests stop first at that refusal; 6 of them because of this.
With the change, 1 compiles (403 to 404). 3 stop at "direct descriptor address outside bound table", and 2 at s_ff1_i32_b64 with an EXEC source, which stays refused.
Plan: classify the SOP1 ops the direct path lowers by their SCC behaviour.
SCC-neutral: the scans, s_brev, s_sext, s_bitset0/s_bitset1 and s_bitreplicate.
SCC writers: s_abs_i32, the 32-bit counts and the remaining b64 saveexec forms.
Activity
compute: track SCC liveness through neutral SOP1 operations (R0Y00#3189)