Instruction scheduling method and system for multi-cycle instruction and medium

An instruction scheduling, multi-cycle technology, applied in concurrent instruction execution, program control design, instrumentation, etc., can solve the problem that instruction I5 cannot instruct parallel instructions, instruction I5 source operands are not ready, etc., to achieve low overhead and improve performance. , easy to achieve effect

Active Publication Date: 2020-07-10
超睿科技(长沙)有限公司
View PDF13 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although multiple components are set in the processor to allow ALU and MXU components to execute instructions in parallel, in

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
  • Instruction scheduling method and system for multi-cycle instruction and medium
  • Instruction scheduling method and system for multi-cycle instruction and medium
  • Instruction scheduling method and system for multi-cycle instruction and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Such as figure 2 As shown, the implementation steps of the instruction scheduling method for multi-cycle instructions in this embodiment include:

[0037] 1) Fetch the current instruction; fetch the instruction from the instruction buffer or the next-level storage, this step is the instruction fetching process of a common processor, and there is no need to modify the existing method;

[0038] 2) During instruction decoding, the operand and opcode of the current instruction are decoded; in the instruction decoding stage, the instruction operand and opcode are decoded. This step is consistent with the decoding process of ordinary processors, and there is no need to Modifications to existing methods;

[0039] 3) Use the opcode to identify whether the current instruction is a multi-cycle instruction, if it is a multi-cycle instruction, mark the current instruction as a multi-cycle instruction, and identify the dependent instructions of the current instruction; at the same...

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 scheduling method and system for a multi-period instruction and a medium. The method comprises the steps that the multi-period instruction and a dependent instruction thereof are recognized after instruction decoding; reading a priority scheduling instruction buffer, if a corresponding record exists in the priority scheduling instruction buffer, judging thata data dependence relationship exists between the current instruction and a certain multi-cycle instruction, and marking the current instruction as a priority scheduling instruction; when the instruction is renamed, writing address information of the instruction on which the multi-cycle instruction depends into a priority scheduling buffer; and preferentially transmitting an instruction marked asa preferentially transmitted instruction when the instruction is transmitted. According to the method, the instruction parallelism characteristic in the high-performance out-of-order microprocessor isfully explored, the multi-cycle instruction is executed as early as possible through instruction scheduling for the multi-cycle instruction, the performance of the processor is improved, the implementation cost is low, and the method can be conveniently integrated into an existing processor design.

Description

technical field [0001] The invention relates to the field of processor microarchitecture design, in particular to an instruction scheduling method, system and medium for multi-cycle instructions. Background technique [0002] In the design of high-performance microprocessors, in order to improve the performance of the program, it is usually necessary to fully explore the parallelism of the program instruction level. When there is no correlation between multiple instructions, they can be executed in parallel in the pipeline, and the execution time of the entire program can be shortened by parallel execution in different components, thereby improving program performance. When there is data dependence in the program, that is, when the input of an instruction depends on the output of another instruction, the two instructions cannot be parallelized, and the data consumption instruction can only be executed after the execution of the data generation instruction is completed. When...

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
CPCG06F9/3851G06F9/3867
Inventor 施军叶晨
Owner 超睿科技(长沙)有限公司
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