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).
Type de document :
Communication dans un congrès
48th International Symposium On Microarchitecture, Dec 2015, Honolulu, United States. ACM, Proceeding of The 48th ACM-IEEE symposium on Microarchitecture,, pp.11, 2015
Liste complète des métadonnées

Littérature citée [30 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-01208347
Contributeur : André Seznec <>
Soumis le : vendredi 2 octobre 2015 - 14:21:24
Dernière modification le : mercredi 11 avril 2018 - 02:00:11
Document(s) archivé(s) le : dimanche 3 janvier 2016 - 10:50:01

Fichier

IMLI.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-01208347, version 1

Citation

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. ACM, Proceeding of The 48th ACM-IEEE symposium on Microarchitecture,, pp.11, 2015. 〈hal-01208347〉

Partager

Métriques

Consultations de la notice

528

Téléchargements de fichiers

707