[rocjitsu][fi] Mutate qualified CDNA5 ordinary load addresses #16785
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 248 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.330
Real PR Conversation Timeline
1 comments
"Review active on #16785"
general
weight: 0.35
hanhanW
The acquire query can identify ordinary loads on
gfx1250andgfx1251,but callers cannot yet turn those selections into address mutants. Editing
the load without retaining its qualification proof would also lose the
wait/cache and ownership conditions that define the candidate set.
Add
OrdinaryWrongAddressmutation for the CDNA5 wave32Cdna5GlobalB32profile, together with the shared ordinary-address CLI path.Reuse the existing acquire discovery and exact/qualified-ordinal selector.
Before applying an edit, check source identity, membership and every saved
proof byte, then decode the original load again to confirm its form,
immediate and scope. A stale or mismatched selection cannot produce output.
Apply a positive, four-byte-aligned delta no greater than
0x7fffffto thesigned24 byte immediate. Reject overflow and an unaligned resulting offset.
Construct a complete replacement through the existing source-preserving
field helper and checked writer, retaining operands, scope, cache hints,
waits and continuations. Preserve
scale_offset: it scales the vectoroffset, while the immediate and requested delta remain byte offsets.
Each request uses a fresh replacement batch from the pristine image, so
independent mutants do not accumulate edits. The CLI exposes qualified
listing, exact/ordinal selection, capabilities and checked new-file output.
RDNA4 acquire profiles remain query-only in this PR.
For example, an illustrative qualified CDNA5 sequence has these fields;
register operands and unrelated modifiers are omitted:
Both mutants retain the original wait/cache association. A delta of
2is rejected without producing a mutant; a load without the required
acquire sequence never enters this mode's qualified inventory.