Evidence-based static branch prediction using machine learning

Author:

Calder Brad1,Grunwald Dirk1,Jones Michael1,Lindsay Donald1,Martin James1,Mozer Michael1,Zorn Benjamin1

Affiliation:

1. Univ. of Colorado, Boulder

Abstract

Correctly predicting the direction that branches will take is increasingly important in today's wide-issue computer architectures. The name program-based branch prediction is given to static branch prediction techniques that base their prediction on a program's structure. In this article, we investigate a new approach to program-based branch prediction that uses a body of existing programs to predict the branch behavior in a new program. We call this approach to program-based branch prediction evidence-based static prediction , or ESP. The main idea of ESP is that the behavior of a corpus of programs can be used to infer the behavior of new programs. In this article, we use neural networks and decision trees to map static features associated with each branch to a prediction that the branch will be taken. ESP shows significant advantages over other prediction mechanisms. Specifically, it is a program-based technique; it is effective across a range of programming languages and programming styles; and it does not rely on the use of expert-defined heuristics. In this article, we describe the application of ESP to the problem of static branch prediction and compare our results to existing program-based branch predictors. We also investigate the applicability of ESP across computer architectures, programming languages, compilers, and run-time systems. We provide results showing how sensitive ESP is to the number and type of static features and programs included in the ESP training sets, and we compare the efficacy of static branch prediction for subroutine libraries. Averaging over a body of 43 C and Fortran programs, ESP branch prediction results in a miss rate of 20%, as compared with the 25% miss rate obtained using the best existing program-based heuristics.

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference28 articles.

1. The Perfect Club benchmarks: Effective performance evaluation of supercomputers;BERRY M.;Int. J. Supercomput. Appl.,1989

Cited by 45 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Program representations for predictive compilation: State of affairs in the early 20’s;Journal of Computer Languages;2022-12

2. Scalable Deep Learning-Based Microarchitecture Simulation on GPUs;SC22: International Conference for High Performance Computing, Networking, Storage and Analysis;2022-11

3. Improving GPU performance in multimedia applications through FPGA based adaptive DMA controller;International Journal of Pervasive Computing and Communications;2022-10-17

4. Studying and Understanding the Tradeoffs Between Generality and Reduction in Software Debloating;Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering;2022-10-10

5. OCOLOS: Online COde Layout OptimizationS;2022 55th IEEE/ACM International Symposium on Microarchitecture (MICRO);2022-10

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3