首页>
外国专利>
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.
展开▼