Abstract

Current trends in modern out-of-order processors involve implementing deeper pipelines and a large instruction window to achieve high performance. However, as pipeline depth increases, the branch misprediction penalty becomes a critical factor in overall processor performance. Current approaches to handling branch mispredictions either incrementally roll back to in-order state by waiting until the mispredicted branch reaches the head of the reorder buffer, or utilize checkpointing at branches for faster recovery. Rolling back to in-order state stalls the pipeline for a significant number of cycles and checkpointing is costly.This paper proposes a fast recovery mechanism, called Eager Misprediction Recovery (EMR), to reduce the branch misprediction penalty. Upon a misprediction, the processor immediately starts fetching and renaming instructions from the correct path without restoring the map table. Those instructions that access incorrect speculative values wait until the correct data are restored; however, instructions that access correct values continue executing while recovery occurs. Thus, the recovery mechanism hides the latency of long branch recovery with useful instructions.EMR achieves a mean performance improvement very close to a recovery mechanism that supports checkpointing at each branch. In addition, EMR provides an average of 9.0% and up to 19.9% better performance than traditional sequential misprediction recovery on the SPEC2000 benchmark suite.


Original document

The different versions of the original document can be found in:

https://dl.acm.org/citation.cfm?id=1088156,
http://www.cs.mtu.edu/~soner/publications/ics-2005.pdf,
https://www.researchgate.net/profile/Soner_Oender/publication/221236023_Fast_branch_misprediction_recovery_in_out-of-order_superscalar_processors/links/0fcfd51277ba3c7c9c000000.pdf,
https://digitalcommons.mtu.edu/michigantech-p/889,
https://academic.microsoft.com/#/detail/2046210853
http://dx.doi.org/10.1145/1088149.1088156
Back to Top

Document information

Published on 01/01/2005

Volume 2005, 2005
DOI: 10.1145/1088149.1088156
Licence: CC BY-NC-SA license

Document Score

0

Views 0
Recommendations 0

Share this document

Keywords

claim authorship

Are you one of the authors of this document?