Research and Implementation of Compiler Technology for TTA Processors
- Author
- LiuZhuangLi
- Advisor
- GuoZuo
- School
- Tianjin University
- Major
- Applied Computer Technology
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 17
- Citations
- 0
- Configurable Processor
- Transport Triggered Architecture (TTA)
- linear scan algorithm
- global registers allocation
- Compiler’s Optimization
Abstract
Since the configurable processor can be customized for a particular application, it has increasingly being used in the embedded system design. This thesis presents a method of the compiler back-end optimization for the configurable and extensible processors based on the Transport Triggered Architecture (TTA). The designs and implements of register allocation with linear scan algorithm in compiler optimization are explained. In addition, the thesis presents a new method of how to combine register allocation and instruction scheduling, and has made an implementation.At present, compiler for general-purpose processor has been able to generate very efficient code. But most of the compiler technology is only for a fixed structure. So it is a big challenge in code optimization for configurable processor, and it is also a difficult and important task for the application of configurable processor.Compiler especially its back-end design is the key of TTA processor being used widely. A compiler’s back-end optimizing design for TTA processor using linear scan algorithm is presented in this thesis. This algorithm has been used to accomplish global register allocation. The implemantation of this algorithm on TTA compiler has many advantages, such as high quality of code and easy implementation, etc. The advantages of this algorithm are especially obvious when source programs contain large number of variables competing for the limited number of registers for storage. In addition, the thesis presents the study of a series of optimization based on linear scan algorithm. Instruction scheduling is another important step in the compiler back-end design, and the processing sequence between register allocation and instruction scheduling is the key factors for compiler performance. The thesis also proposes a method of combining register allocation and instruction scheduling. By finding a balance point between instruction scheduling and register allocation which are restricted by each other, the quality of the code is impoved. This increases the overall efficiency of TTA compiler.Finally, the experimental results are analyzed and evaluated. And the summary and future prospects are given at the last part of the thesis.
Table of contents
The Chinese summary 3-4
ABSTRACT 4-7
first chapter 7-10
1.1 subject background 7-8
1.2 topics content 8-9
1.3 The structure of the paper 9-10
Chapter II TTA architecture and its compiler research transfer trigger system -23
2.1 10-13
2.1.1 TTA architecture operating mode and connection 10-11
2.1.2 TTA framework directive format 11-12
2.1.3 TTA architecture characteristics 12-13
2.2 can be configured to the scalable processor compiler optimization 13-20 < br /> 2.2.1 basic block and control flow analysis the 14-15 2.2.2 data flow analysis
15-17
2.2.3 instruction scheduling and data dependence analysis 17-19
2.2.4 register allocation and assignment 19-20
2.3 TTA the processor compiler framework 20-23
global register allocation based optimization algorithm 23-36
3.1 Related work 23
3.2 the linear scanning algorithms 23-27
3.2.1 model defined 24
3.2.2 algorithm described 24-25
3.2.3 Algorithm Improvement and Implementation the 25-27 3.3 algorithm optimization
nbsp the overflow stage software bypass; 27-35
3.3.1 27-28
3.3.2 lifecycle hole utilization 28-32
3.3.3 secondary distribution of opportunities nbsp 32-34
3.3.4 variable life cycle division; 34-35
3.4 Chapter Summary 35-36
Chapter the cooperation of register allocation and instruction scheduling optimization algorithm 36-47
4.1 analysis phase Sort 36-38
4.2 Related work 38-39 <br / > of 4.3 stages Sort variable life interval graphs 39-41
4.4 Cooperation algorithm description the 41-42 4.5 example shows
42-46 <br / > 4.6 Chapter Summary 46-47
Chapter experimental results and analysis 47-53
5.1 the experimental results of the linear scan algorithm 47-48
5.2 pairs of linear scanning algorithm to optimize the experimental results 48-51
5.3 Experimental results of the cooperative register allocation and instruction scheduling 51-52
5.4 Chapter Summary nbsp 52-53
Chapter Summary and Outlook; to References 53-55
55-59
released the papers and research note 59-60
Acknowledgements 60
Related dissertations
- Study and Implementation of Instruction Scheduling for Configurable TTA Compiler
- Compiler Design of Scalable and Configurable Processors
- Design and Implementation of Configurable Compiling Tools
- Astronomical Image Difference Algorithm Design and SOC Special Hardware Realization
- Research and Design A Configurable Processor for Elliptic Curve Cryptography Algorithm
- Research on Acceleration Mechanisms of Custom Instruction and Coprocessor
- A Dynamic Thread Scheduling Model for Heterogeneous Mpcore Based on Configurable Processor
- Design and Implement a Configurable Processor for AES Encryption
- Design and Implement a Configurable Processor for Image Processing