首页 | 官方网站   微博 | 高级检索  
     

基于Open64的Fortran90程序源源翻译
引用本文:高 伟,赵荣彩,姚 远,魏 帅.基于Open64的Fortran90程序源源翻译[J].计算机科学,2013,40(1):157-160.
作者姓名:高 伟  赵荣彩  姚 远  魏 帅
作者单位:(解放军信息工程大学信息工程学院 郑州450002)
基金项目:“核高基”国家科技重大专项(2009ZX01036)资助
摘    要:源源翻译是一种很有用的编译基础设施,它将高级语言程序转换为语义等价的可再编译的高级语言程序。目前Open64最新版本5.0中的Fortran90源源翻译还不是很完善,其中有两个突出问题:一是不支持动态数组的翻译;二是含有复杂数据结构的程序激进优化后,中间表示出现伪寄存器,源源翻译出错。在研究Open64的翻译流程和中间表示后,应用信息保存的翻译机制解决了动态数组的源源翻译问题和因为中间表示含有伪寄存器而造成的源源翻译错误的问题。测试结果表明,该方法增强了Open64的源源翻译处理能力。

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

Source to Source Translation of Fortran90 Based on Open64
GAO Wei,ZHAO Rong-cai,YAO Yuan,WEI Shuai.Source to Source Translation of Fortran90 Based on Open64[J].Computer Science,2013,40(1):157-160.
Authors:GAO Wei  ZHAO Rong-cai  YAO Yuan  WEI Shuai
Affiliation:(Institute of Information Engineering,PLA Information Engineering University,Zhengzhou 450002,China)
Abstract: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 intermediate representation 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.
Keywords:Open64  Source to source translation  Dynamic array  Pseudo-register  Fortran90
本文献已被 CNKI 等数据库收录!
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号