首页> 外文会议>IEEE/ACM International Symposium on Code Generation and Optimization >Branch prediction and the performance of interpreters — Don't trust folklore
【24h】

Branch prediction and the performance of interpreters — Don't trust folklore

机译:分支预测和口译员的表现 - 不要相信民间传说

获取原文
获取外文期刊封面目录资料

摘要

Interpreters have been used in many contexts. They provide portability and ease of development at the expense of performance. The literature of the past decade covers analysis of why interpreters are slow, and many software techniques to improve them. A large proportion of these works focuses on the dispatch loop, and in particular on the implementation of the switch statement: typically an indirect branch instruction. Folklore attributes a significant penalty to this branch, due to its high misprediction rate. We revisit this assumption, considering state-of-the-art branch predictors and the three most recent Intel processor generations on current interpreters. Using both hardware counters on Has well, the latest Intel processor generation, and simulation of the IT-TAGE, we show that the accuracy of indirect branch prediction is no longer critical for interpreters. We further compare the characteristics of these interpreters and analyze why the indirect branch is less important than before.
机译:口译员已在许多背景下使用。他们以牺牲性能为代价提供便携性和易于发展。过去十年的文献涵盖了解释员慢的原因和许多改进它们的软件技术的分析。大部分作品侧重于调度循环,特别是在交换机语句的实现上:通常是间接分支指令。由于其误入歧途率高,民间传说将其归因于该分支的重大罚款。考虑到最先进的分支预测因子和当前解释器上的三代最近的英特尔处理器几代,我们重新审视这一假设。使用两个硬件计数器井井,最新的英特尔处理器生成和模拟IT-Tage,我们表明间接分支预测的准确性不再对口译员至关重要。我们进一步比较了这些口译员的特征,并分析了间接分支的原因不如以前重要。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号