GCC代码优化技术的研究  被引量:6

Research on Code Optimization Technique of GCC

在线阅读下载全文

作  者:石博慧[1] 陈英[1] 

机构地区:[1]北京理工大学计算机科学与工程系,北京100081

出  处:《微机发展》2004年第8期67-70,共4页Microcomputer Development

摘  要:GCC是基于Linux下的开放源码的优化编译系统,可以接收多种高级源语言,广泛支持多平台操作系统。其代码优化机制,不仅能兼顾时间、空间效率,生成高质量的目标代码,而且具有很强的可移植性与可扩充性,是编译器优化研究的目标。通过对GCC的整体结构、优化策略、优化方法与关键技术、中间语言等进行详细的剖析,抽取出完整的GCC优化体系结构。文中集中探讨了GCC的优化策略和实现技术,首先从GCC优化体系的总体规划入手,着重分析了GCC的优化组织策略,设计、引入中间代码RTL的技巧和内涵,进一步研究了GCC所涉及的控制流分析技术、数据流分析技术的实现机制。GCC (GNU Compiler Collection)is an open source compiler system based on Linux. It is able to accept many kinds of high-level language and can support multi-operating system with perfect efficiency. Especially it has a particular optimization mechanism. Not only can it take time factors and space factors into account to generate high quality target codes,but also it has strong ability of replantation and expansion. All these are objects of research on compiler optimization. Through analyzing the structure, the optimization strategy, the optimization methods, key techniques and middle language in detail,can get the completed optimization system of GCC. The paper is focused on the optimization strategy and realization technique of GCC. First begin with the total plan of GCC's optimization system. Then place emphasis on analyzing the organization strategy of optimizer. Also pay attention on the design and meaning of using intermediate language-RTL. Furthermore,keep on researching the common realization mechanism in optimizer of GCC, such as control flow analysis technique and data flow analysis technique.

关 键 词:RTL 数据流分析 控制流分析 代码优化 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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