[rocjitsu][fi] Add CDNA3 and CDNA4 ordinary acquire address recipes #16787
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 · 266 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.334
Real PR Conversation Timeline
1 comments
"Review active on #16787"
general
weight: 0.35
hanhanW
The modern ordinary profiles cannot qualify the native eight-byte loads on
gfx942andgfx950. Their acquire sequence usess_waitcntandbuffer_inv, and recognizing those mnemonics alone is insufficient: alow-scope load or ineffective invalidation cannot establish the required
Agent acquire boundary.
Add
Cdna34GlobalDwordqualification and address mutation for both targetsat wave64. Associate
global_load_dword,vmcnt(0)andbuffer_invthroughthe existing bounded acquire query, retaining its function-container and
complete execution-owner checks. Check wave64 for every affected CDNA
owner, including callers of shared helpers.
Prove the load and cache controls independently. Load
SC1at word0 bit25must be set for Device/System scope; load
SC0andNTremain independent.Cache
SC1at bit15 must also be set, accepting either cacheSC0value.Cache flags
00are a NOP, while01depends on unprovedTG_SPLIT, soneither enters the qualified inventory. Leave public
raw_scopeabsentbecause these native controls are not a literal GFX12 scope field.
Reuse source-bound selection, saved-proof checks and independent mutation
batches. Apply the checked positive, four-byte-aligned delta to the native
signed13 GLOBAL immediate, rejecting overflow or an unaligned result.
Preserve load operands, scope controls, hints and the complete wait/cache
sequence through the shared library and CLI. Native source/replacement
examples keep scratch-only SVE clear while retaining valid ignored operands;
this does not add a new decoder-legality policy.
For example, this schematic qualified sequence omits register operands;
offsets are relative to pristine
.text:Clearing either instruction's
SC1removes this candidate even if theother instruction still qualifies. Such a load consumes no qualified
ordinal and cannot produce an address mutant.