循环体间相关问题及改进的URPR软件流水方法  

LOOP-CARRIED DEPENDENCE AND THE IMPROVED URPR SOFTWARE PIPELINING APPROACH

在线阅读下载全文

作  者:苏伯珙[1] 王剑[1] 汤志忠[1] 

机构地区:[1]清华大学计算机科学与技术系,北京100084

出  处:《计算机学报》1992年第7期499-506,共8页Chinese Journal of Computers

基  金:国家自然科学基金

摘  要:本文首先在理论上分析了循环体间相关对软件流水的影响.提出了一个由循环本身性质决定的充分必要条件并证明了满足此条件的循环是可限制的,否则是不可限制的;其次我们证明了任意不可限制的循环展开K次后即可转换为可限制循环,K取决于循环本身的性质;最后给出了循环预处理算法和一个新的循环体压缩算法.实验结果表明,这两个算法可使URPR算法对任意循环都能得到最优时间效益并保持了良好的空间效益及低的计算复杂性.This paper first theoretically analyzes the influence of loop-carried dependen-ce on software pipelining, puts forward and proves a sufficient and necessary condition for distinguishing the two kinds of loops-restrictable and unrestrictable. Next, it proves that any unrestrictable loop can be transformed into a semantically equivalent restrictable loop by unrolling K times. K is determined by the number of operation pairs with loop-carried dependence within the original unrestrictable loop. Finally, a pre-processing algorithm and a new compaction algorithm for loop bodies are presented. The preliminary experimtnts show that with these two algorithms URPR can guarantee time optimal result for any loop in the absence of resource constraints and still keep the good space efficiency and low time complexity.

关 键 词:软件流水 循环 相关问题 

分 类 号:TP31[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象