Global acyclic instruction scheduling research

Author
YangShuZuo
Advisor
ZhangZhaoQing
School
Institute of Computing Technology
Major
Computer System Architecture
Classification
TP311.1 Programming
Degree
Doctoral dissertation
Year
2004
Downloads
75
Citations
0

Request the full text

Abstract

Instruction scheduling is kind of instruction level parallelism (ILP) technology. It is both a microarchitecture technology and a compilation technology. To be the later, Instruction scheduling refers to technology that exploits the ILP of pipelined or multiissued processors by reordering the instructions under the constraints of preserving the semantics. With the development of microarchitecture, state of art processors normally has ample resources. To get the full utilization of these resources, instruction scheduling should be performed across basic block’s boundary, viz. global instruction scheduling. This thesis performs a intensive study on acyclic global instruction scheduling — a branch of global instruction scheduling technology. Our contributions includes following aspects:1. Propose a global instruction scheduling framework oriented to IA-64 architecture. Our work is based upon D.Bernstein’s work which is oriented to superscalar.2. Based on D.Bernstein work, we propose a global instruction scheduling framework on hierarchically structured region(HSR). The scheduling scope for traditional global instruction scheduling is flat structured. A flat structured region is normally very small due to the fact that scheduler pose special requirements on the shape of scheduling region. On the other hand, a flat structured region can sometimes very large if the control flow is simple.HSR region has no such flaws, hence it deserve our effort to perform instruction scheduling on HSR.3. Integrate P-ready instruction scheduling to D.Bernstein’s instruction scheduling framework.4. Improve the heuristic of D.Bernstein’s global instruction scheduling. We are trying to improve the following 2 defects:(1)favor control equivalent code motion over speculative code motion, therefore suppress speculation;(2)Over estimate the cost of code duplication, and hence lost some optimization opportunities;(3)The code on critical path will be delayed due to the priority mechanism weighs Delaysum() more than DepHeight() .5. Propose a novel spanning tree scheduling (STS) algorithm, including 2 aspects: scheduling framework as well as its heuristic. If the control flow is non-linear, traditional global scheduling will confine themselves within a block in the evaluation of instruction’s priority. STS can evaluate instructions’ priority on a maximum spanning tree of the scheduling region. Because the scope is larger, the evaluation of STS is more

Table of contents

