Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Dependency mesh based instruction-level parallel scheduling method

A scheduling method and instruction-level technology, applied in the field of compilation optimization, can solve the problems of not reflecting the correlation, not reflecting the relationship between instructions and functional units in real time, and not showing other correlations between instructions, so as to achieve the effect of improving parallelism

Active Publication Date: 2015-06-10
NAT UNIV OF DEFENSE TECH
View PDF8 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005]1) Although this method describes the data dependencies between instructions, it does not show other correlations between instructions, especially those related to the target system hardware. Therefore, the correlation between the instruction and the hardware structure cannot be determined during the execution scheduling process;
[0006]2) For the VLIW (Very Long Instruction Word, very long instruction word) architecture of the multi-function unit, because this method cannot reflect the difference between instructions due to different functional units Therefore, this method is not suitable for using more aggressive or forward-looking instruction rearrangement technology in the VLIW architecture, and it is not conducive to more fully exploring the basic block instructions brought by the architectural features. Inter-parallelism;
[0007]3) For the VLIW architecture of multifunctional units, since this method cannot reflect the real-time workload of each functional unit, it cannot also reflect in real time between instructions, instructions and The relationship between functional units, so when some instructions can be executed in any one of multiple functional units, this method cannot be combined with functional unit allocation to make instruction scheduling produce more architecture-appropriate optimization results

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
  • Dependency mesh based instruction-level parallel scheduling method
  • Dependency mesh based instruction-level parallel scheduling method
  • Dependency mesh based instruction-level parallel scheduling method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The present invention will be further described below in conjunction with the accompanying drawings and specific preferred embodiments, but the protection scope of the present invention is not limited thereby.

[0041] Such as figure 1 As shown, this embodiment is based on a grid-dependent instruction-level parallel scheduling method, and the steps include:

[0042] 1) Obtain the data dependency relationship between instructions in the target basic block and the information of the functional unit corresponding to each instruction, set and calculate the data dependency priority value of each instruction according to the data dependency relationship;

[0043] 2) Divide each instruction according to the data dependency priority value and functional unit, store the divided results in the form of a grid, and establish a dependency grid to obtain the dependency relationship between the instruction and data dependency priority, and the functional unit;

[0044] 3) According t...

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 a dependency mesh based instruction-level parallel scheduling method. The method includes the steps of 1), acquiring data dependency relations among instructions in a target basic block and information of function units corresponding to the instructions, and setting and computing data dependency priority values of the instructions according to the data dependency relations; 2), partitioning the instructions according to the data dependency priority values and the function units, storing partitioned results according to a mesh form, and establishing dependency meshes obtaining dependency relations between the instructions and data dependency priorities as well as between the instructions and the function units; 3), performing parallelism analysis among the instructions according to the relations, in the dependency meshes obtained in the step 2, between the instructions and the data dependency priorities as well as between the instructions and the function units. The dependency mesh based instruction-level parallel scheduling method has the advantages that the method is capable of describing parallel relations among the instructions and relativity between the instructions and hardware structures by combining the data dependency relations and function unit allocation relations, and is simple in implementation, wide in application range and high in instruction-level parallelism.

Description

technical field [0001] The invention relates to the technical field of compilation optimization, in particular to an instruction-level parallel scheduling method based on dependency grid description. Background technique [0002] In a basic block, one of the most basic associations between instructions is the data dependency constraint caused by the data flow, which determines the running result of the program. In modern pipeline processors and superscalar processors, instruction rearrangement can be used to increase code parallelism to take advantage of advanced architectures, but this instruction rearrangement technology needs to be based on understanding the parallelism between instructions in basic blocks can be carried out on the basis of Therefore, before or during instruction rearrangement, an important task is to identify the parallelism among instructions in a basic block. [0003] In the prior art, the basic method for rearranging the instructions in the basic bl...

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): G06F9/38
Inventor 陈书明胡勇华孙海燕王霁扈啸
Owner NAT UNIV OF DEFENSE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products