André Seznec Caps Team IRISA/INRIA 1 The O-GEHL branch predictor Optimized GEometric History Length André Seznec IRISA/INRIA/HIPEAC.

Slides:



Advertisements
Similar presentations
Idealized Piecewise Linear Branch Prediction Daniel A. Jiménez Department of Computer Science Rutgers University and Departament d'Arquitectura de Computadors.
Advertisements

André Seznec Caps Team IRISA/INRIA 1 Looking for limits in branch prediction with the GTL predictor André Seznec IRISA/INRIA/HIPEAC.
H-Pattern: A Hybrid Pattern Based Dynamic Branch Predictor with Performance Based Adaptation Samir Otiv Second Year Undergraduate Kaushik Garikipati Second.
Revisiting Local History to Improve the Fused Two-Level Branch Predictor Yasuo Ishii (The University of Tokyo, NEC) Keisuke Kuroyanagi (The University.
Dynamic History-Length Fitting: A third level of adaptivity for branch prediction Toni Juan Sanji Sanjeevan Juan J. Navarro Department of Computer Architecture.
Hardware-based Devirtualization (VPC Prediction) Hyesoon Kim, Jose A. Joao, Onur Mutlu ++, Chang Joo Lee, Yale N. Patt, Robert Cohn* ++ *
Exploring Correlation for Indirect Branch Prediction 1 Nikunj Bhansali, Chintan Panirwala, Huiyang Zhou Department of Electrical and Computer Engineering.
Computer Science Department University of Central Florida Adaptive Information Processing: An Effective Way to Improve Perceptron Predictors Hongliang.
André Seznec Caps Team IRISA/INRIA Design tradeoffs for the Alpha EV8 Conditional Branch Predictor André Seznec, IRISA/INRIA Stephen Felix, Intel Venkata.
Yue Hu David M. Koppelman Lu Peng A Penalty-Sensitive Branch Predictor Department of Electrical and Computer Engineering Louisiana State University.
A PPM-like, tag-based predictor Pierre Michaud. 2 Main characteristics global history based 5 tables –one 4k-entry bimodal (indexed with PC) –four 1k-entry.
TAGE-SC-L Branch Predictors
Clustered Indexing for Conditional Branch Predictors Veerle Desmet Ghent University Belgium.
Neural Methods for Dynamic Branch Prediction Daniel A. Jiménez Calvin Lin Dept. of Computer Science Rutgers University Univ. of Texas Austin Presented.
EECS 470 Branch Prediction Lecture 6 Coverage: Chapter 3.
VLSI Project Neural Networks based Branch Prediction Alexander ZlotnikMarcel Apfelbaum Supervised by: Michael Behar, Spring 2005.
Branch Prediction. Literature Tse-Yu Yeh and Yale N. Patt, “A Comparison of Dynamic Branch Predictors that use Two Levels of Branch History,”Tse-Yu Yeh.
Combining Branch Predictors
1 Lecture 8: Branch Prediction, Dynamic ILP Topics: static speculation and branch prediction (Sections )
Prophet/Critic Hybrid Branch Prediction Falcon, Stark, Ramirez, Lai, Valero Presenter: Christian Wanamaker.
Perceptrons Branch Prediction and its’ recent developments
Neural Methods for Dynamic Branch Prediction Daniel A. Jiménez Department of Computer Science Rutgers University.
CS 7810 Lecture 6 The Impact of Delay on the Design of Branch Predictors D.A. Jimenez, S.W. Keckler, C. Lin Proceedings of MICRO
Evaluation of Dynamic Branch Prediction Schemes in a MIPS Pipeline Debajit Bhattacharya Ali JavadiAbhari ELE 475 Final Project 9 th May, 2012.
Optimized Hybrid Scaled Neural Analog Predictor Daniel A. Jiménez Department of Computer Science The University of Texas at San Antonio.
Improving the Performance of Object-Oriented Languages with Dynamic Predication of Indirect Jumps José A. Joao *‡ Onur Mutlu ‡* Hyesoon Kim § Rishi Agarwal.
1 Storage Free Confidence Estimator for the TAGE predictor André Seznec IRISA/INRIA.
Evaluation of the Gini-index for Studying Branch Prediction Features Veerle Desmet Lieven Eeckhout Koen De Bosschere.
1 A 64 Kbytes ITTAGE indirect branch predictor André Seznec INRIA/IRISA.
1 Two research studies related to branch prediction and instruction sequencing André Seznec INRIA/IRISA.
André Seznec Caps Team IRISA/INRIA 1 Analysis of the O-GEHL branch predictor Optimized GEometric History Length André Seznec IRISA/INRIA/HIPEAC.
1 A New Case for the TAGE Predictor André Seznec INRIA/IRISA.
1 Revisiting the perceptron predictor André Seznec IRISA/ INRIA.
Not- Taken? Taken? The Frankenpredictor Gabriel H. Loh Georgia Tech College of Computing MICRO Dec 5, 2004.
Predicting Conditional Branches With Fusion-Based Hybrid Predictors Gabriel H. Loh Yale University Dept. of Computer Science Dana S. Henry Yale University.
1 Register Write Specialization Register Read Specialization A path to complexity effective wide-issue superscalar processors André Seznec, Eric Toullec,
1 Register Write Specialization Register Read Specialization A path to complexity effective wide-issue superscalar processors André Seznec, Eric Toullec,
André Seznec Caps Team IRISA/INRIA 1 A 256 Kbits L-TAGE branch predictor André Seznec IRISA/INRIA/HIPEAC.
CS 6290 Branch Prediction. Control Dependencies Branches are very frequent –Approx. 20% of all instructions Can not wait until we know where it goes –Long.
Effective ahead pipelining of instruction block address generation André Seznec and Antony Fraboulet IRISA/ INRIA.
Idealized Piecewise Linear Branch Prediction Daniel A. Jiménez Department of Computer Science Rutgers University.
1 The Inner Most Loop Iteration counter a new dimension in branch history André Seznec, Joshua San Miguel, Jorge Albericio.
Branch Prediction Perspectives Using Machine Learning Veerle Desmet Ghent University.
André Seznec Caps Team IRISA/INRIA 1 Analysis of the O-GEHL branch predictor Optimized GEometric History Length André Seznec IRISA/INRIA/HIPEAC.
FAT predictor Sabareesh Ganapathy, Prasanna Venkatesh Srinivasan, Maribel Monica.
Fast Path-Based Neural Branch Prediction Daniel A. Jimenez Presented by: Ioana Burcea.
Samira Khan University of Virginia April 12, 2016
Multiperspective Perceptron Predictor Daniel A. Jiménez Department of Computer Science & Engineering Texas A&M University.
CSL718 : Pipelined Processors
Multilayer Perceptron based Branch Predictor
CS203 – Advanced Computer Architecture
Multiperspective Perceptron Predictor with TAGE
COSC3330 Computer Architecture Lecture 15. Branch Prediction
Dynamically Sizing the TAGE Branch Predictor
Samira Khan University of Virginia Dec 4, 2017
Exploring Branch Prediction
CMSC 611: Advanced Computer Architecture
Exploring Value Prediction with the EVES predictor
Looking for limits in branch prediction with the GTL predictor
15-740/ Computer Architecture Lecture 24: Control Flow
Sponsored by JILP and Intel’s Academic Research Office
Scaled Neural Indirect Predictor
Lecture 10: Branch Prediction and Instruction Delivery
TAGE-SC-L Again MTAGE-SC
Serene Banerjee, Lizy K. John, Brian L. Evans
Pipelining: dynamic branch prediction Prof. Eric Rotenberg
The O-GEHL branch predictor
Gang Luo, Hongfei Guo {gangluo,
Samira Khan University of Virginia Mar 6, 2019
Phase based adaptive Branch predictor: Seeing the forest for the trees
Presentation transcript:

André Seznec Caps Team IRISA/INRIA 1 The O-GEHL branch predictor Optimized GEometric History Length André Seznec IRISA/INRIA/HIPEAC

The O-GEHL branch predictor André Seznec Caps Team Irisa 2 What is classic  Global history based:  Yeh and Patt 91, Pan and So 91  Use of multiple history lengths:  McFarling 93, Evers et al. 96  Use an adder tree instead of a meta-predictor  Vintan and Iridon 99, Jimènez and Lin 01

The O-GEHL branch predictor André Seznec Caps Team Irisa 3 ∑ L(4) L(3) L(2) L(1) L(0) TO T1 T2 T3 T4 Multiple history length neural predictor

The O-GEHL branch predictor André Seznec Caps Team Irisa 4 GEometric History Length predictor The set of history lengths forms a geometric series {0, 2, 4, 8, 16, 32, 64, 128} What is important: L(i)-L(i-1) is drastically increasing

The O-GEHL branch predictor André Seznec Caps Team Irisa 5 Updating the predictor  Update on misprediction and under a threshold 8-bit counters and perceptron update threshold (29)  Would not have qualified for CBP-1 

The O-GEHL branch predictor André Seznec Caps Team Irisa 6 Dynamic update threshold fitting On an O-GEHL predictor, best threshold depends on  the application   the predictor size   the counter width  By chance for the best fixed threshold, updates on mispredictions ≈ updates on correct predictions Monitor both numbers and adapt the update threshold 8 components 8 bits counter would qualify for CBP-1

The O-GEHL branch predictor André Seznec Caps Team Irisa 7 Counter width on O-GEHL predictors  8 bits are just overkilling   4 bits are sufficient  Mixing 5 bits for short histories and 4 bits for long histories is slightly better  3 bits are not so bad !!

The O-GEHL branch predictor André Seznec Caps Team Irisa 8 Adaptative history length fitting (inspired by Juan et al 98) (½ applications: L(7) < 50) ≠ (½ applications: L(7) > 150 ) Let us adapt some history lengths to the behavior of each application  8 tables:  T2: L(2) and L(8)  T4: L(4) and L(9)  T6: L(6) and L(10)

The O-GEHL branch predictor André Seznec Caps Team Irisa 9 Adaptative history length fitting (2) Intuition:  if high degree of aliasing on T7, stick with short history Implementation:  monitoring of aliasing on updates on T7 through a tag bit and a counter Simple is sufficient:  Flipping from short to long histories and vice-versa

The O-GEHL branch predictor André Seznec Caps Team Irisa 10 ∑ L(4) L(3) or L(6) L(2) L(1) or L(5) L(0) TO T1 T2 T3 T4 Tag bits

The O-GEHL branch predictor André Seznec Caps Team Irisa 11 Information to be hashed  Address + conditional branch history:  path confusion on short histories   Address + path:  Direct hashing leads to path confusion  1.Represent all branches in branch history 2.Use also path history ( 1 bit per branch, limited to 16 bits)

The O-GEHL branch predictor André Seznec Caps Team Irisa 12 Configuration for CBP  8 tables:  2 Kentries except T1, 1Kentries  5 bit counters for T0 and T1, 4 bit counters otherwise  1 Kbits of one bit tags associated with T7 10K + 5K + 6x8K + 1K = 64K  L(1) =3 and L(10)= 200  {0,3,5,8,12,19,31,49,75,125,200}

The O-GEHL branch predictor André Seznec Caps Team Irisa 13 Hashing 200+ bits for indexing !!  Need to compute 11 bits indexes :  Full hashing is unrealistic 1.Just regularly pick at most 33 bits in: address+branch history +path history 2.A single 3-entry exclusive-OR stage

The O-GEHL branch predictor André Seznec Caps Team Irisa 14 A case for the OGEHL predictor (1)  High accuracy  Robustness to variations of history lengths choices:  L(1) in [2,6], L(10) in [125,300]  misp. rate < 1.04 x reference misp. rate  Geometric series: not a bad formula !!  best geometric L(1)=3, L(10)=223, REF-0.02 misp/KI  best overall {0, 2, 4, 9, 12, 18, 31, 54, 114, 145, 266} REF-0.04 misp/KI

The O-GEHL branch predictor André Seznec Caps Team Irisa 15 A case for the OGEHL predictor (2)  Reduce counter width by 1 bit: 49 Kbits  would have been a finalist  64 Kbits 4 components OGEHL predictor  would have been a finalist  50 Kbits 4 components OGEHL predictor (3-bit)  would have been a finalist  768 Kbits 12 components OGEHL predictor  2.25 misp/KI

The O-GEHL branch predictor André Seznec Caps Team Irisa 16 A case for the O-GEHL predictor (3)  O-GEHL predictor uses only global information  Can be ahead pipelined  Prediction computation logic complexity is low (The End)