Device and method for instruction scheduling

An instruction scheduling and instruction technology, applied in machine execution devices, concurrent instruction execution, etc., can solve problems such as reduced pipeline efficiency, instructions cannot be issued, reduced pipeline utilization, processor performance, etc., to achieve the effect of improving efficiency.

Active Publication Date: 2010-05-19
LOONGSON TECH CORP
View PDF3 Cites 69 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For the above technique of dynamically scheduling instructions, all instructions are decoded and written into the same operation queue, and different types of instructions are sequentially sent from the operation queue to different types of reservation stations. (Due to hardware overhead considerations, the number of items in the reservation station is generally not many), so that the number of operand-prepared instructions in the operation queue is theoretically more than that of the operand-prepared instructions in the reservation station. Therefore, there is the following problem: when the reservation station corresponding to the first instruction in the operation queue is in a saturated state for a long time (that is, there is no idle item in the reservation station), then the first instruction will always be kept in the operation queue without being deleted. Issue into a reservation station so that other instructions in the operation queue cannot be issued even if the reservation station corresponding to the operation queue has a free entry
Further, if an exception occurs in the memory access instruction at this time and many cycles are required to process the exception, the functional unit corresponding to the fixed-point instruction will be in an idle state at this time, which will obviously reduce the utilization rate of the pipeline and the performance of the processor
[0006] In addition, the above-mentioned technology for dynamically scheduling instructions still has a problem: when there is no idle item in the reservation station and the operand of the instruction in the reservation station is not ready, even if there is an instruction whose operand is ready in the operation queue, the cannot execute the command
In other words, even if the operand of the SUB instruction is ready, it cannot be executed, which will obviously lead to a decrease in pipeline efficiency

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
  • Device and method for instruction scheduling
  • Device and method for instruction scheduling
  • Device and method for instruction scheduling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] As mentioned above, the present invention aims to solve the problem of low instruction emission efficiency in the prior art in which the reservation station intercepts the result bus and dynamically schedules instructions according to the interception result, and provides an instruction scheduling technology to improve The efficiency of the instruction issue pipeline and the overall performance of the microprocessor. The main idea of ​​this instruction scheduling technology is, based on the data correlation between instructions, when there are idle items in the reservation station, select the instruction with all operands ready to send to the reservation station, thus effectively improving the pipeline efficiency of instruction issuance .

[0025] The above and other technical features and beneficial effects of the present invention will be more fully explained through the introduction of preferred embodiments with reference to the accompanying drawings.

[0026] ima...

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 provides a device and a method for dynamically scheduling instructions transmitted from an operation queue to a reservation station in a microprocessor. The method comprises the following: a step of writing instructions, which is to set and then write the operand states of the decoded instructions on the basis of data correlation between the decoded instructions to be written into the operation queue and effective instructions in the operation queue, as well as instruction execution results which have been written back and are being written; a step of updating the operand states, which is to update the operand state of each instruction not transmitted on the basis of the data correlation between each instruction not transmitted and the instructions being written back of instruction execution results; a step of judging to-be-transmitted instructions, which is to judge whether the to-be-transmitted instructions with all operands ready exist on the basis of the operand state of each instruction not transmitted; and a step of transmitting instructions, which is to transmit the judged to-be-transmitted instructions to the reservation station when the reservation station has vacancies. Pipeline efficiency can be effectively improved by transmitting the instructions with the operands ready to the reservation station on the basis of the data correlation between the instructions.

Description

technical field [0001] The present invention relates to the architecture of the microprocessor, in particular to a device and method for dynamically dispatching instructions from the operation queue to the reservation station in the microprocessor. Background technique [0002] Modern microprocessors usually use pipeline technology to increase the processing speed of the microprocessor. Through pipeline technology, different instructions are executed in parallel at different stages to improve the performance of the processor. However, the data dependency between instructions will seriously affect the parallelism of instructions, thereby reducing the utilization rate of the pipeline and the performance of the processor. [0003] In order to solve the impact of data correlation between instructions on instruction parallelism, many microprocessors choose to use a pipeline structure that dynamically schedules instructions, such as the Tomasulo algorithm. The decoded instructio...

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
Inventor 李祖松郝守青汪文祥徐翠萍
Owner LOONGSON TECH CORP
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