Neural methods for dynamic branch prediction

Author:

Jiménez Daniel A.1,Lin Calvin2

Affiliation:

1. Rutgers University, Piscataway, NJ

2. The University of Texas at Austin, Austin, TX

Abstract

This article presents a new and highly accurate method for branch prediction. The key idea is to use one of the simplest possible neural methods, the perceptron, as an alternative to the commonly used two-bit counters. The source of our predictor's accuracy is its ability to use long history lengths, because the hardware resources for our method scale linearly, rather than exponentially, with the history length. We describe two versions of perceptron predictors, and we evaluate these predictors with respect to five well-known predictors. We show that for a 4 KB hardware budget, a simple version of our method that uses a global history achieves a misprediction rate of 4.6% on the SPEC 2000 integer benchmarks, an improvement of 26% over gshare . We also introduce a global/local version of our predictor that is 14% more accurate than the McFarling-style hybrid predictor of the Alpha 21264. We show that for hardware budgets of up to 256 KB, this global/local perceptron predictor is more accurate than Evers' multicomponent predictor, so we conclude that ours is the most accurate dynamic predictor currently available. To explore the feasibility of our ideas, we provide a circuit-level design of the perceptron predictor and describe techniques that allow our complex predictor to operate quickly. Finally, we show how the relatively complex perceptron predictor can be used in modern CPUs by having it override a simpler, quicker Smith predictor, providing IPC improvements of 15.8% over gshare and 5.7% over the McFarling hybrid predictor.

Publisher

Association for Computing Machinery (ACM)

Subject

General Computer Science

Reference30 articles.

1. The perceptron: A model for brain functioning;Block H. D.;Rev. Mod. Phy.,1962

2. The SimpleScalar tool set, version 2.0

3. Evidence-based static branch prediction using machine learning

4. Cormen T. H. Leiserson C. E. and Rivest R. L. 1990. Introduction to Algorithms. McGraw-Hill New York. Cormen T. H. Leiserson C. E. and Rivest R. L. 1990. Introduction to Algorithms. McGraw-Hill New York.

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

1. Sectored DRAM: A Practical Energy-Efficient and High-Performance Fine-Grained DRAM Architecture;ACM Transactions on Architecture and Code Optimization;2024-09-14

2. Transient-Execution Attacks: A Computer Architect Perspective;ACM Computing Surveys;2023-10-06

3. A conditional branch predictor based on weightless neural networks;Neurocomputing;2023-10

4. Towards No Penalty Control Hazard Handling;2023 IEEE 66th International Midwest Symposium on Circuits and Systems (MWSCAS);2023-08-06

5. Hermes: Accelerating Long-Latency Load Requests via Perceptron-Based Off-Chip Load Prediction;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