- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Limits of indirect branch prediction
Limits of Indirect Branch Prediction
Karel Driesen and Urs H?lzle
Department of Computer Science
University of California
Santa Barbara, CA 93106
Technical Report TRCS97-10
June 25, 1997
Abstract.
Indirect branch prediction is likely to become more important in the future because indi-
rect branches tend to be more frequent in object-oriented programs. With indirect branch prediction
misprediction rates of around 25% on current processors, such branches can incur a significant
fraction of branch misses even though indirect branches are less frequent than the more predictable
conditional branches. We investigate the predictability of indirect branches to determine whether
the inferior accuracy of the current indirect branch prediction mechanism (branch target buffers)
results from an intrinsic unpredictability of indirect branches or is caused by suboptimal branch
prediction hardware. Using programs from the SPECint95 suite as well as a suite of C++ applica-
tions, we show that prediction accuracy can exceed 95% on average for these benchmarks, assum-
ing an unlimited hardware budget. This result suggests that better indirect branch prediction hard-
ware can significantly outperform current branch target buffers.
1. Introduction
Indirect branches, which transfer control to an address (recently) stored in a register, are hard to
predict accurately. Unlike conditional branches, they can have more than two targets, so that
prediction requires a full 32-bit or 64-bit address rather than just a “taken” or “not taken” bit.
Furthermore, their behavior is often directly determined by data loaded from the heap, such as
virtual function pointers in object-oriented programs written in languages such as C++ and Java.
This behavior suggests that such indirect branches may represent a blind spot for branch prediction
strategies such as two-level branch prediction, which are driven by dynamic control flow informa-
tion.
Indirect branches are quite common in widely used
您可能关注的文档
- Human upper body pose estimation in static images.pdf
- I-ran-for-everybody-4.ppt
- I360_Customer_Furnished_Equipment_(CFE)_Guide.pdf
- IACS REQUIREMENTS CONCERNING FIRE PROTECTION.pdf
- IACS-Rec.47(2012版).pdf
- IAEA标准引导链接-2014.10.pdf
- ICAO’s Work on Aviation Environmental Protection.pdf
- icePubDLL揭秘20110713.pdf
- ICNIRP Statement - Protection of Workers against Ultraviolet Radiation.pdf
- IDB-ADOPT A Depth-First Search DCOP Algorithm.pdf
- Linearand q-LinearBirth-and-DeathProcesseswithKilling.pdf
- Libraries in the Cloud 2013.pptx
- LINUX第二章恢复root密码和静态IP配置.doc
- linux运维mysql.pdf
- LISCOS, Large Scale Integrated Supply Chain Optimization Software Based on Branch–and–Cut.pdf
- Littelfuse Power Protection Solution.pdf
- LME49860MANOPB,LME49860NANOPB,LME49860MAXNOPB,LME49860MABD,LME49860NABD, 规格书,Datasheet 资料.pdf
- Livescribe QuarterInchPrintableGraphpad3Edit-expanded.pdf
- Logic Cuts Generation in a Branch and Cut Framework for Location Problems.pdf
- LONGMAN_WELCOME_TO_ENGLISH.ppt
文档评论(0)