期刊文献+

一种局部寄存器分配的优化策略 被引量:6

AN OPTIMISATION STRATEGY FOR LOCAL REGISTER ALLOCATION
下载PDF
导出
摘要 寄存器作为机器硬件结构中有限的宝贵资源,使得寄存器分配技术成为编译器最为关键的优化技术之一。寄存器分配效率提高的关键在于如何最大限度地减少溢出带来的开销。针对这一问题,提出一种基于局部寄存器需求预估和胖点优化的局部寄存器分配优化策略,并在国产CPU SW1600的配套编译器SWCC上实现了该算法。实验表明,优化效果明显。 Register allocation has become one of the most important optimisation techniques for compiler when considering the register as the limited and valuable resources in hardware architecture of computer. The key to enhance the efficiency of register allocation relies on how to reduce to the greatest extent the costs incurred from overflow. To deal with it, we propose a local register allocation optimisation strategy, which is based on local register demand estimation and fat point optimisation. On SWCC compiler which is the complementary support to the homemade CPU SW1600, this algorithm is implemented. Experimental results show that its optimisation effect is evident.
出处 《计算机应用与软件》 CSCD 北大核心 2013年第12期215-217,254,共4页 Computer Applications and Software
关键词 寄存器分配 局部寄存器需求预估 胖点 SWCC Register allocation Local register demand estimation Fat point SWCC
  • 相关文献

同被引文献37

  • 1马湘宁,武成岗,唐锋,冯晓兵,张兆庆.二进制翻译中的标志位优化技术[J].计算机研究与发展,2005,42(2):329-337. 被引量:9
  • 2王国栋,侯朝焕.GCC在高性能微处理器DSP和CPU上的移植[J].计算机工程与设计,2005,26(4):891-892. 被引量:3
  • 3CETC38.BWDSPl00硬件用户手册[R].合肥:中国电子科技集团第三十八研究所,2011:1-2.
  • 4CETC38.BWDSPl00软件用户手册[R].合HE:中国电子科技集团第三十八研究所,2011:181-191.
  • 5SUI Y. Open64 introduction [ EB/OL]. [ 2015- 03- 17]. http:// www. cse. unsw. edu. au/- ysui/saber/open64, pdf.
  • 6Open64. Open64 compiler WHIRL intermediate representation [ EB/ OL]. [2015-03-17]. http://www, mcs. anl. gov/OpenAD/open64A. pdf.
  • 7Open64. Using the x86 Open64 compiler suite [ EB/OL]. [ 2015- 03-17]. http://amd-dev, wpengine, netdna-cdn, eom/wordpress/ media/2012/10/open64, pdf.
  • 8SIMD [ EB/OL]. [ 2015-03-17]. http://en, wikipedia, org/wiki/ SIMD.
  • 9CHENG G, LAM M S. An optimizer for multimedia instruction sets [ C/OL] // Proceedings of the 2nd SUIF Compiler Workshop. Stan- ford: Stanford University, 1997 [ 2015 - 01 - 16]. http://www- suif. stanford, edu/suifconf/suifcont2/.
  • 10KRALL A, LELAIT S. Compilation techniques for multimedia pro- cessors [ J]. International Journal of Parallel Programming, 2000, 28(4): 347 -361.

引证文献6

二级引证文献10

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部