Accurately modeling speculative instruction fetching in trace-driven simulation

被引:6
作者
Bhargava, R [1 ]
John, LK [1 ]
Matus, F [1 ]
机构
[1] Univ Texas, Dept Elect & Comp Engn, Austin, TX 78712 USA
来源
1999 IEEE INTERNATIONAL PERFORMANCE, COMPUTING AND COMMUNICATIONS CONFERENCE | 1999年
关键词
D O I
10.1109/PCCC.1999.749422
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Performance evaluation of modern, highly speculative, out-of-order microprocessors and the corresponding production of detailed, valid accurate results have become serious challenges. A popular evaluation methodology is trace-driven simulation which provides the advantage of a highly portable simulator that is independent of the constraints of the trace generation system. While developing and maintaining a trace-driven simulator is relatively easier than other alternatives, a primary drawback is the inability to accurately simulate speculative instruction fetching and subsequent execution. Fetching from an incorrect path occurs often in a speculative processor, however it a's difficult to capture this information in a trace. This paper investigates a scheme to accurately model instruction fetching within a trace-driven framework. This is accomplished by recreating an, approximate copy of the object code segment, which we call resurrected code, using a preliminary pass through the trace. We discuss a fast and memory-efficient method for implementing this resurrected code. In addition, we characterize UltraSPARC traces of C, C++, and Fortran programs generated using Shade to determine the potential of this method. Using these traces, and a modest branch predicting scheme, we find that in 14 of 16 cases more than 99% of all branches will find their target instruction in the resurrected code. furthermore, on these occasions, a large amount of consecutive instructions are available along the mispredicted path. These results indicate that the inaccuracies associated with speculative fetching ist trace-driven simulation can be significantly reduced using this resurrected code.
引用
收藏
页码:65 / 71
页数:7
相关论文
共 15 条
  • [1] Calibration of microprocessor performance models
    Black, B
    Shen, JP
    [J]. COMPUTER, 1998, 31 (05) : 59 - 65
  • [2] BOSE P, 1998, IEEE COMPUTER MAY, P19
  • [3] BURGER D, 1996, CSTR961308 U WISC
  • [4] CALDER B, 1994, CUCS69894 U COL
  • [5] CMELIK B, 1993, TR936 SMLI
  • [6] CMELIK RF, 1993, 9312 SMLI U WASH
  • [7] CONTE TM, 1995, FAST SIMULATION COMP
  • [8] COVINGTON RG, 1988, 1988 P ACM SIGMETRIC, P4
  • [9] DRIESEN K, 1996, OOPSLA 96, P306
  • [10] MCFARLING S, 1993, TN36 DIG W RES LABS