首页> 外国专利> THROUGHPUT-AWARE SOFTWARE PIPELINING FOR HIGHLY MULTI-THREADED SYSTEMS

THROUGHPUT-AWARE SOFTWARE PIPELINING FOR HIGHLY MULTI-THREADED SYSTEMS

机译:适用于高度多线程系统的即插即用软件管道

摘要

Embodiments of the invention provide systems and methods for throughput-aware software pipelining in compilers to produce optimal code for single-thread and multi-thread execution on multi-threaded systems. A loop is identified within source code as a candidate for software pipelining. An attempt is made to generate pipelined code (e.g., generate an instruction schedule and a set of register assignments) for the loop in satisfaction of throughput-aware pipelining criteria, like maximum register count, minimum trip count, target core pipeline resource utilization, maximum code size, etc. If the attempt fails to generate code in satisfaction of the criteria, embodiments adjust one or more settings (e.g., by reducing scalarity or latency settings being used to generate the instruction schedule). Additional attempts are made to generate pipelined code in satisfaction of the criteria by iteratively adjusting the settings, regenerating the code using the adjusted settings, and recalculating whether the code satisfies the criteria.
机译:本发明的实施例提供了用于编译器中的吞吐量感知软件流水线化的系统和方法,以产生用于在多线程系统上执行单线程和多线程的最优代码。在源代码中将循环标识为软件流水线的候选者。尝试为循环生成流水线代码(例如,生成指令调度表和一组寄存器分配),以满足吞吐量感知的流水线标准,例如最大寄存器数,最小行程数,目标核心管道资源利用率,最大代码大小等。如果尝试未能满足标准,则实施例调整一个或多个设置(例如,通过减少用于生成指令调度表的标量或等待时间设置)。通过迭代调整设置,使用调整后的设置重新生成代码以及重新计算代码是否满足条件,还进行了其他尝试来生成满足条件的流水线代码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号