Research on Intermediate Code Optimization in GCC
- Author
- ZhangDian
- Advisor
- LiLanYing
- School
- Harbin University of Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP314 Compiler,interpreter
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 218
- Citations
- 2
Abstract
The endless programming language, computer advances, resulting in a diversity of programming languages ??and computer, which has brought a heavy burden to the compiler of the structure. The emergence of the intermediate code will be optimized as far as possible be applied to the intermediate language, rather than applied to the high-level language or low-level language. Intermediate code optimization process consists of non-loop optimization and loop optimization of two parts. Data flow analysis is a non-circulating technology necessary to optimize the model, data flow analysis model, however, can not be incrementally modify the data stream, and therefore build incremental data flow analysis model to become a non-loop optimization techniques focus; other hand, the loop optimization, localized, and can improve the program to determine the ideal step length vector corresponding to the transformation matrix of a plurality of array access, however, if these transformations are the same matrix does not resolve conflicts measures computational complexity is very high. This article by the in-depth study of the data flow analysis techniques, the introduction of the control block decomposition flow diagram to build a control flow tree to determine the node in the back side and the circulation path in the flow diagram contained by these back side from the original flow diagram The elimination can build without circulating Figure simplified flow diagram data flow analysis. The control block flow diagram of the control relationship shifted to the newly constructed within the control flow tree control node. Control block decomposition algorithms converted to control flow tree process flow diagram, create a node does not exceed the number n, the control flow tree to solving path expressions, and no more than determine the back edge of time complexity O (nlogn). Further, using the sum of the weighted system matrix elements of each column to get a new vector, determine most of the array access in the nested loop sequence consistent order stored in a coarser granularity nested loop to improve the local and greatly reduces the computational complexity. The implementation mechanism of the GCC senior cycle transform the in-depth study to determine the main factors to affect the GCC advanced loop transformations GCC calculate the matrix transformation mechanism by using nested loops unified analytical framework to determine the ideal cycle hierarchy solve the GCC calculation matrix transformation mechanism drawback. Finally, performance evaluation data to GCC compiler based platform, the improved GCC compiler test, the test results show that: the improved GCC compiler loop transformation capabilities have improved better.
Related dissertations
- Research and Cases Study on Data Flow Analysis
- Studies on Data Locality and Compiler Optimization Techniques
- Research on Compiler Optimization Technologies for THUMP
- Research on Instruction Scheduling for IA-64
- Research and Implementation of the Autovectorization for YHFT-Matrix Complier
- Analysis of Hardware Fault Propagation in Programs and Research on Fault-tolerance Techniques
- The Gulf Regional Cooperation after the Cold War: a Regionalism Perspective
- A New Algorithm of Sound Source Localization Based on Special Acoustic Detection
- Technical Structure Analysis for Chinese Manufactured Goods Export to GCC
- Algorithm Research and Localization System Design of In-Tank Robot Based on Microphone Array
- Research on Technologies of User Access Behavior Check Based on Web Data Stream Analysis
- Research on Detecting Buffer Overflow in Binary Code
- Analyze and Transplant of GCC Compiler Based on the Platform of SPARC
- The Research and Implementation of Path Sensitive Methods Summary in DTS
- Research on Data Type Reconstruction in Decompilation
- The Design and Implementation of Testing Service System Based on Software Behavior Analysis
- An Integration of Several Data Flow Analysis Techniques for Program Verification
- Research on Software Debugging Techniques Based on the Combination of Machine Learning and Program Analysis
- Study on sound source localization algorithm based on time delay estimation
- Study on the construction of the six Gulf countries security from the perspective of Communitarianism