Design and Implementation of LEAP C Compiler
- Author
- LiBaoFeng
- Advisor
- ZhouXingMing , ZuoYong
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2003
- Downloads
- 70
- Citations
- 1
Abstract
Superscalar technology is the most mainstream computer architecture technology, but its complex control logic nature of the problem has become barriers to further enhance computer performance . Program analysis found that : for multimedia processing , and many other fields , the cyclic process is the core , almost occupy more than 90% of the program running time . Circular array processor (Loop Engine on Array Processors, LEAP) we propose a to accelerate new architecture model for circulation . LEAP simplified control logic, a substantial increase in on-chip design ideas effectively calculate the proportion of units to solve or a partial solution to the problem of the nature of the superscalar technology , can effectively improve the efficiency of the implementation of the cycle as the core application . Design and implementation of the LEAP compiler is an important prerequisite to verify the the LEAP correctness and validity of the necessary conditions , but also the application of LEAP technology . This paper describes the design and implementation of a the LEAP compiler (LEAP C Compiler, LEAP-CC) . LEAP - CC embedded streaming \analysis, and on this basis, a focus is given LEAP - CC in the detailed design of these three technologies and algorithms . In the end , we give the LEAP - CC of the test programs and test results . The results show that : LEAP - CC design is reasonable , effective and correct function .
Table of contents
Abstract 10-11
ABSTRACT 11-12
first chapter 12-18
§ 1.1 Background 12-13 < br /> § 1.2 topics are the main source of content and objectives 13-14
§ 1.3 research tool for analysis of election 14-17
§ 1.4 paper structure 17
§ 1.5 dissertation research 17-18
Chapter target code description 18-23
§ 2.1 LEAP Overview 18-19 < br /> § 2.2 object code - LEAP instruction set 19-21
§ 2.2.1 LEAP instruction format and function 19
§ 2.2.2 PE # domain format 19-20
§ 2.2.3 LD1/LD2/ST domain format 20
§ 2.2.4 COMPUTE domain format 20-21
§ 2.2 .5 CEC domain format 21
§ 2.3 LEAP instruction Set Summary 21-23
Chapter LCC intermediate representation of the program description 23-29
§ 3.1 LCC overall workflow 23
§ 3.2 LCC symbol table organization 23-25 ??
§ 3.2.1 notation 24
§ 3.2. 2 symbol table organization 24-25
§ 3.3 DAG organization 25-27
§ 3.3.1 DAG representation 25-26
§ 3.3. 2 DAG operator 26-27
§ 3.4 LCC intermediate representation organization 27-29
Chapter LEAP-CC overall design 29-32 <br / > § 4.1 LEAP-CO overall process design 29-30
§ 4.2 LEAP-CC module design 30-32
§ 4.2.1 LEAP-CC program flow design 30-31
§ 4.2.2 LEAP-CC module design 31-32
Chapter 5 Control related conversion data related to design and implementation 32-39 < br /> § 5.1 if conversion technology overview 32-35
§ 5.1.1 if conversion technology is the key point 32-33
§ 5.1.2 single if statement convert 33
§ 5.1.3 convert nested if statements 33-35
§ 5.2 typical if conversion algorithm 35-36
§ 5.3 LEAP-CC in if conversion design 36-37
§ 5.3.1 LCC analysis if statement 36-37
§ 5.3.2 LEAP-CC data structure design 37
§ 5.4 LEAP-CC in if conversion algorithm 37-39
Chapter VI design and implementation of data-flow analysis 39-51
§ 6.1 data flow Analysis Technical Overview 39-42
§ 6.1.1 program control flow graph 39-40
§ 6.1.2 structured program data flow analysis 40 -42
§ 6.2 LEAP-CC data flow analysis process design 42-45
§ 6.2.1 LCC intermediate representation of the data in the existing form of 43-44
§ 6.2.2 data Representation 44-45
§ 6.3 LEAP-CC data flow analysis to achieve 45-51
§ 6.3.1 the introduction of the temporary variable timing 45-46
§ 6.3.2 traversal order 46
§ 6.3.3 reduction rule 46-48
§ 6.3.4 algorithm 48-51
Chapter VII of the analysis of data related to design and implementation 51-59
§ 7.1 data correlation analysis 51-53
§ 7.1.1 data related types 51-52
§ 7.1.2 data related analytical techniques outlined 52-53
§ 7.2 typical data correlation analysis algorithm 53-57 <br / > § 7.3 LEAP-CC data related to analysis and design 57-58
§ 7.4 LEAP-CC data correlation analysis to achieve 58-59
Chapter VIII of the tests and results analysis 59-64
§ 8.1 programming model and procedures agreed 59
§ 8.2 testing program 59-60
§ 8.3 testing and results analysis 60-64
§ 8.3.1 test Case one : if conversion 61
§ 8.3.2 test case II: data flow analysis and data correlation analysis 61-62
§ 8.3.3 test case 3: data-related analysis and code generation 62-64
Chapter Summary 64-66
Thank 66-67
References 67-70
Appendix : master's thesis and publications published during translation situation 70
Related dissertations
- Design and Test Research of Agricultural Aviation Electrostatic Sprayer
- Virtual Design for the Cutting Device of the Sugarcane Harvester
- Experimental Study on Pulling Mechanism of Tobacco Stem Puller
- Desgin of Side Suspension Chinese Artichoke Combine Harvester
- Model Selection and Design of the Value Added Tax of China’s Financial Industry
- Research on the Responsibility Cost Management Reports Systems
- Marketing Program Design on Changbaishan International Hotspring Hotel
- SG New Energy Enterprise Quality Management Model Research
- The Research of the Redesign of Performance Appraisal System for XY Company
- Improvement on Compensation System in Gaoke Company
- TDY Company Compensation System Design
- The Research of Salary Incentive Model of the Enterprise Z Based on Lao-tzu’s Taoism
- SY Corporation Agent Assessment System Design Research
- Study on AD Trading Company Internal Control System
- The transformation and upgrading of enterprises in the human resources allocation of -YT twelve. Analysis of five human resource planning
- C Bank Employee Incentive System Designed Research
- Research on performance management system of RFSY with KPI as the core
- Payment System Design of F Financial and Consulting Company
- Research and analysis of the human resources information administrator of 4C company.
- The Research on Performance Management Optimization Chenzhou Tiantai Breaking Leaf Tobacco Co.,LID.