...
首页> 外文期刊>Computer architecture news >VPC Prediction: Reducing the Cost of Indirect Branches via Hardware-Based Dynamic Devirtualization
【24h】

VPC Prediction: Reducing the Cost of Indirect Branches via Hardware-Based Dynamic Devirtualization

机译:VPC预测:通过基于硬件的动态虚拟化降低间接分支机构的成本

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

获取外文期刊封面封底 >>

       

摘要

Indirect branches have become increasingly common in modular programs written in modern object-oriented languages and virtual-machine based runtime systems. Unfortunately, the prediction accuracy of indirect branches has not improved as much as that of conditional branches. Furthermore, previously proposed indirect branch predictors usually require a significant amount of extra hardware storage and complexity, which makes them less attractive to implement.rnThis paper proposes a new technique for handling indirect branches, called Virtual Program Counter (VPC) prediction. The key idea of VPC prediction is to treat a single indirect branch as multiple "virtual" conditional branches in hardware for prediction purposes. Our technique predicts each of the virtual conditional branches using the existing conditional branch prediction hardware. Thus, no separate storage structure is required for predicting indirect branch targets.rnOur evaluation shows that VPC prediction improves average performance by 26.7% compared to a commonly-used branch target buffer based predictor on 12 indirect branch intensive applications. VPC prediction achieves the performance improvement provided by at least a 12KB (and usually a 192KB) tagged target cache predictor on half of the examined applications. We show that VPC prediction can be used with any existing conditional branch prediction mechanism and that the accuracy of VPC prediction improves when a more accurate conditional branch predictor is used.
机译:间接分支在以现代面向对象语言编写的模块化程序和基于虚拟机的运行时系统中已变得越来越普遍。不幸的是,间接分支的预测精度没有条件分支的预测精度提高。此外,以前提出的间接分支预测器通常需要大量额外的硬件存储和复杂性,这使得它们的实施吸引力不大。本文提出了一种用于处理间接分支的新技术,称为虚拟程序计数器(VPC)预测。 VPC预测的关键思想是将单个间接分支视为硬件中的多个“虚拟”条件分支,以进行预测。我们的技术使用现有的条件分支预测硬件来预测每个虚拟条件分支。因此,不需要使用单独的存储结构来预测间接分支目标。rn我们的评估表明,与12个间接分支密集应用中基于预测器的常用预测器相比,VPC预测将平均性能提高了26.7%。 VPC预测实现了至少一半的已检查应用程序上至少有12KB(通常是192KB)标记的目标高速缓存预测值所提供的性能改进。我们表明,VPC预测可以与任何现有的条件分支预测机制一起使用,并且当使用更准确的条件分支预测器时,VPC预测的准确性会提高。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号