Design and Implementation of a Porting Assistant System for Retargetable Compiler

Author
ZengZuo
Advisor
ChenHuiHuang , HongJingXin
School
Xiamen University
Major
Computer Applications
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2006
Downloads
127
Citations
2

Request the full text

Abstract

With the rapid development of information technology , information appliances , handheld devices , mobile communication equipment and other embedded products are more widely used , the development of embedded software and hardware become hot research topic . Most modern embedded systems with the operating system and a set of applications in order to achieve a complex function , the compiler generates these software systems . Linux-based embedded software systems development using the PC as the host , using a cross- compiler to compile the program running on the target platform is generated . It put forward higher requirements for the compiler : it is necessary to guarantee the high quality of the output code , but also has good portability . The GCC supports multi- language , multi- target compiler system in one of the most representative . In particular, its back-end has good portability has supported hundreds of hardware platforms based on 30 multiple processors . This is thanks to the abstract machine that it is a high-level overview of the intermediate language and dynamic description of the machine , as well as the open-source copyright . Although the GCC have great advantages in portability , but GCC transplantation is quite tedious work , you need to write long GCC machine description file . The core content is written in RTL languages ??, the machine easier to its analysis , reading and more difficult to write . This means that the manual porting GCC require a longer cycle , which in today 's environment of rapid technological update increasingly unable to meet the requirements . GCC transplantation in-depth research and analysis , and machine description internal technical emphasis on RTL visit . On this basis , the GCC auxiliary transplantation system to achieve a set of visual graphical interface . The input of the system is the user input through the program interface hardware features of the target platform and mapping of abstract machine with GCC GCC transplant machine description file , output can be used after procedures . The system is on the GCC auxiliary transplantation direction once bold and successful attempt GCC transplant efficiency . In addition, the system can also serve as an important part of the hardware and software co-design and ASIP design the software portion .

Table of contents

Abstract 4-5 Abstract 5-11 Chapter 1 Introduction 11-19 1.1 Background and topics sense 11 - 13 1.2 compiler backend generates the technical overview 13-16 1.3 This subject completed 16-17 1.4 papers organizational structure 17 -19 Chapter 2 compiler back-end technology introduced 19-31 2.1 intermediate representation 19-20 2.2 compiler analysis 20 -24 2.2.1 Control Flow Analysis 20-21 the 2.2.2 data flow analysis 21-22 2.2.3 data dependency analysis 22-23 2.2.4 alias 23-24 2.3 compiler optimization 24-31 2.3.1 pre-optimization 25 - 26 2.3.2 Redundancy delete 26-27 2.3.3 circulation optimize, 27 2.3.4 process optimization 27-28 2.3.5 register allocation are found; the 2.3.6 code scheduling 28-29 to control 29-30 2.3.7 streams and low-level optimization 30-31 < br /> Chapter 3 of the internal structure of the GCC compiler analysis the 31-43 3.1 GCC compiler. the structure and workflow 31-32 3.2 GCC compiler front-end 32-34 the 3.3 GCC compiler backend 34-43 3.3.1 the RTL languages ?? 34-36 3.3.2 GCC backend Overview 36-37 3.3.3 GCC target machine description are found; 37-40 3.3.4 machine description 40-41 3.3.5 the backend generation mechanism 41-43 Chapter 4 GCC cross-compiler transplantation research and auxiliary the transplant system design 43-65 the 4.1 GCC the traditional method of transplant analysis 43-50 4.1.1 machine.h file 43-47 4.1.2 machine.md file 47-50 4.1.3 machine.c file 50 the 4.2 GCC transplantation of formal analysis 50-56 4.3 GCC auxiliary the transplant system design 56-65 4.3.1 overall system functionality and design ideas 56-57 4.3.2 database module design 57 4.3.3 human-computer interface design 57-61 4.3.4 file export module design 61-63 4.3.5 Summary 63-65 Chapter 5 Auxiliary transplant system in the DLX-platform application and testing 65-77 5.1 DLX the 65-68 5.1.1 DLX architecture nbsp 65-66 5.1.2 DLX instruction sets; 66-68 5.2 integration testing and results analysis 68-77 the 5.2.1 testing program and process 68-69 the 5.2.2 test data, the results of its analysis 69-77 Chapter 6 Conclusion 77-79 6.1 summarizes 77-78 6.2 future 78-79 <br / References 79-83 the studying for a master's degree during papers published 83-85 studying for a master's degree during participation in the research project 85-87 <br / > Acknowledgements 87

Related dissertations

  1. Research and Implementation of the Autovectorization for YHFT-Matrix Complier
  2. Design of Embedded Linux Mobile Video Monitoring System Based on S3C2440
  3. The Design of6LoWOAN Gateway Based on Contiki
    YangYong ·Central China Normal University ·2013 ·Master's thesis
  4. On Transplant of the Educational Institution
    LongJing ·Sichuan Normal University ·2012 ·Master's thesis
  5. On the Perfection of the Legal System in the Human Organ Transplantation in China
    LiKaNa ·Dalian Maritime University ·2013 ·Master's thesis
  6. The Gulf Regional Cooperation after the Cold War: a Regionalism Perspective
    YuZhen ·Shanghai International Studies University ·2014 ·Doctoral dissertation
  7. The Experimental Research of Angiogenesis of Endothelial Rogenitor Cells Transplant in Rats with Acute Pancreatitis
    CuiZuo ·Luzhou Medical College ·2013 ·Master's thesis
  8. Transplantation Effects of iPMSCs Regulated by Conophylline via PI3K Pathway in Diabetic Mice
    LiDan ·Henan University of Technology ·2013 ·Master's thesis
  9. Analysis and Design on Elevator Intelligent Control System
  10. The Research and Design of a Parking Fee Collective System Based on ARM9
    QiuYiMin ·Anhui University of Engineering ·2013 ·Master's thesis
  11. A New Algorithm of Sound Source Localization Based on Special Acoustic Detection
  12. Technical Structure Analysis for Chinese Manufactured Goods Export to GCC
    RenMin ·Ningxia University ·2013 ·Master's thesis
  13. Embedded Control Module Designed for Vacuum Coating Device Based on ARM
    ZhaoChaoFeng ·Lanzhou Jiaotong University ·2013 ·Master's thesis
  14. The Call System Design of Ward Based on LM3S1138MCU
  15. Algorithm Research and Localization System Design of In-Tank Robot Based on Microphone Array
    ZuoSongHua ·Shanghai Jiaotong University ·2012 ·Master's thesis
  16. The Design of MIS Real-Time Control System
    LvYuJun ·Henan University of Technology ·2012 ·Master's thesis
  17. Research of Embedded Real-time Operating System MQX Application Framework
    SuYong ·Suzhou University ·2013 ·Master's thesis
  18. Design and implementation of AUTOSAR OS and TMS470 transplantation
  19. Analyze and Transplant of GCC Compiler Based on the Platform of SPARC
  20. Secondary Development and Transplant of11185System Editon Unification’s Supporting Reformation