Enabling Ahead Prediction with Practical Energy Constraints
Lingzhe Chester Cai, Aniket Deshmukh, Yale N. Patt
摘要
Accurate branch predictors require multiple cycles to produce a prediction, and that latency hurts processor performance. "Ahead prediction" solves the performance problem by starting the prediction early. Unfortunately, this means making the prediction without the directions of the N branches between when the prediction starts and when the relevant branch's prediction is needed. The energy required to consider all 2 𝑛 possible cases increases by 14.6x, making ahead prediction not viable. This paper shows that most of the intermediate branch directions never materialize, reducing the number of observed missing history patterns significantly (usually, only one or two). We modified the TAGE predictor to eliminate those branches from having to be considered. The result, our ahead predictor can produce a performance benefit of 4.4%, while causing an increase in energy consumption of only 1.5x, far less than the 14.6x that was thought to be necessary, and very much viable.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Twig: Profile-Guided BTB Prefetching for Data Center Applications 引用了 PDede: Partitioned, Deduplicated, Delta Branch Target Buffer
- PDede: Partitioned, Deduplicated, Delta Branch Target Buffer 引用了 Twig: Profile-Guided BTB Prefetching for Data Center Applications
- Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications 引用了 Twig: Profile-Guided BTB Prefetching for Data Center Applications
- Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications 引用了 BranchNet: A Convolutional Neural Network to Predict Hard-To-Predict Branches
- Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications 引用了 PDede: Partitioned, Deduplicated, Delta Branch Target Buffer
它引用的 Paper10
- BranchNet: A Convolutional Neural Network to Predict Hard-To-Predict BranchesSiavash Zangeneh, Stephen Pruett, Sangkug Lym, Yale N. PattMICRO 2020 · 50 次引用
- Twig: Profile-Guided BTB Prefetching for Data Center ApplicationsTanvir Ahmed Khan, Nathan Brown, Akshitha Sriraman, Niranjan K. Soundararajan 等MICRO 2021 · 33 次引用
- Precise Runahead ExecutionAjeya Naithani, Josué Feliu, Almutaz Adileh, Lieven EeckhoutHPCA 2020 · 32 次引用
- Whisper: Profile-Guided Branch Misprediction Elimination for Data Center ApplicationsTanvir Ahmed Khan, Muhammed Ugur, Krishnendra Nathella, Dam Sunwoo 等MICRO 2022 · 25 次引用
- PDede: Partitioned, Deduplicated, Delta Branch Target BufferNiranjan K. Soundararajan, Peter Braun, Tanvir Ahmed Khan, Baris Kasikci 等MICRO 2021 · 22 次引用
相关 Paper
- Branch Runahead: An Alternative to Branch Prediction for Impossible to Predict BranchesStephen Pruett, Yale N. PattMICRO 2021 · 23 次引用
- The Last-Level Branch PredictorDavid Schall, Andreas Sandberg, Boris GrotMICRO 2024 · 10 次引用
- The Last-Level Branch Predictor RevisitedDavid Schall, Mária Duracková, Boris GrotHPCA 2026
- RUNLTS: Branch Prediction with Register-Value Correlations and Hierarchical Table OrchestrationToru Koizumi, Toshiki Maekawa, Masanari Mizuno, Maru Kuroki 等ISCA 2026
- Augmenting the Branch Predictor with a Squashed-Branch Reuse BufferRohit Singh, Jiayang Li, Eric RotenbergISCA 2026
