Unlock instant, AI-driven research and patent intelligence for your innovation.

A Dependency Grid-Based Instruction-Level Parallel Scheduling Method

A scheduling method and instruction-level technology, applied in the field of compilation optimization, can solve problems such as inability to reflect correlation, inability to determine the correlation between instructions and hardware structure, inability to reflect the real-time workload of functional units, etc., to achieve the effect of improving parallelism

Active Publication Date: 2017-12-26
NAT UNIV OF DEFENSE TECH
View PDF8 Cites 0 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, since this method cannot reflect the correlation between the functional units caused by the different functional units between the instructions, this method is in the VLIW It is not suitable to use more aggressive or forward-looking instruction rearrangement technology in the architecture, which is not conducive to more fully exploring the parallelism between instructions in basic blocks brought about by the characteristics of the architecture;
[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
  • A Dependency Grid-Based Instruction-Level Parallel Scheduling Method
  • A Dependency Grid-Based Instruction-Level Parallel Scheduling Method
  • A Dependency Grid-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] like 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 to 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 an instruction-level parallel scheduling method based on a dependency grid. The steps include: 1) Obtaining the data dependencies between instructions in the target basic block and the information of the functional units corresponding to each instruction, setting and Calculate the data dependence priority value of each instruction; 2) Divide each instruction according to the data dependence priority value and functional unit, store the divided results in grid form, and establish the relationship between the instruction and data dependence priority and functional unit Dependency grid of dependencies; 3) According to the data dependency priority of instructions in the dependency grid obtained in step 2), and the relationship between instructions and functional units, parallelism analysis between instructions is performed. The invention combines data dependence relationship and functional unit distribution relationship, can simultaneously describe the parallel relationship between instructions and the correlation with hardware structure, and has the advantages of simple implementation method, wide application range and high 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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/38
Inventor 陈书明胡勇华孙海燕王霁扈啸
Owner NAT UNIV OF DEFENSE TECH