Font Size: a A A

Smartlcc: Compiler For Embedded Systems Research And Development

Posted on:2007-06-30Degree:MasterType:Thesis
Country:ChinaCandidate:H P PanFull Text:PDF
GTID:2208360182993734Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the rapid development of embedded system headed by electronic automobile, communication and consumer, it spreads out a splendid future. At the same time, it offers the challenge of embedded system developing techniques especially the design of software.Without the bootstrapping capability, embedded systems always request a cross-platform development environment. And for the special feature including low power needs, compact code and fast running speed, the application software should be excellent designed and the development environment should be capable of optimization and power saving optimization. Secondly, there are many Kinds of computer architecture in embedded systems, that means the compiler for cross-platform development environment should be easy to retargeting.This thesis describes the porting of LCC on HCS12 and improvement on the front end and back end at its heart.The main work of this thesis can be generalized as following:Firstly, it explores many design and implementation techniques of several exsiting retargetable compilers. After borrowing ideas from these, it enforces the target machine architecture description of LCC and then improves it's retargetability.Secondly, it manages to retarget LCC to a new architecture "HCS12" which has few general purpose registers and 16-bit wide datapath. It execute many optimization methods on assembly level.Thirdly, it implements improved support for embedded system software develop and makes optimization of tail recursive call, register allocating and power saving.Fourthly, it integrats the compiler, the debugger and the user interface into a user-friendly Integrated Development Environment.At last, it tests and verifies the function of the compiler and compares with GNU GCC for HCS12 and a commercial compiler named "Codewarrior".The paper received fund from: National 863 support (2004AA1Z2180).
Keywords/Search Tags:LCC, Retargetability, energy Optimization, Embedded System, Compiler
PDF Full Text Request
Related items