首页> 外国专利> Method, system, and computer program product for extending sparse partial redundancy elimination to support speculative code motion within an optimizing compiler

Method, system, and computer program product for extending sparse partial redundancy elimination to support speculative code motion within an optimizing compiler

机译:用于扩展稀疏部分冗余消除以在优化的编译器中支持推测性代码运动的方法,系统和计算机程序产品

摘要

A method, system, and computer program product for performing speculative code motion within a sparse partial redundancy elimination (PRE) framework. Speculative code motion (i.e., speculation) refers to the placement of computations by a compiler in positions in the program that results in some paths being executed more efficiently and some being executed less efficiently. A net speed-up is thus achieved when the improved paths are those executed more frequently during the program's execution. Two embodiments for performing speculative code motion within the PRE framework are presented: (1) a conservative speculation method used in the absence of profile data; and (2) a profile-driven speculation method used when profile data are available. In a preferred embodiment, the two methods may be performed within static single assignment PRE (SSAPRE) resulting in better optimized code.
机译:一种用于在稀疏部分冗余消除(PRE)框架内执行推测性代码运动的方法,系统和计算机程序产品。推测性代码运动(即推测)是指编译器将计算结果放置在程序中的位置中,从而导致某些路径执行效率更高,而某些路径执行效率较低。因此,当改进的路径是在程序执行期间更频繁执行的路径时,可以实现最终的网络加速。给出了用于在PRE框架内执行推测性代码运动的两个实施例:(1)在没有配置文件数据的情况下使用的保守推测方法; (2)有配置文件数据时使用的由配置文件驱动的推测方法。在一个优选的实施例中,这两种方法可以在静态单分配PRE(SSAPRE)内执行,从而产生更好的优化代码。

著录项

  • 公开/公告号US6151706A

    专利类型

  • 公开/公告日2000-11-21

    原文格式PDF

  • 申请/专利权人 SILICON GRAPHICS INC.;

    申请/专利号US19980097715

  • 发明设计人 RAYMOND LO;FREDERICK CHOW;

    申请日1998-06-16

  • 分类号G06F9/45;

  • 国家 US

  • 入库时间 2022-08-22 01:06:30

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号