首页> 外国专利> Reducing instruction miss penalties in applications

Reducing instruction miss penalties in applications

机译:减少应用程序中的指令遗漏处罚

摘要

Embodiments include systems and methods for reducing instruction cache miss penalties during application execution. Application code is profiled to determine “hot” code regions likely to experience instruction cache miss penalties. The application code can be linearized into a set of traces that include the hot code regions. Embodiments traverse the traces in reverse, keeping track of instruction scheduling information, to determine where an accumulated instruction latency covered by the code blocks exceeds an amount of latency that can be covered by prefetching. Each time the accumulated latency exceeds the amount of latency that can be covered by prefetching, a prefetch instruction can be scheduled in the application code. Some embodiments insert additional prefetches, merge prefetches, and/or adjust placement of prefetches to account for scenarios, such as loops, merging or forking branches, edge confidence values, etc.
机译:实施例包括用于在应用执行期间减少指令高速缓存未命中惩罚的系统和方法。对应用程序代码进行分析以确定可能遇到指令高速缓存未命中罚款的“热”代码区域。可以将应用程序代码线性化为一组跟踪,其中包括热代码区域。实施例以相反的方式遍历跟踪,从而跟踪指令调度信息,以确定代码块所覆盖的累积指令等待时间在哪里超过预取可以覆盖的等待时间量。每当累积的等待时间超过预取可以覆盖的等待时间量时,就可以在应用程序代码中调度预取指令。一些实施例插入附加的预取,合并预取和/或调整预取的位置以解决诸如循环,合并或分叉分支,边缘置信度值等场景。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号