...
首页> 外文期刊>International journal of parallel programming >Optimized Unrolling of Nested Loops
【24h】

Optimized Unrolling of Nested Loops

机译:优化展开嵌套循环

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

获取外文期刊封面封底 >>

       

摘要

Loop unrolling is a well known loop transformation that has been used in optimizing compilers for over three decades. In this paper, we address the problems of automatically selecting unroll factors for perfectly nested loops, and generating compact code for the selected unroll factors. Compared to past work, the contributions of our work include (i) a more detailed cost model that inclu- des register locality, instruction-level parallelism and instruction-cache consid- erations; (ii) a new code generation algorithm that generates more compact code than the unroll-and-jam transformation; and (iii) a new algorithm for efficiently enumerating feasible unroll vectors.
机译:循环展开是众所周知的循环转换,已在优化编译器中使用了三十多年。在本文中,我们解决了以下问题:自动选择完美嵌套循环的展开因子,并为选定的展开因子生成紧凑的代码。与过去的工作相比,我们的工作包括:(i)更详细的成本模型,其中包括寄存器局部性,指令级并行性和指令缓存考虑; (ii)一种新的代码生成算法,该算法生成的代码比展开和干扰转换更紧凑; (iii)一种有效枚举可行展开向量的新算法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号