The Study and Implementation of C Program Loop Characteristic Analysis Technology Based on SUIF2

Author
ChenGuiRong
Advisor
XuZuoZuo , ZuoYong
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP311.11 Programming method
Degree
Master's thesis
Year
2006
Downloads
77
Citations
3

Request the full text

Abstract

Program characteristic has been the key factor to the development of computer architecture and compiler technology. Research shows that multimedia applications and science computing are the main workload of personal computers, which occupy 90 percents of the whole computer workload and the proportion has been rising continually. Loop is the kernel of the two applications, which occupies 90 percents of the whole program running time. So computer architecture technology and compiler technology aiming to speed up loop execution become a new hot research direction.Loop characteristic is the base of loop optimizing in software and hardware. And research on the loop characteristic hiding in programs is imperative. As the size of software is becoming larger and larger, it has become impossible to analyze program though the way of reading program source code.The antomatization of program analysis is inevitable. In this paper, a C program loop characteristic analyzer-CLA(C Loop Analyzer) is designed and implemented based on SUIF2 compiler infrastructure, which is developed by Stanford University. Different from other traditional program analyzers, CLA implements the“Based on Intermediate Format”program analysis technique, which makes it can get program information though analyzing the intermediate format of object program but not its source code.In the design and implementation of CLA, the scheme of“Interfering and Independent”is adopted, which reduces the complexity and workload. CLA includes loop structure characteristic analyzer and data dependence analyzer, and the design and implementation of two parts introduced in detail.At the end of the paper, the test project of CLA is submitted. Outcome of the test shows that the CLA is designed logically, implemented effectively and works correctly.

Table of contents

Abstract 9-10 ABSTRACT 10-11 first chapter 11-18 1.1 program analysis of computer hardware and software design 11-13 1.1.1 program analysis on the structural design of computer systems 11-12 1.1.2 program analysis on compiler design 12-13 1.2 research background and significance 13-14 1.3 Research and technical challenges facing the 14-15 1.4 subjects the objectives and content 15-17 1.5 paper structure 17 1.6 thesis research 17-18 the second chapter of the program design and platform research 18-31 2.1 design 18-20 2.1.1 program analysis strategy 18-19 2.1.2 design ideas 19-20 2.2 design platform selection and 20-30 2.2.1 design platform choice 20-23 2.2.2 Design Platform 23-30 2.3 Summary 30-31 the third chapter of the the CLA overall design 31-35 3.1 CLA design ideas 31-32 3.2 CLA frame design 32-34 3.3 Summary 34-35 CLA cycle structure characteristics of the design and 35-52 4.1 basic loop shape of 35-37 4.2 loop abstraction and modeling 37-42 4.2.1 loop abstraction 37-39 4.2.2 cycle model 39 4.2.3 cycle, said 39-42 4.3 loop structure feature extraction and analysis 42-50 4.3.1 cyclic basic information extracted 42-44 4.3.2 loop-level characteristics of 44-46 4.3.3 simple loop identification 46-47 4.3.4 monolayer loop operator characteristic analysis 47-49 4.3.5 monolayer circulating library function call analysis 49-50 4.4 cycle classification based on structural features 50-51 4.5 Summary 51-52 CLA data dependence analysis and design 52-68 5.1 data dependencies 52-60 5.1.1 data dependent on the type of 52-55 5.1.2 Data Dependent Analysis Overview 55-56 5.1.3 Typical data dependent algorithm 56-60 5.2 data variables in the SUIF2 60-61 5.3 CLA data dependence analysis to achieve 61-67 5.3.1 rely on information extracted 61-64 5.3.2 dependency analysis 64-66 5.3.3 rely on analysis of sample 66-67 5.4 Summary 67-68 Chapter VI CLA testing and 68-78 6.1 test program 68-69 6.2 testing and results analysis 69-74 6.2.1 Test Case: loop structure characteristic analysis 69-72 6.2.2 Test Case 2: Data dependence analysis 72-74 6.3 applications CLA SPEC2000 74-77 6.4 Summary 77-78 Chapter VII Conclusion 78-80 7.1 full-text summary 78-79 7.2 Looking 79-80 thank 80-81 References 81-84 author academic achievements obtained during the study period, 84

Related dissertations

  1. Research on Dependence Analysis and Software Testing
    ZuoLi ·Hunan University ·2006 ·Doctoral dissertation
  2. Research on Static Analysis of Memory Errors in C Programs
  3. A Study on Code Optimization Method of eOLC Control Algorithm
  4. Study on Analysis of Peripheral Skin-homing CD8~+T Cells from Patients with Non-segmental Vitiligo and the Inhibition Effects of Apigenin on These Cells
    ZhangBaoXiang ·Dalian Medical University ·2013 ·Doctoral dissertation
  5. Strategy Research of the Process Optimization of the Workshop Job Based on TOC-MES
    ChenXiangWen ·Chengdu University of Technology ·2013 ·Master's thesis
  6. The Reconstruction and Hydraulic Simulation of the1700mm Hot Strip Mill Loop
    ZouZhongWen ·Northeastern University ·2012 ·Master's thesis
  7. The Role of Glucocorticoid Receptor Pathway in Mice Lipopenia Induced by Conjuated Linoleic Acid and Erhualian Pigs of High Cortisol Tolerance
    QuXiaoLi ·Henan Agricultural University ·2013 ·Master's thesis
  8. (β/α)8-barrel Protein Evolutionand Characteristic Analysis Based on Structure
    SongXinRui ·Beijing University of Technology ·2013 ·Master's thesis
  9. Research on Field Management about EMU Assembly Unit Based on LP
    MaTao ·Beijing Jiaotong University ·2012 ·Master's thesis
  10. Multiple Perspectives"You Are the One" Program Study
    ZhangHaiYan ·Shanxi University ·2012 ·Master's thesis
  11. A Study on Parallel Dependence Relations Decomposition of Programmable Logic Controller
  12. Key Technology Research of High-performance Programmable Logic Controller Based on FPGA
    LiXiaoHui ·Zhejiang University ·2012 ·Master's thesis
  13. A Data Placement Algorithm Based on Data Dependence
    DongWei ·China Jiliang University ·2013 ·Master's thesis
  14. Research on High Performance Optimization Algorithms of Database Query Based on CMP
    ChenYongHeng ·Jilin University ·2012 ·Doctoral dissertation
  15. An Integration of Several Data Flow Analysis Techniques for Program Verification
    XingYuChen ·Nanjing University ·2013 ·Master's thesis
  16. The Processing of External Enviroments in Symbolic Execution
  17. Comparison and Checking between Requrement Models and Programs for Behavioral Consistency
    LingXiang ·Wuhan University ·2013 ·Doctoral dissertation
  18. Research on Key Technologies of Improving the Accuracy of Static Defect Detecting
  19. Research on Points-to Analysis for Java
    LiZuo ·Nanjing University ·2012 ·Doctoral dissertation
  20. Research on Suspicious Program Analysis Technologies Based on Guidance of Control Flow Information
    YouChao ·PLA Information Engineering University ·2013 ·Master's thesis