[CPU][ARM64] Preserve i32 arithmetic and comparison precision #39602
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.33) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 140 lines diff across 1 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.296
Real PR Conversation Timeline
1 comments
"Review active on #39602"
general
weight: 0.35
v-Golubev
Details
Fix rounding above 2^24 in ARM64 CPU elementwise execution. Add, Subtract, Multiply, Minimum, Maximum, Abs, Negative, SquaredDifference, MulAdd, and all six comparisons now have native i32 paths. Floor can use its existing integer identity path.
Allow supported i32 operations in ARM64 Snippets, keep integer Divide on the reference path, and preserve rounding when an input Convert crosses between i32 and floating-point arithmetic. Reuse the existing CPU fixtures for boundary values, broadcasting, and fusion checks.
Validation
Related issues
Related to #39337. PRelu, Select, Relu, Mod, FloorMod, and general reference-fallback hardening are outside this PR's scope. The x64 comparison fix is in #39444.