BRANCH STRATEGIES - MODELING AND OPTIMIZATION

被引:10
作者
DUBEY, PK [1 ]
FLYNN, MJ [1 ]
机构
[1] STANFORD UNIV,DEPT ELECT ENGN,STANFORD,CA 94305
关键词
BRANCH PREDICTION; CONDITIONAL BRANCHES; DEGREE OF DEPENDENCY; INSTRUCTION DEPENDENCY; INSTRUCTION TRAFFIC; PIPELINING;
D O I
10.1109/12.93749
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Instruction dependency introduced by conditional branch instructions, which is resolved only at run-time, can have a severe performance impact on pipelined machines. A variety of strategies are in wide use to minimize this impact. Additional instruction traffic generated by these branch strategies can also have an adverse effect on the system performance. Therefore, in addition to the likely reduction a branch prediction strategy offers in average branch delay, resulting excess i-traffic can be an important parameter in evaluating its overall effectiveness. The objective of this paper is twofold: to develop a model for different approaches to the branch problem and to help select an optimal strategy after taking into account the additional i-traffic generated by branch strategies. The model presented provides a flexible tool for comparing different branch strategies in terms of the reduction it offers in average branch delay and also in terms of the associated cost of wasted instruction fetches. This additional criterion turns out to be a valuable consideration in choosing between two almost equally performing strategies. More importantly, it provides a better insight into the expected overall system performance. Simple compiler-support-based low implementation-cost strategies can be very effective under certain conditions. An active branch prediction scheme based on loop buffer can be as competitive as a branch-target-buffer based strategy.
引用
收藏
页码:1159 / 1167
页数:9
相关论文
共 18 条
[1]  
DeRosa J. A., 1987, 14th Annual International Symposium on Computer Architecture. Conference Proceedings (Cat. No.87CH2420-8), P10, DOI 10.1145/30350.30352
[2]  
Ditzel D. R., 1987, 14th Annual International Symposium on Computer Architecture. Conference Proceedings (Cat. No.87CH2420-8), P2, DOI 10.1145/30350.30351
[3]  
DUBEY P, 1990, CSL TR90411 COMP SYS
[4]  
DUBEY PK, 1990, J PARALLEL DISTR JAN, P10
[5]  
FCFARLING S, 1986, 13TH P ANN S COMP AR, P396
[6]  
FISHER JA, 1981, IEEE T COMPUT, V30, P478, DOI 10.1109/TC.1981.1675827
[7]  
GARCIA LC, 1980, IBM TECH DISCLOS B, V23
[8]  
GROBHOSKI GF, 1990, IBM RISC SA232619
[9]  
GROSS T, 1983, CSL TR83255 COMP SYS
[10]  
GROSS TR, 1986, 15TH PWORKSH MICR