Back to Search Start Over

Correct Wrong Path

Authors :
Godala, Bhargav Reddy
Ramesh, Sankara Prasad
Tibrewala, Krishnam
Pepi, Chrysanthos
Chacon, Gino
Kanev, Svilen
Pokam, Gilles A.
Jiménez, Daniel A.
Gratz, Paul V.
August, David I.
Publication Year :
2024

Abstract

Modern OOO CPUs have very deep pipelines with large branch misprediction recovery penalties. Speculatively executed instructions on the wrong path can significantly change cache state, depending on speculation levels. Architects often employ trace-driven simulation models in the design exploration stage, which sacrifice precision for speed. Trace-driven simulators are orders of magnitude faster than execution-driven models, reducing the often hundreds of thousands of simulation hours needed to explore new micro-architectural ideas. Despite this strong benefit of trace-driven simulation, these often fail to adequately model the consequences of wrong path because obtaining them is nontrivial. Prior works consider either a positive or negative impact of wrong path but not both. Here, we examine wrong path execution in simulation results and design a set of infrastructure for enabling wrong-path execution in a trace driven simulator. Our analysis shows the wrong path affects structures on both the instruction and data sides extensively, resulting in performance variations ranging from $-3.05$\% to $20.9$\% when ignoring wrong path. To benefit the research community and enhance the accuracy of simulators, we opened our traces and tracing utility in the hopes that industry can provide wrong-path traces generated by their internal simulators, enabling academic simulation without exposing industry IP.<br />Comment: 5 pages, 7 Figures, Submited to Computer Architecture Letters

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2408.05912
Document Type :
Working Paper