Font Size: a A A

Gcc Compiler System Architecture Analysis And Back-end Transplantation Practice

Posted on:2005-02-18Degree:MasterType:Thesis
Country:ChinaCandidate:J CaiFull Text:PDF
GTID:2208360122967491Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Development Environment of Embedded System has its own requirements. Some characteristic of Embedded System such as ROM based, aggressive demand of performance, etc. make those usually used compilers can't act as this role perfectly. GCC is a successful compiling system with optimization, which supports many high-level language and many platforms. It can be a good choice of compiler of Embedded System IDE.After listing some requirements of Embedded System Development Toolschain, this paper gives the advantage of using GNU based tools, and some information about GCC architecture. Through those analyses, we expected to know how we can do something to have the GCC compiler to fit our project.GCC has architecture as follow:1. Its Frontend interface is based on the tree structure. Additionally, the hook mechanism connects the language-specific front end and the GCC main body.2. All GCC optimization is performed on the RTL expressions. Its local optimization mechanism is its advantage, while its lake of architecture-specific optimization and weakness of global optimization has degradation its total generated code performance.3. Its backend interface is based on the RTL language. Developer can get the machine-specific backend just through define some machine information in three files. As practice, we have finished a GCC porting to MPC555. But it's a hard job, through it seems so easy.At last, this paper gives some information about the following work. It focuses on a developer friendly used GCC backend interface and some improvement on GCC optimization mechanism.
Keywords/Search Tags:Embedded System, Development Environment, Compiler, GCC, RTL, Porting, Optimization
PDF Full Text Request
Related items