首页> 外国专利> Integration of data prefetching and modulo scheduling using postpass prefetch insertion

Integration of data prefetching and modulo scheduling using postpass prefetch insertion

机译:使用后通过预取插入功能集成数据预取和模调度

摘要

The present invention integrates data prefetching into a modulo scheduling technique to provide for the generation of assembly code having improved performance. Modulo scheduling can produce optimal steady state code for many important cases by sufficiently separating defining instructions (producers) from using instructions (consumers), thereby avoiding machine stall cycles and simultaneously maximizing processor utilization. Integrating data prefetching within modulo scheduling yields high performance assembly code by prefetching data from memory while at the same time using modulo scheduling to efficiently schedule the remaining operations. The invention integrates data prefetching into modulo scheduling by postponing prefetch insertion until after modulo scheduling is complete. Actual insertion of the prefetch instructions occurs in a postpass after the generation of appropriate prologue-kernel-epilogue code. Concurrently, appropriate rules are employed to permit the co-existence of data prefetching instructions within the modulo scheduled code. The present invention also simplifies the addition of data prefetching capabilities to a compiler already capable of modulo scheduling.
机译:本发明将数据预取集成到模调度技术中,以提供具有改进性能的汇编代码的生成。通过充分地将定义指令(生产者)与使用指令(消费者)分开,模调度可以在许多重要情况下产生最佳的稳态代码,从而避免机器停顿周期并同时使处理器利用率最大化。通过从内存中预取数据,同时在模块调度中集成数据预取,可以生成高性能的汇编代码,同时使用模块调度来有效地调度其余操作。本发明通过将预取插入推迟到模调度完成之后,将数据预取集成到模调度中。预取指令的实际插入发生在生成适当的序言-内核-结尾代码之后的后传递中。同时,采用适当的规则以允许数据预取指令在模调度代码内共存。本发明还简化了向已经能够进行模调度的编译器增加数据预取功能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号