期刊文献+

基于弱约束指派的DSP寄存器偶对分配算法研究

Research on DSP Register Pairs Allocation Algorithm with Weak Assigning Constraints
下载PDF
导出
摘要 在现代高性能数字信号处理器(DSP)中,许多指令把寄存器偶对作为操作数。为了优化寄存器偶对的使用,文中针对寄存器偶对的使用约束条件,提出了一种基于弱约束指派的DSP寄存器偶对分配算法。该算法在寄存器指派过程中优先指派空闲寄存器偶对给符号寄存器对。如果无法指派寄存器偶对给符号寄存器对,则指派两个不能组成寄存器偶对的寄存器。为了确保目标代码中寄存器偶对操作数最终获得的寄存器偶对符合寄存器偶对的使用约束条件,提供了一种指令操作数修正方法。采用6种经典的算法作为测试用例进行实验,结果表明所提算法的实验效果较好。 In modern high performance digital signal processors(DSP),many instructions regard register pairs as operands.To optimize register pair usage,this paper presents a register pairs allocation algorithm for DSP based on weak constraint assignment for the rules of using register pairs.In the process of register assignment,the priority of this algorithm is to assign idle register pairs to symbol register pairs.If it is not possible to assign register pairs to symbol register pairs,two registers that cannot be made up of a register pair are assigned.In order to ensure that the register pairs in the target code are consistent with the rules of register pairs,this paper provides an instruction operand correction method.This paper uses six classical algorithms as test cases.The experimental results show that the proposed algorithm is effective.
作者 唐镇 胡勇华 陆浩松 王书盈 TANG Zhen;HU Yong-hua;LU Hao-song;WANG Shu-ying(School of Computer Science and Engineering,Hunan University of Science and Technology,Xiangtan,Hunan 411201,China)
机构地区 湖南科技大学
出处 《计算机科学》 CSCD 北大核心 2021年第S01期587-595,共9页 Computer Science
基金 湖南省自然科学基金(2017JJ3087) 国家自然科学基金资(61308001,61872138)。
关键词 DSP 编译优化 全局寄存器分配 图着色方法 寄存器偶对 DSP Compiler optimization Global register allocation Graph coloring method Register pairs
  • 相关文献

参考文献3

二级参考文献14

  • 1Chaitin G J.Register allocation and spilling via graph coloring.In:Kathryn S.McKinley,ed.20 Years of the ACM SIGPLAN Conference on Programming Language Design and Implementation 1979-1999,A Selection.ACM,2004.66-74
  • 2Briggs P,Cooper K,Torczon L.Improvements to graph coloring register allocation.ACM Transactions on Programming Languages and Systems,1994,16(3):428-455
  • 3George L,Appel A W.Iterated register coalescing.ACM Transactions on Programming Languages and Systems,1996,18(3):300-324
  • 4Cooper K D,Simpson L T.Live range splitting in a graph coloring register allocator.In:Kai Koskimies,ed.Proceedings of the International Compiler Construction Conference,Lecture Notes in Computer Science 1383.Springer,1998.174-187
  • 5Briggs P,cooper K,Torczon L.Coloring register pairs.ACM Letters on Programming Languages and Systems,1992,1(1):3-13
  • 6Nickerson B R.Graph coloring register allocation for processors with multi-register operands.ACM SIGPLAN Conference on Programming Languages Design and Implementation,New York,1990
  • 7Smith M D,Holloway G.Graph-coloring register allocation for irregular architectures:[Technical report].Harvard University,2000
  • 8Runeson J,Nystrom S.Retargetable graph-coloring register allocation for irregular architectures.In:Andreas Krall,ed.Proceedings of Software and Compilers for Embedded Systems,7th International Workshop,LNCS 2826.Springer,2003.240-254
  • 9Smith M D,Ramsey N,Holloway G.A generalized algorithm for graph-coloring register allocation.In:William Pugh,Craig Chambers,eds.Proceedings of the ACM SIGPLAN Conference on Programming Languages Design and Implementation.ACM,2004.277-288
  • 10Goodwin D W,wilken K D.Optimal and near-optimal global register allocations using 0-1 integer programming.Software-Practice&Experience,1996,26(8):929-965

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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