利用m4定语言进行Fortran 77循环展开

被引:4
作者
张林波
机构
[1] 中国科学院计算数学与科学工程计算研究所!科学与工程计算国家重点实验室
关键词
编译系统; 宏命令; 宏语言; Fortran; 77; m4; 源程序; 软件; 循环变量; 应用程序; 应用软件; 步数; 循环嵌套; 浮点运算;
D O I
暂无
中图分类号
TP312 [程序语言、算法语言];
学科分类号
摘要
Do-loop unrolling is an effective technique for improving performance of applicistion programs. This paper presents a method for unrolling nested Fortran DO-loops using the m4 macro language. m4 is a macro processor widely available on UNIX platforms. By using carefully designed m4 macros, Do-loop unrolling becomes much simpler. More over, with this method, code can be written for general ullrolling parameters, allowing the program to be easily tuned bn different computers to reach optimal performance.
引用
收藏
页码:49 / 63
页数:15
相关论文
empty
未找到相关数据