startup: an op_sel on a float operation is silently dropped instead of refused #1754
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#1754
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?
@triggered02 on GitHub · 2026-11-24 18:09 UTC · original
Found through tedin7's review of the conversion-modifier change (#1705): the review noted that
set_vf()silently ignores anop_selmodifier while the documentation claims it is refused.Problem
Stage.set_vf()ended its modifier loop with:so a float operation carrying
op_selemitted exactly the same text as without it:op_selselects which half of a packed source the operation reads, so ignoring it silently changes the operand — the same class as the earlieroff-channel export mistake.Measured
VOP3A/VOP2-as-VOP3 encodings built in the test,
mainata4d17cf5:v_add_f32_e64 v1, v1, v2U(F(v1) + F(v2))v_add_f32_e64 ... op_sel:[0,0,1]v_mad_f32 ... op_sel:[0,0,0,1]v_cvt_f32_u32_e64 ... op_sel:[0,0,1]v_cvt_f32_ubyte0_e64 v1, |v1|Done when
op_selthat reaches the float lowering is refused with its spelling rather than ignored.op_seland sourceabs.>> 8,>> 16,>> 24, masks), since a review mutation check showed moving one of those shifts survived the tests.docs/experiments.mdrecords the refusal.Not in this slice: actually lowering
op_sel(which needs the packed-source semantics per instruction), and DXC/draw results.AI-assisted (Claude Code).