Optimized Technique of Instruction Scheduling on Godson-Ⅰ Compiler
- Author
- JiangZuo
- Advisor
- WuChengYong
- School
- Institute of Computing Technology
- Major
- Computer System Architecture
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 166
- Citations
- 1
- Compiler
- Godson-I processor
- machine model
- static instruction scheduling
- global delay slot scheduling
Abstract
Instruction scheduling is a very important phase in the back end of an optimized compiler. This thesis is based on the author’s work in developing an optimizing compiler for the Godson-I processor, which is a general purpose processor designed by the Institute of Computing technology and discusses three issues related to instruction scheduling: the machine model, the static instruction scheduling and the global delay slot scheduling.Machine model is designed to improve the flexibility and portability of compiler. It encapsulates the information of hardware and provides query interfaces to other components of the back end of an compiler. We discussed several kinds of machine models used in compilers like GCC and Pro64. Then we analyze the machine model of the Open Research Compiler (ORC). Finally we describe the method we use to port the machine model of ORC for the Godson-I processor. Static instruction scheduling decides the execution order of instructions and improves the instruction-level parallelism by reducing stall caused by dependences. We discuss the interactions between static and dynamic instruction scheduling and show that static instruction scheduling is beneficial even the hardware has dynamic scheduling. We also describe the framework of instruction scheduling in our compiler and present experimental results to show its performance.Godson-I processor uses delay slots to reduce the branch latency and penalty of branch mispredictions. It is important for our compiler to take advantage of delay slots effectively. We analyze the scope of delay slot scheduling, present a method to solve possible conflicts in global scheduling of delay slots and improve the selection of scheduling candidates. Then we present a algorithm of global delay slot scheduling. Experiment results show that our approach is effective and robust.
Table of contents
Summary 4-5
abstract 5-8
Chapter Introduction the 8-12
1.1 Godson I compiler framework Introduction 8-9
1.2 machine model 9-10
1.3 static instruction scheduling 10
1.4 global delay slot scheduling 10-11
the 1.5 paper tissue 11-12
Chapter II machine model 12-21
2.1 several existing machine model About 12-14
the 2.1.1 GCC machine model 12-13
2.1.2 Pro64, machine model 13-14
2.2 Godson I, compiler machine model 14-20
2.2.1 Godson I Introduction to Architecture the 14-15 2.2.2 ORC compiler
machine model Introduction 15-18
2.2.3 machine model of transplantation 18-20
2.3 Conclusion and Outlook 20-21
Chapter static instruction scheduling to 3.1 Background About 21-34
21-22
3.2 superscalar machine instruction scheduling 22-28
3.2.1 Godson I processor dynamic scheduling 23-25 ??
3.2. 2 Godson I in the importance of static instruction scheduling 25-28
3.3 instruction scheduling to achieve 28-32
3.3.1 The region's, structure 28-29 < br /> 3.3.2 scheduling region which determine the order of basic blocks the 29-30
3.3.3 SrcBB, selection 30
3.3.4 candidate instruction selection 30-31
3.3.5 to select the best candidate instruction 31
3.3.6 Resource detect and determine the emission instructions 31-32
3.3. 7 local instruction scheduling 32
3.4 Experimental results and analysis 32-33
3.5 Looking 33-34
Chapter global delay slot scheduling 34-41
4.1 Background 34
4.2 delay slot scheduling: Questions and strategy choice 34-39
4.2.1 delay slot the range of the scheduling 34-35
4.2.2 delay slot scheduling choice the 35-36
4.2.3 fill instruction related issues analysis and improvement 36-39
4.2.3.1 type of movement is filled with instructions and Countermeasures delay slots between 36-37
4.2.3.2 basic block scheduling conflicts and prevention of possible 37 - 38
4.2.3.3 candidates for the improvement of the scope of the Directive 38-39
4.3 global delay slot scheduling algorithm 39
4.4 experimental results and conclusions 39 - 40
4.5 Conclusions and future work outlook 40-41
Acknowledgements the
References 41-42 42-44
author Introduction nbsp published an article directory; 44
44
Related dissertations
- Research and Implementation of Key Technologies for YHFT-Matrix Compiler Based on GCC
- The Design and Implementation of a Complier for SCADA Based on C
- Backend Porting for CSKY Based on LLVM Compiler Infrastructure
- Establishment and Verification of the Timing and Power Consumption Model for the Embedded SRAM Compiler
- The Embedded SRAM Compiler Design and IP Verification
- Design and Implementation of SQL Compiler on Column-Oriented Database
- Design and Implementation of Configurable Compiling Tools
- The Optimized Frontend Compiling System Design for Remus Ⅱ Reconfigurable Processor
- A Self-Adapted Prolog Compiler
- The Design and Realization of Programming Device Based on the Type of STM8S208Single Chip Microcomputer as the Controller
- Research and Design of Digital Broadcast Platforms
- Automatic Platform for Parameterized Design of ASIP
- The design of embedded SRAM compiler
- Design and Implementation of Memory Compiler for Embedded SOC
- A Study on Preface of Selections of Novels in the Great Series of the New Literature 1917-1927
- Study on Virtual Instrumentation Development Environment Based on Dataflow Visual Programming Language
- Compiler Design for VLIW DSP with Performance and Power Consumption Optimizations
- Low-Power Techniques for Architecture and Compiler Optimization
- FPGA evaluation system layout module design
- The task scheduler Research multicore, multithreaded processors