bpu: add stats for recomputed vs actual/original prediction diff#685
bpu: add stats for recomputed vs actual/original prediction diff#685jensen-yan merged 1 commit intoxs-devfrom
Conversation
📝 WalkthroughWalkthroughThis pull request adds per-fetch recomputation difference tracking to the BTB TAGE predictor. It introduces two new statistics counters to measure deviations between recomputed predictions and actual outcomes, and between recomputed and original predictions when update-on-read is applied. The implementation computes these differences during the BTB update path and increments counters accordingly. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used🧬 Code graph analysis (1)src/cpu/pred/btb/btb_tage.cc (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Add two per-fetchBlock statistics to track TAGE prediction differences: - recomputedVsActualDiff: recomputed.taken != actual_taken - recomputedVsOriginalDiff: recomputed.taken != original pred.taken
🚀 Coremark Smoke Test Results
✅ Difftest smoke test passed! |
|
[Generated by GEM5 Performance Robot] Align BTB PerformanceOverall Score
|
Add two per-fetchBlock statistics to track TAGE prediction differences:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.