软件流水的开销模型和决策框架  被引量:1

Cost Model and Decision Framework for Software Pipelining

在线阅读下载全文

作  者:李文龙[1] 林海波[1] 汤志忠[1] 

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

出  处:《软件学报》2004年第7期1005-1011,共7页Journal of Software

基  金:国家自然科学基金~~

摘  要:软件流水是一种重要的指令调度技术,它通过重叠地执行不同的循环体来提高指令级并行性(instructionlevelparallelism,简称ILP).模调度是一类被广泛采用的软件流水调度算法.软件流水并非一种无损的优化方法,它具有一定的开销,比如延长了编译时间、增加了寄存器压力等.而且,受到体系结构、调度算法以及程序特性的限制,进行软件流水并不一定能达到理想的加速比,有时反而会引起性能下降.提出了一种面向程序特性的软件流水开销模型,对此模型下的软件流水开销进行了量化分析,并提出了一种基于相关性分析的软件流水开销测试算法(dependencybasedcosttesting,简称DBCT),为软件流水决策提供了判断依据.实验结果表明,该算法收到了较好的效果.Software pipelining tries to improve the performance of a loop by overlapping the execution of several successive iterations. Modulo scheduling is a kind of widely used scheduling technique. The drawbacks of software pipelining, such as increased register pressure, would sometimes degrade the performance improvement that software pipelining gains. This kind of cost varies with the processor architecture, compiler optimization, and characteristics of programs. A program characteristics oriented cost model for software pipelining is proposed, and the cost is evaluated in some aspects. A dependency based cost testing (DBCT) algorithm is developed to provide information for the compiler to decide whether to apply software pipelining or not. Experimental results show that DBCT algorithm boosts performance greatly.

关 键 词:软件流水 开销模型 相关性分析 

分 类 号:TP338[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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