首页> 外文会议>International Conference on Compiler Construction >Linear Scan Register Allocation in the Context of SSA from and Register Constraints
【24h】

Linear Scan Register Allocation in the Context of SSA from and Register Constraints

机译:SSA的上下文中的线性扫描寄存器分配和寄存器约束

获取原文

摘要

Linear scan register allocation is an efficient alternative to the widely used graph coloring approach. We show how this algorithm can be applied to register-constrained architectures like the Intel x86. Our allocator relies on static single assignment form, which simplifies data flow analysis and tends to produce short live intervals. It makes use of lifetime holes and instruction weights to improve the quality of the allocation. Our measurements confirm that linear scan is several times faster than graph coloring for medium-sized to large programs.
机译:线性扫描寄存器分配是广泛使用的图形着色方法的有效替代方案。我们展示了如何将该算法应用于像英特尔X86这样的寄存器约束架构。我们的分配器依赖于静态单分配表单,这简化了数据流分析,往往会产生短暂的实时间隔。它利用寿命孔和指示权重来提高分配的质量。我们的测量结果证实,线性扫描比中型为大程序的图形着色速度快几倍。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号