cpp-migration: lower v_cvt_pk_u16_u32 and v_cvt_pk_i16_i32 in the direct C++ compute path #2995
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#2995
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?
@legacy-code-archaeologist on GitHub · 2026-11-27 03:37 UTC · original
Target branch
cpp-migration. Part of #2935 (instruction coverage: integer ALU). I am taking this; please say if you already have it locally and I will drop it.Gap: the direct compute path refuses
v_cvt_pk_u16_u32andv_cvt_pk_i16_i32withdirect DXIL lowering for <name>. I found this with the same per-opcode VOP3 probe as #2985, oncpp-migration05438d65.gfx2hlsl.pylowers both in its VOP3 table:v_cvt_pk_u16_u32:min(S0, 0xffff) | min(S1, 0xffff) << 16.v_cvt_pk_i16_i32: each source clamped to [-32768, 32767] as a signed value, then packed as 16 bits.It refuses a nonzero unused SRC2 field.
Plan:
gfx2hlsl.py.AI-assisted.
@MasterDomino on GitHub · 2026-11-27 04:35 UTC · original
Completed by #2996, merged into
cpp-migrationas4701650d. Merges into a non-default branch do not close issues automatically.