基于Open64的Fortran90程序源源翻译  

Source to Source Translation of Fortran90 Based on Open64

在线阅读下载全文

作  者:高伟[1] 赵荣彩[1] 姚远[1] 魏帅[1] 

机构地区:[1]解放军信息工程大学信息工程学院,郑州450002

出  处:《计算机科学》2013年第1期157-160,共4页Computer Science

基  金:"核高基"国家科技重大专项(2009ZX01036)资助

摘  要:源源翻译是一种很有用的编译基础设施,它将高级语言程序转换为语义等价的可再编译的高级语言程序。目前Open64最新版本5.0中的Fortran90源源翻译还不是很完善,其中有两个突出问题:一是不支持动态数组的翻译;二是含有复杂数据结构的程序激进优化后,中间表示出现伪寄存器,源源翻译出错。在研究Open64的翻译流程和中间表示后,应用信息保存的翻译机制解决了动态数组的源源翻译问题和因为中间表示含有伪寄存器而造成的源源翻译错误的问题。测试结果表明,该方法增强了Open64的源源翻译处理能力。Source to source translation is a very useful part in modern advanced compiler.It translates one programing language to another,which is equal in semantic and can be compiled again.Currently,source to source translation model of the latest Open64 version 5.0 is not consummate.It has to deal with the following two problems in source to source translation model.One problem is now it can't support dynamic array translation in Fortran90,the other problem is intermediate representation contains pseudo-register after aggressive optimizing.After translation process and intermediaterepresentation were researched,information preservation mechanism was introduced to solve the translation problem of dynamic array and pseudo-register.Test results prove that the method can greatly improve the robustness of the source to source translation in Open64.

关 键 词:Open64 源源翻译 动态数组 伪寄存器 FORTRAN90 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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