Analysis of branch prediction via data compression

被引:20
作者
Chen, ICK
Coffey, JT
Mudge, TN
机构
[1] EECS Department, University of Michigan, Ann Arbor, MI 48109-2122
关键词
D O I
10.1145/248209.237171
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Branch prediction is an important mechanism in modem microprocessor design. The focus of research in this area has been on designing new branch prediction schemes. In contrast very few studies address the theoretical basis behind these prediction schemes. Knowing this theoretical basis helps us to evaluate how good a prediction scheme is and how much we can expect to improve its accuracy. In this paper we apply techniques om data compression to establish a theoretical basis for branch prediction, and to illustrate alternatives for further improvement. To establish a theoretical basis, we first introduce a conceptual model to characterize each component in a branch prediction process. Then we show that current ''two-level'' or correlation based predictors are, in fact simplifications of an optimal predictor in data compression, Prediction by Partial Matching (PPM). If the information provided to the predictor remains the same, it is unlikely that significant improvements can be expected (asymptotically) from two-level predictors, since PPM is optimal. However, there are a rich set of predictors available from data compression, several of which can still yield some improvement in cases where resources are limited. To illustrate this, we conduct trace-driven simulation running the instruction Benchmark Suite and the SPEC CINT95 benchmarks. The results show that PPM can outperform a two-level predictor for modest sized branch talc get buffers.
引用
收藏
页码:128 / 137
页数:10
相关论文
共 28 条
[1]  
[Anonymous], 1991, P 24 ACM IEEE INT S
[2]  
[Anonymous], 1985, INTRO PROBABILITY MO
[3]  
Bell T. C., 1990, TEXT COMPRESSION
[4]  
CALDER B, 1994, P 6 INT C ARCH SUPP, P242
[5]  
CHANG PY, 1994, P 27 ANN INT S MICR, P22
[6]   DATA-COMPRESSION USING ADAPTIVE CODING AND PARTIAL STRING MATCHING [J].
CLEARY, JG ;
WITTEN, IH .
IEEE TRANSACTIONS ON COMMUNICATIONS, 1984, 32 (04) :396-402
[7]  
Curewitz K. M., 1993, P 1993 ACM SIGMOD IN, P257
[8]  
EUSTACE A, 1995, PROCEEDINGS OF THE 1995 USENIX TECHNICAL CONFERENCE, P303
[9]  
KRISHNAN P, 1994, P 5 ANN ACM SIAM S D
[10]  
KROEGER TM, 1996, P USENIX WINT TECHN