首页> 外文期刊>Software >Partial dead code elimination on predicated code regions
【24h】

Partial dead code elimination on predicated code regions

机译:谓词代码区域的部分死代码消除

获取原文
获取原文并翻译 | 示例
           

摘要

This paper presents the design, implementation and experimental evaluation of a practical region-based partial dead code elimination (PDE) algorithm on predicated code in the Open Research Compiler framework. Existing PDE algorithms are not applicable on predicated code due to the existence of if-converted branches in the program. The proposed algorithm processes all PDE candidates in a worklist and considers their partial deadness using predicate partition graphs. Our algorithm operates uniformly on individual hyperblocks as well as regions comprising of basic blocks and hyperblocks. The result of applying our algorithm to a single-entry multiple-exit (SEME) region is optimal: partially dead code cannot be removed without changing the branching structure of the program or potentially introducing new predicate defining instructions. We present statistical evidence about the PDE opportunities in the 17 SPEC95 and SPEC00 integer benchmarks. Our algorithm achieves performance improvements in 12 out of the 17 benchmarks on an Itanium machine at small compilation overheads. Our results indicate that our algorithm can be used as a practical pass before instruction scheduling.
机译:本文介绍了在Open Research Compiler框架中基于谓词的实用的基于区域的局部死代码消除(PDE)算法的设计,实现和实验评估。由于程序中存在if转换的分支,因此现有的PDE算法不适用于谓语代码。提出的算法处理工作列表中的所有PDE候选对象,并使用谓词分区图考虑其部分失效。我们的算法在单个超级块以及由基本块和超级块组成的区域上统一操作。将我们的算法应用于单项多次退出(SEME)区域的结果是最佳的:如果不更改程序的分支结构或可能引入新的谓词定义指令,则无法删除部分无效的代码。我们在17个SPEC95和SPEC00整数基准中提供有关PDE机会的统计证据。在Itanium计算机上,我们的算法在17个基准测试中的12个中以较小的编译开销实现了性能改进。我们的结果表明,我们的算法可以用作指令调度之前的实践。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号