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

combined heuristic instruction selection optimization method for VLIW basic block scheduling

A technology of instruction selection and optimization method, applied in the direction of concurrent instruction execution, machine execution device, etc., can solve the problem of not considering the time required for the remaining instructions of the functional unit, unable to effectively ensure better scheduling effect, and scheduling optimization performance. , to shorten the overall execution time, optimize the overall effect of scheduling, and save execution time.

Active Publication Date: 2019-06-21
HUNAN UNIV OF SCI & TECH
View PDF11 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In view of the characteristics of the vector VLIW architecture, in order to effectively use ready instructions to fill the delay slots of effective instructions, Chinese patent application CN104699466A provides a multi-heuristic instruction selection method for VLIW architecture, which realizes multi-heuristics based on instruction dependency priority In order to solve the instruction selection problem, the rich functional unit resources of the processor can be used to mine the parallelism of the basic block instruction sequence, but this method only starts from the perspective of releasing the scheduling domain of the associated functional unit, and does not consider the functional unit The time required to execute the remaining instructions, and the total execution time of the basic block instruction sequence depends on the time Te of the instructions in the last instruction execution package to be executed, when the remaining instructions to be scheduled in some (or all) functional units depend on Applying this method when the number of priorities is small will result in a decrease in scheduling optimization performance, and cannot effectively ensure a better scheduling effect

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
  • combined heuristic instruction selection optimization method for VLIW basic block scheduling
  • combined heuristic instruction selection optimization method for VLIW basic block scheduling
  • combined heuristic instruction selection optimization method for VLIW basic block scheduling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] 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.

[0047] Such as figure 2 As shown, the steps of the combined heuristic instruction selection optimization method for VLIW basic block scheduling in this embodiment include:

[0048] S1. When performing command selection and transmission in each command cycle, if there is at least one functional unit in each functional unit and the number of remaining effective command levels is 2, go to step S2;

[0049] S2. For each functional unit, obtain the associated functional units corresponding to each ready instruction in the functional unit ready instruction set to form an associated unit set, search for the first type of associated units whose remaining effective instruction levels are greater than 2 in the associated unit set, and search In the associative unit set,...

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 combined heuristic instruction selection optimization method for VLIW basic block scheduling, and the method comprises the steps: S1, carrying out the selection and transmission of an instruction in each instruction period, and carrying out the step S2 if at least one functional unit has the residual effective instruction stage number of 2; S2, obtaining an association function unit corresponding to each ready instruction, searching a first type of association unit with the residual effective instruction number being greater than 2, searching a second type of association unit with the residual instruction number being 2, obtaining the time required by the completion of the residual instruction, and determining to obtain a first heuristic quantity and a second heuristic quantity; and S3, selecting a ready instruction as a final output ready instruction according to the determined first heuristic quantity and second heuristic quantity. The method can improve theinstruction scheduling optimization effect when the number of the remaining instruction stages of the functional unit is small, and has the advantages of being simple in implementation method, good in scheduling optimization effect, high in execution efficiency and the like.

Description

technical field [0001] The invention relates to the technical field of compiling and optimizing VLIW (Very Long Instruction Word, Very Long Instruction Word) architecture processors, in particular to a combined heuristic instruction selection optimization method for VLIW basic block scheduling. Background technique [0002] Basic block scheduling is one of the important optimization processes to improve the parallelism of instructions. On the premise of ensuring the correct execution logic, it fully utilizes the performance of the hardware by rearranging the execution order of instructions. It is an important factor for the VLIW architecture to improve code execution efficiency. method. In basic block instruction scheduling, the core problem that affects the effect of instruction scheduling is the problem of instruction selection at each beat. [0003] For the pipeline architecture, the basic block scheduling usually adopts the table scheduling method, which is to maintain ...

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 Applications(China)
IPC IPC(8): G06F9/38
CPCY02D10/00
Inventor 胡勇华李阳唐镇陆浩松
Owner HUNAN UNIV OF SCI & TECH