首页> 外文期刊>Concurrency and Computation >Compositional approach applied to loop specialization
【24h】

Compositional approach applied to loop specialization

机译:组合方法应用于循环专业化

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

An optimizing compiler cannot generate one best code pattern for all input data. There is no 'one optimization fits all' inputs. To attain high performance for a large range of inputs, it is therefore desirable to resort to some kind of specialization. Data specialization significantly improves the performance delivered by the compiler-generated codes. Specialization is, however, limited by code expansion and introduces a time overhead for the selection of the appropriate version. We propose a new method to specialize the code at the assembly level for loop structures. Our specialization scheme focuses on different ranges of loop trip count and combines all these versions into a code that switches smoothly from one to the other while the iteration count increases. Hence, the resulting code achieves the same level of performance than each version on its specific iteration interval. We illustrate the benefit of our method on the SPEC benchmarks with detailed experimental results.
机译:优化的编译器无法为所有输入数据生成一个最佳的代码模式。没有“一个最适合所有人”的输入。为了在大范围的输入中获得高性能,因此希望诉诸某种专业化。数据专业化显着提高了编译器生成的代码所提供的性能。但是,专业化受到代码扩展的限制,并为选择合适的版本带来了时间开销。我们提出了一种新方法来在循环结构的汇编级别上专门化代码。我们的专业化方案专注于循环跳闸计数的不同范围,并将所有这些版本组合为一个代码,该代码可在迭代次数增加的同时从一个平稳地切换到另一个。因此,在其特定的迭代间隔上,所得代码与每个版本实现的性能水平相同。我们通过详细的实验结果说明了我们的方法在SPEC基准上的好处。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号