Lune

MICRO2024Top-tier venue

Timely, Efficient, and Accurate Branch Precomputation

Aniket Deshmukh, Lingzhe Chester Cai, Yale N. Patt

Abstract

Out-of-order cores rely on high-accuracy branch predictors to supply useful instructions to the processor backend. However, there remains a large fraction of mispredictions caused by hard-to-predict (H2P) branches that modern predictors have been unable to improve. Precomputation is an alternative to prediction that speculatively executes the dependence chain of a branch earlier to override the branch predictor at Fetch time. However, prior work sacrifices H2P branch coverage and precomputation accuracy to produce timely results.

Our work relaxes this timeliness constraint by using precomputation results to issue early misprediction flushes instead of overriding the branch predictor. This allows us to construct a highly accurate precomputation thread with good misprediction coverage, without sacrificing timeliness. The thread is efficient as it utilizes on-core execution resources and re-uses existing hardware for issuing early flushes. Using our Timely, Efficient, and Accurate thread for precomputation yields a 10.1% improvement in performance over an aggressive baseline OoO core.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Criticality Driven Fetch cites Slipstream Processors Revisited: Exploiting Branch Sets
  • Branch Runahead: An Alternative to Branch Prediction for Impossible to Predict Branches cites BranchNet: A Convolutional Neural Network to Predict Hard-To-Predict Branches
  • Branch Runahead: An Alternative to Branch Prediction for Impossible to Predict Branches cites Slipstream Processors Revisited: Exploiting Branch Sets
  • CRISP: critical slice prefetching cites Criticality Driven Fetch
  • CRISP: critical slice prefetching cites Branch Runahead: An Alternative to Branch Prediction for Impossible to Predict Branches
  • Enabling Ahead Prediction with Practical Energy Constraints cites Criticality Driven Fetch
  • Enabling Ahead Prediction with Practical Energy Constraints cites BranchNet: A Convolutional Neural Network to Predict Hard-To-Predict Branches
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Enabling Ahead Prediction with Practical Energy ConstraintsLingzhe Chester Cai, Aniket Deshmukh, Yale N. PattISCA 2025 · 2 citations
  2. Harvesting Sub-Microsecond CXL Memory Stalls with LiteSwitchNanqinqin Li, Yuhong Zhong, Asaf Cidon, Michael J. FreedmanOSDI 2026

Builds on5

  1. BranchNet: A Convolutional Neural Network to Predict Hard-To-Predict BranchesSiavash Zangeneh, Stephen Pruett, Sangkug Lym, Yale N. PattMICRO 2020 · 50 citations
  2. CRISP: critical slice prefetchingHeiner Litz, Grant Ayers, Parthasarathy RanganathanASPLOS 2022 · 33 citations
  3. Branch Runahead: An Alternative to Branch Prediction for Impossible to Predict BranchesStephen Pruett, Yale N. PattMICRO 2021 · 23 citations
  4. Slipstream Processors Revisited: Exploiting Branch SetsVinesh Srinivasan, Rangeen Basu Roy Chowdhury, Eric RotenbergISCA 2020 · 12 citations
  5. Criticality Driven FetchAniket Deshmukh, Yale N. PattMICRO 2021 · 9 citations

Related papers

  1. Alternate Path FetchAniket Deshmukh, Lingzhe Chester Cai, Yale N. PattISCA 2024 · 2 citations
  2. Auto-Predication of Critical BranchesAdarsh Chauhan, Jayesh Gaur, Zeev Sperber, Franck Sala et al.ISCA 2020 · 8 citations
  3. Focused Value PredictionSumeet Bandishte, Jayesh Gaur, Zeev Sperber, Lihu Rappoport et al.ISCA 2020 · 13 citations
  4. Delinquent Loop Pre-execution Using Predicated Helper ThreadsAnirudh Seshadri, Eric RotenbergHPCA 2025 · 1 citation
  5. Vector RunaheadAjeya Naithani, Sam Ainsworth, Timothy M. Jones, Lieven EeckhoutISCA 2021 · 27 citations
Dusk over the sea between two cliffs drawn in fine vertical lines