首页> 外文会议>Numerical Simulation of Optoelectronic Devices, 2004. NUSOD '04 >Instruction selection, resource allocation, and scheduling in the AVIV retargetable code generator
【24h】

Instruction selection, resource allocation, and scheduling in the AVIV retargetable code generator

机译:AVIV可重定位代码生成器中的指令选择,资源分配和调度

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

摘要

The AVIV retargetable code generator produces optimized machine code for target processors with different instruction set architectures. AVIV optimizes for minimum code size. Retargetable code generation requires the development of heuristic algorithms for instruction selection, resource allocation, and scheduling. AVIV addresses these code generation subproblems concurrently, whereas most current code generation systems address them sequentially. It accomplishes this by converting the input application to a graphical (Split-Node DAG) representation that specifies all possible ways of implementing the application on the target processor. The information embedded in this representation is then used to set up a heuristic branch-and-bound step that performs functional unit assignment, operation grouping, register bank allocation, and scheduling concurrently. While detailed register allocation is carried out as a second step, estimates of register requirements are generated during the first step to ensure high quality of the final assembly code. We show that near-optimal code can be generated for basic blocks for different architectures within reasonable amounts of CPU time. Our framework thus allows us to accurately evaluate the performance of different architectures on application code.
机译:AVIV可重定位代码生成器为具有不同指令集体系结构的目标处理器生成优化的机器代码。 AVIV针对最小代码大小进行了优化。可重定目标代码的生成需要开发启发式算法来进行指令选择,资源分配和调度。 AVIV同时解决了这些代码生成子问题,而大多数当前的代码生成系统都按顺序解决了它们。它通过将输入应用程序转换为指定在目标处理器上实现应用程序的所有可能方式的图形化(Split-Node DAG)表示形式来实现。然后,可以使用此表示形式中嵌入的信息来建立启发式分支定界步骤,该步骤可以同时执行功能单元分配,操作分组,寄存器组分配和调度。在第二步进行详细的寄存器分配时,第一步需要生成寄存器要求的估计值,以确保最终汇编代码的高质量。我们表明,可以在合理的CPU时间量内为不同体系结构的基本块生成接近最佳的代码。因此,我们的框架使我们能够准确地评估应用程序代码上不同体系结构的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号