Trading conflict and capacity aliasing in conditional branch predictors

Author:

Michaud Pierre1,Seznec André1,Uhlig Richard2

Affiliation:

1. IRISA/INRIA, Campus de Beaulieu, 35042 Rennes, France

2. Intel Microcomputer Research Lab, Oregon and IRISA/INRIA, Campus de Beaulieu, 35042 Rennes, France

Abstract

As modern microprocessors employ deeper pipelines and issue multiple instructions per cycle, they are becoming increasingly dependent on accurate branch prediction. Because hardware resources for branch-predictor tables are invariably limited, it is not possible to hold all relevant branch history for all active branches at the same time, especially for large workloads consisting of multiple processes and operating-system code. The problem that results, commonly referred to as aliasing in the branch-predictor tables, is in many ways similar to the misses that occur in finite-sized hardware caches.In this paper we propose a new classification for branch aliasing based on the three-Cs model for caches, and show that conflict aliasing is a significant source of mispredictions. Unfortunately, the obvious method for removing conflicts --- adding tags and associativity to the predictor tables --- is not a cost-effective solution.To address this problem, we propose the skewed branch predictor, a multi-bank, tag-less branch predictor, designed specifically to reduce the impact of conflict aliasing. Through both analytical and simulation models, we show that the skewed branch predictor removes a substantial portion of conflict aliasing by introducing redundancy to the branch-predictor tables. Although this redundancy increases capacity aliasing compared to a standard one-bank structure of comparable size, our simulations show that the reduction in conflict aliasing overcomes this effect to yield a gain in prediction accuracy. Alternatively, we show that a skewed organization can achieve the same prediction accuracy as a standard one-bank organization but with half the storage requirements.

Publisher

Association for Computing Machinery (ACM)

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

1. Dynamic Set Stealing to Improve Cache Performance;2022 IEEE 34th International Symposium on Computer Architecture and High Performance Computing (SBAC-PAD);2022-11

2. Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications;2022 55th IEEE/ACM International Symposium on Microarchitecture (MICRO);2022-10

3. Hermes: Accelerating Long-Latency Load Requests via Perceptron-Based Off-Chip Load Prediction;2022 55th IEEE/ACM International Symposium on Microarchitecture (MICRO);2022-10

4. STBPU: A Reasonably Secure Branch Prediction Unit;2022 52nd Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN);2022-06

5. Survey of Transient Execution Attacks and Their Mitigations;ACM Computing Surveys;2021-06

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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