Timely, Efficient, and Accurate Branch Precomputation
Aniket Deshmukh, Lingzhe Chester Cai, Yale N. Patt
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Criticality Driven Fetch 引用了 Slipstream Processors Revisited: Exploiting Branch Sets
- Branch Runahead: An Alternative to Branch Prediction for Impossible to Predict Branches 引用了 BranchNet: A Convolutional Neural Network to Predict Hard-To-Predict Branches
- Branch Runahead: An Alternative to Branch Prediction for Impossible to Predict Branches 引用了 Slipstream Processors Revisited: Exploiting Branch Sets
- CRISP: critical slice prefetching 引用了 Criticality Driven Fetch
- CRISP: critical slice prefetching 引用了 Branch Runahead: An Alternative to Branch Prediction for Impossible to Predict Branches
- Enabling Ahead Prediction with Practical Energy Constraints 引用了 Criticality Driven Fetch
- Enabling Ahead Prediction with Practical Energy Constraints 引用了 BranchNet: A Convolutional Neural Network to Predict Hard-To-Predict Branches
引用它的顶会 Paper2
它引用的 Paper5
- BranchNet: A Convolutional Neural Network to Predict Hard-To-Predict BranchesSiavash Zangeneh, Stephen Pruett, Sangkug Lym, Yale N. PattMICRO 2020 · 50 次引用
- CRISP: critical slice prefetchingHeiner Litz, Grant Ayers, Parthasarathy RanganathanASPLOS 2022 · 33 次引用
- Branch Runahead: An Alternative to Branch Prediction for Impossible to Predict BranchesStephen Pruett, Yale N. PattMICRO 2021 · 23 次引用
- Slipstream Processors Revisited: Exploiting Branch SetsVinesh Srinivasan, Rangeen Basu Roy Chowdhury, Eric RotenbergISCA 2020 · 12 次引用
- Criticality Driven FetchAniket Deshmukh, Yale N. PattMICRO 2021 · 9 次引用
相关 Paper
- Alternate Path FetchAniket Deshmukh, Lingzhe Chester Cai, Yale N. PattISCA 2024 · 2 次引用
- Auto-Predication of Critical BranchesAdarsh Chauhan, Jayesh Gaur, Zeev Sperber, Franck Sala 等ISCA 2020 · 8 次引用
- Focused Value PredictionSumeet Bandishte, Jayesh Gaur, Zeev Sperber, Lihu Rappoport 等ISCA 2020 · 13 次引用
- Delinquent Loop Pre-execution Using Predicated Helper ThreadsAnirudh Seshadri, Eric RotenbergHPCA 2025 · 1 次引用
- Vector RunaheadAjeya Naithani, Sam Ainsworth, Timothy M. Jones, Lieven EeckhoutISCA 2021 · 27 次引用
