1 / 13

First Generation

1. Improving Branch Predictors by Correlating on Data Values 2. A Language for Describing Predictors and its Application to Automatic Synthesis. Input. PC. First Generation. Feedback. PC. history. Prediction. PC: CondJmpEq Ra , Rb , Target. Input. PC GBH (global branch history).

damon
Download Presentation

First Generation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 1. Improving Branch Predictors by Correlating on Data Values2. A Language for Describing Predictors and its Application to Automatic Synthesis

  2. Input PC First Generation Feedback PC history Prediction PC: CondJmpEq Ra, Rb, Target

  3. Input PC GBH (global branch history) PC GBH Prediction Improvement 1 Feedback history PC: CondJmpEq Ra, Rb, Target

  4. Input PC GBH Feedback PC GBH Improvement 2 history Prediction PC history Feedback PC: CondJmpEq Ra, Rb, Target

  5. Input Feedback PC GBH PC Prediction history GBH Improvement 3 PC: CondJmpEq Ra, Rb, Target Reduce table interference through more intelligent table indexing scheme.

  6. Input to the Predictor • PC, GBH • What else? • PC: CondJmpEq Ra, Rb, Target • Ra, Rb? • What is the main obstacle to this strategy? • Solution: predict the values of Ra and Rb. • Still impractical? • Solution: predict the difference between Ra and Rb. • Still impractical? • Solution: store only a few bits of the difference values.

  7. Branch Difference Predictor

  8. PC Rare Event Predictor REP PC value pattern counter Prediction GBH value pattern VHT PC: CondJmpEq Ra, Rb, Target

  9. Value Pattern Value Pattern = [Branch count, Branch difference]

  10. Experimental Results • REP • 6K bytes • VHT • BCT, 64 bytes • BDC, 100 bytes

  11. Discussion • BDP can be used with other predictors. • Why? • Significant improvement? • BDP removes 13% to 9% of the misprediction over gShare. • and 12% to 8% of the misprediction over Bi-Mode. • 1% of overall improvement? • Can BDP be applied to any architecture? • Set instructions in the MIPS-based SimpleScalar • BEQ Ra, Target in the Alpha family.

More Related