Skip to Main content Skip to Navigation
New interface
Conference papers

The Inner Most Loop Iteration counter: a new dimension in branch history

André Seznec 1 Joshua San Miguel 2 Jorge Albericio 2 
1 ALF - Amdahl's Law is Forever
Inria Rennes – Bretagne Atlantique , IRISA-D3 - ARCHITECTURE
Abstract : The most efficient branch predictors proposed in academic literature exploit both global branch history and local branch history. However, local history branch predictor components introduce major design challenges, particularly for the management of speculative histories. Therefore, most effective hardware designs use only global history components and very limited forms of local histories such as a loop predictor. The wormhole (WH) branch predictor was recently introduced to exploit branch outcome correlation in multidimen-sional loops. For some branches encapsulated in a multidi-mensional loop, their outcomes are correlated with those of the same branch in neighbor iterations, but in the previous outer loop iteration. Unfortunately, the practical implementation of the WH predictor is even more challenging than the implementation of local history predictors. In this paper, we introduce practical predictor components to exploit this branch outcome correlation in multidimen-sional loops: the IMLI-based predictor components. The iteration index of the inner most loop in an application can be efficiently monitored at instruction fetch time using the Inner Most Loop Iteration (IMLI) counter. The outcomes of some branches are strongly correlated with the value of this IMLI counter. A single PC+IMLI counter indexed table, the IMLI-SIC table, added to a neural component of any recent predictor (TAGE-based or perceptron-inspired) captures this correlation. Moreover, using the IMLI counter, one can efficiently manage the very long local histories of branches that are targeted by the WH predictor. A second IMLI-based component, IMLI-OH, allows for tracking the same set of hard-to-predict branches as WH. Managing the speculative states of the IMLI-based pre-dictor components is quite simple. Our experiments show that augmenting a state-of-the-art global history predictor with IMLI components outperforms previous state-of-the-art academic predictors leveraging local and global history at much lower hardware complexity (i.e., smaller storage budget , smaller number of tables and simpler management of speculative states).
Document type :
Conference papers
Complete list of metadata

Cited literature [30 references]  Display  Hide  Download
Contributor : André Seznec Connect in order to contact the contributor
Submitted on : Friday, October 2, 2015 - 2:21:24 PM
Last modification on : Friday, December 9, 2022 - 12:20:41 PM
Long-term archiving on: : Sunday, January 3, 2016 - 10:50:01 AM


Files produced by the author(s)


  • HAL Id : hal-01208347, version 1


André Seznec, Joshua San Miguel, Jorge Albericio. The Inner Most Loop Iteration counter: a new dimension in branch history . 48th International Symposium On Microarchitecture, Dec 2015, Honolulu, United States. pp.11. ⟨hal-01208347⟩



Record views


Files downloads