Iterative compilation optimization method based on program characteristic analysis

A technology of program features and optimization methods, applied in the fields of information technology and computer, which can solve the problems of less consideration of mutual influence, time-consuming, and low sensitivity of compilation options.

Active Publication Date: 2018-04-06
HUNAN UNIV
View PDF8 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, neither of these two methods can include each other, so only the search results corresponding to the search space can be given, and all optimization options cannot be considered.
[0006] To sum up, various optimization methods for iterative compilation are limited by their own characteristics. Machine learning methods take a lo

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Iterative compilation optimization method based on program characteristic analysis
  • Iterative compilation optimization method based on program characteristic analysis
  • Iterative compilation optimization method based on program characteristic analysis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0070] Such as figure 1 Shown is an iterative compilation optimization method based on program characteristic analysis, and Fig. 1 is a general flow chart of the present invention.

[0071] Step 1), the compilation options in the compiler are classified according to their functions;

[0072] Step 2), constructing a relational tree diagram for each compilation option according to the prescribed four relations;

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an iterative compilation optimization method based on program characteristic analysis. The method comprises the following steps that: S1: classifying compilation options in a compiler according to functions; S2: constructing a relational tree diagram; S3: carrying out dataset testing on a target program, and collecting and arranging testing results; S4: analyzing the testing results, and extracting the program characteristic and the calling relationship of the target program; S5: according to the program characteristics of the target program, finding a corresponding compilation option category, and forming an iterative search space; S6: in the iterative search space, taking the category as a basis to carry out local optimal search to obtain a global optimal solution; and S7: saving, and ending. By use of the method, program characteristic analysis is combined with a local search algorithm to fully consider an influence among all compilation options while the search space is greatly reduced. Compared with an existing method, the method disclosed by the invention can find an optimal compilation option sequence suitable for the target program.

Description

technical field [0001] This patent belongs to the field of information technology and computer, and in particular relates to an iterative compilation optimization method based on program feature analysis. Background technique [0002] Iterative compilation is a performance optimization method for high-performance architecture programs. It generates different versions of the program by transforming various optimization option sequences of the compiler, and selects the program version with the best performance by executing different versions of the program on the same platform. Due to the large number of compilation options in the compiler, the selection of the parameters of each compilation option, the implementation sequence and implementation times of the compilation pass, etc., a huge iterative space is generated; and the different optimization combinations formed in this iterative space Program versioning will incur a huge execution overhead. In order to reduce the over...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/41
CPCG06F8/443
Inventor 全哲乐雨泉林轩
Owner HUNAN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products