Improving the accuracy of static branch prediction using branch correlation
Improving the accuracy of static branch prediction using branch correlation
复制标题
使用分支相关性提高静态分支预测的准确性
DOI:
--
复制
发表时间:
1994
期刊:
影响因子:
--
通讯作者:
Michael D. Smith
中科院分区:
文献类型:
--
作者:
C. Young;Michael D. Smith
Recent work in history-based branch prediction uses novel hardware structures to capture branch correlation and increase branch prediction accuracy. We present a profile-based code transformation that exploits branch correlation to improve the accuracy of static branch prediction schemes. Our general method encodes branch history information in the program counter through the duplication and placement of program basic blocks. For correlation histories of eight branches, our experimental results achieve up to a 14.7% improvement in prediction accuracy over conventional profile-based prediction without any increase in the dynamic instruction count of our benchmark applications. In the majority of these applications, code duplication increases code size by less than 30%. For the few applications with code segments that exhibit exponential branching paths and no branch correlation, simple compile-time heuristics can eliminate these branches as code-transformation candidates.