首页> 外文会议>International Conference on Parallel Architectures and Compilation Techniques;PACT >A Compiler Framework for Recovery Code Generation in General Speculative Optimizations
【24h】

A Compiler Framework for Recovery Code Generation in General Speculative Optimizations

机译:一般推测优化中用于恢复代码生成的编译器框架

获取原文

摘要

A general framework that integrates both control and data speculation using alias profiling and/or compiler heuristic rules has shown to improve SPEC2000 performance on Itanium systems. However, speculative optimizations require check instructions and recovery code to ensure correct execution when speculation fails at runtime. How to generate check instructions and their associated recovery code efficiently and effectively is an issue yet to be well studied. Also, it is very important that the recovery code generated in the earlier phases integrate gracefully in the later optimization phases. At the very least, it should not hinder later optimizations, thus, ensuring overall performance improvement. This paper proposes a framework that uses an if-block structure to facilitate check instructions and recovery code generation for general speculative optimizations. It allows speculative instructions and their recovery code generated in the early compiler optimization phases to be integrated effectively with the subsequent optimization phases. It also allows multi-level speculation for multi-level pointers and multi-level expression trees to be handled with no additional complexity. The proposed recovery code generation framework has been implemented in the Open Research Compiler (ORC).
机译:使用别名分析和/或编译器启发式规则将控制和数据推测集成在一起的通用框架已显示出可改善Itanium系统上的SPEC2000性能。但是,推测优化需要检查指令和恢复代码,以确保在运行时推测失败时正确执行。如何有效地生成检查指令及其相关的恢复代码是一个尚待研究的问题。同样,非常重要的一点是,在较早阶段生成的恢复代码必须在以后的优化阶段中恰当地集成。至少,它不应阻碍以后的优化,从而确保整体性能的提高。本文提出了一个框架,该框架使用if块结构来促进检查指令和恢复代码的生成,以进行一般的推测性优化。它允许在早期编译器优化阶段生成的推测性指令及其恢复代码与后续优化阶段有效集成。它还允许对多级指针和多级表达式树的多级推测,而不会增加额外的复杂性。提议的恢复代码生成框架已在Open Research Compiler(ORC)中实现。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号