...
首页> 外文期刊>IEEE computer architecture letters >Dynamic Predication of Indirect Jumps
【24h】

Dynamic Predication of Indirect Jumps

机译:间接跳转的动态预测

获取原文
获取原文并翻译 | 示例

摘要

Indirect jumps are used to implement increasingly common programming language constructs such as virtual function calls, switch-case statements, jump tables, and interface calls. Unfortunately, the prediction accuracy of indirect jumps has remained low because many indirect jumps have multiple targets that are difficult to predict even with specialized hardware. This paper proposes a new way of handling hard-to-predict indirect jumps: dynamically predicating them. The compiler identifies indirect jumps that are suitable for predication along with their control-flow merge (CFM) points. The microarchitecture predicates the instructions between different targets of the jump and its CFM point if the jump turns out to be hardto-predict at run time. We describe the new indirect jump predication architecture, provide code examples showing why it could reduce the performance impact of jumps, derive an analytical cost-benefit model for deciding which jumps and targets to predicate, and present preliminary evaluation results.
机译:间接跳转用于实现越来越常见的编程语言结构,例如虚拟函数调用,切换语句,跳转表和接口调用。不幸的是,间接跳转的预测精度一直很低,因为许多间接跳转具有多个目标,即使使用专门的硬件也很难预测。本文提出了一种处理难以预测的间接跳转的新方法:动态地预测它们。编译器会识别适合谓词的间接跳转及其控制流合并(CFM)点。如果在运行时很难预测到跳转,则微体系结构会在跳转的不同目标及其CFM点之间确定指令。我们描述了新的间接跳转谓词体系结构,提供了代码示例,说明了为什么它可以减少跳转对性能的影响,推导了一种分析成本效益模型来确定哪些跳转和要确定的目标,并提供了初步评估结果。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号