標題: | Applying stack simulation for branch target buffers |
作者: | Shiu, RM Lu, NP Chung, CP 資訊科學與工程研究所 Institute of Computer Science and Engineering |
關鍵字: | branch target buffer;branch prediction;trace-driven simulation;single-pass simulation;stack simulation |
公開日期: | 15-五月-2000 |
摘要: | Branch target buffer (BTB) is widely used in modern microprocessor designs to reduce the penalties caused by branches. To evaluate the performance of a BTB, trace-driven simulation is often used. However, as the trace of a typical program is very large, the simulation time is often too long. To reduce the simulation time, we developed a stack simulation technique for BTB to evaluate many sets of design parameters in one simulation pass. Due to the fact that the prediction information in the BTB does not have the inclusion property - a property which makes the stack simulation work, we propose a state vector method to enumerate the prediction information for different sets of BTB design parameters to mimic the inclusion property. Simulation results show that the state vector method greatly reduces the simulation time. The speedup of the stack simulation for BTB proposed in this paper over the traditional BTB simulation is 4.68 in terms of simulation time when 13 sets of BTB design parameters are simulated in one simulation pass. (C) 2000 Elsevier Science Inc. All rights reserved. |
URI: | http://dx.doi.org/10.1016/S0164-1212(99)00133-8 http://hdl.handle.net/11536/30521 |
ISSN: | 0164-1212 |
DOI: | 10.1016/S0164-1212(99)00133-8 |
期刊: | JOURNAL OF SYSTEMS AND SOFTWARE |
Volume: | 52 |
Issue: | 1 |
起始頁: | 67 |
結束頁: | 78 |
顯示於類別: | 期刊論文 |