Chapter Introduction 13-25 1.1 compiler structure 13-15 1.2 instruction scheduling 15-16 1.3 Global instruction scheduling Summary of 16-21 1.3.1 trace scheduling 17-18 1.3.2 infiltration scheduling 18 1.3.3 regions scheduling 18 -19 1.3.4 of Bernstein Global scheduling 19-21 1.3.5 papers waves along the scheduling 21 1.4 Overview 21-25 < br /> 1.4.1 the IA-64 on the global instruction scheduling framework 22 1.4.2 hierarchical region on global scheduling 22-23 1.4.3 integration the P-ready scheduling 23 1.4.4-inspired approach improvements 23-24 1.4.5 Spanning Tree Scheduling 24-25 chapter two background knowledge 25-39 2.1 terminology 25-28 2.1.1 control flow and data flow 25-27 2.1.2 active information 27 2.1.3 beat-driven and order-driven 27-28 2.1.4 forward scheduling and backward scheduling 28 2.1. 5 Ready 28 2.1.6 a few commonly used commands priority function 28 2.2 instruction scheduling the movement concept 28-32 2.2.1 along all through the path of movement 29-31 2.2.2 The range of motion 31 2.2.3 instruction movement, dependencies and dynamic information 31-32 2.3 D.Bernstein scheduling algorithm 32-35 2.3.1 the M-ready 32 2.3.2 minimal delivery set SISS 32-33 2.3.3 Scheduling Framework 33-34 2.3.4 inspiration is 34-35 2.4 IA-64 system structure 35-39 2.4.1 directive beam and instruction set 35 2.4.2 Control speculation and data speculation 35-39 Chapter III of IA- 64 Global instruction scheduling framework 39-55 3.1 overall framework 39-42 3.1.1-stage timing 40-41 3.1 .2 scheduler structure 41-42 3.2-by-shot scheduling 42-47 3.2.1-by-shot scheduling 42-45 3.2. The two branches of the processing 45-47 3.3 re-named 47-52 3.3.1 When do I need to rename 47-48 3.3. 2 is not the need to rename 48-51 3.3.3 How to rename 51-52 3.4 to maintain an active information 52-53 3.5 Summary 53-55 Chapter IV on the level of regional global instruction scheduling 55-63 4.1 Overview 55 4.2 flat region and hierarchical regional 55-56 4.2.1 hierarchical regional advantages 55-56 4.2.2 hierarchical region structure is 56 4.3 Application hierarchical regional 56-61 4.3.1 access order 56-58 4.3.2 Control Flow deformation and optimization 58-59 <br / > 4.3.3 scheduling instructions across nested region 59-61 4.4 Summary 61-63 Chapter integrated P-ready scheduling 63-75 < br /> 5.1 P-ready scheduling 63-64 5.2 integrated the P-ready scheduling 64-72 5.2.1 identify the P-ready candidate instruction 64-65 5.2.2 calculate the location of the code compensation 65-66 5.2.3 maintain active 66-69 5.2.4 re-named 69-72 5.3 application of non-set optimization is delivery 72-73 5.4 Summary 73-75 Chapter VI heuristic methods improve 75-87 6.1 D.Bernstein inspiring shortcomings is 75-76 6.2 new priority function 76-82 <br / > 6.2.1 reach probability ReachProb () 78-80 6.2.2 function of SU () 80-82 6.2.3 from Priority quite directive elected higher priority 82 6.3 iterative scheduling 82-86 6.3.1 priority objectives of basic block instruction candidates shortcomings 82-83 <br / > 6.3.2 which need iterative scheduling 83-84 6.3.3 what circumstances can not be iterative scheduling 84-86 6.4 Summary 86-87 87-97 7.1 Introduction 87-91 7.1.1 local dependency height of defects in the seventh chapter of the spanning tree scheduling 87-89 <br / 7.1.2 calculate the global dependency a high degree of difficulty of 89-91 7.1.3 Our method 91 7.2 control flow of the maximum spanning tree 91 - 92 7.3 T-ready candidate instruction 92-93 7.4 Scheduling Framework 93 7.5 priority mechanism 93-95 7.5 .1 calculate the standardized dependent on height of 94-95 7.5.2 branch instruction, the special handling 95 7.6 Summary 95-97 Chapter VIII The experimental results 97-111 8.1 experimental platform and experimental methods 97-99 8.2 Experimental results 99-109 8.2.1 global scheduling the overall effectiveness of 99-100 8.2.2 application level region of validity 100 8.2.3 P-ready scheduling effectiveness 100-105 8.2.4 new heuristic method effectiveness 105 8.2.5 iteration scheduling the effectiveness 105-108 8.2.6 Spanning Tree Scheduling validity 108-109 8.3 acceleration of the spanning tree scheduling than 109-111 Chapter Conclusion 111-113 9.1 contribution and innovation 111 9.2 further research work 111-113 References 113-121 About 121

Related dissertations

  1. Research on Software Pipelining Techniques for EPIC Architectures
    LinHaiBo ·Tsinghua University ·2003 ·Doctoral dissertation
  2. Research on Completeness of Static Binary Translation and Analysis of Code
    WuWeiFeng ·PLA Information Engineering University ·2012 ·Doctoral dissertation
  3. Technology of Target C Code Generation and Optimization in IA-64 Binary Translation
    ZhuXiao ·PLA Information Engineering University ·2007 ·Master's thesis
  4. Parallel Algorithm Design and Optimization for H.264 Video Encoding
    JiangXingChang ·Shanghai Jiaotong University ·2008 ·Master's thesis
  5. Loop Realization and Optimization Based on X Stream Processor
  6. Research on Optimization of Software Pipelining for IA-64 Architecture
    LinZuoMin ·Tsinghua University ·2003 ·Master's thesis
  7. Design and Prototype Implementation of Cluster Communication System Based on Node Hardware Characteristic
    YangFeng ·Tsinghua University ·2006 ·Master's thesis
  8. Research of If-conversion Techniques Based on IA-64 Predicated Execution