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

Instruction processing device, processor and processing method thereof

A technology for instruction processing and instructions, applied in instruction analysis, concurrent instruction execution, machine execution devices, etc., can solve the problems of delaying the execution time of instructions on the correct path, issuing instruction fetch requests late, reducing processor performance, etc., to achieve reduction Effect of processing time and improving processing performance

Pending Publication Date: 2021-03-26
ALIBABA GRP HLDG LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This traditional method will cause the instruction fetch request of the correct path to be issued later, delay the execution time of the instruction of the correct path, and then reduce the performance of the processor in the speculative failure scenario

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 processing device, processor and processing method thereof
  • Instruction processing device, processor and processing method thereof
  • Instruction processing device, processor and processing method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0043] According to one embodiment of the invention, the speculative execution includes branching. In this case, the speculative execution instruction includes all instructions under a certain jump branch, and the speculative condition judgment instruction is a jump branch instruction. When a jump branch instruction is executed, it is determined whether the actual branch to be jumped to is the same as the predicted jump branch. If they are the same, it means that the speculative execution is correct, and the prior processing of the speculative execution instructions is appropriate, so submit the execution results of all instructions under this jump branch and exit. On the contrary, if it is not the same, it means that the speculation is wrong, so the previously preprocessed speculative execution instruction should be discarded, and the instruction under the correct jump branch should be re-read and executed.

[0044] When the decoding unit 140 determines that the decoded inst...

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 processing device which comprises an instruction reading and decoding unit, an instruction scheduling unit, an instruction execution unit and an instruction retirement unit. The instruction reading and decoding unit reads an instruction and decodes the read instruction, and caches the read and / or decoded instruction. The instruction scheduling unit receives and caches the decoded instruction, and transmits the received instruction to the instruction execution unit for execution. And the instruction execution unit receives the instruction transmitted fromthe instruction scheduling unit and executes the instruction. The instruction retirement unit caches the instructions executed by the instruction execution unit and retirees the instructions. The instructions comprise a speculation execution instruction and a speculation condition judgment instruction. The speculative execution instruction is an instruction to be executed when the speculative condition is assumed to be correct, and when a result of execution of the speculative condition judgment instruction in the instruction execution unit indicates that the speculative condition is wrong: instructing the instruction reading and decoding unit to clear the cached read and / or decoded instruction; instructing an instruction scheduling unit to clear the cached instruction after the retirementspeculation condition judgment instruction; and instructing the instruction execution unit to clear the instruction executed therein and clear the instruction cached in the instruction retirement unit after the instruction older than the speculation condition determination instruction is executed and retireed. The invention further discloses an instruction processing method executed in the instruction processing device and a system-on-chip comprising the instruction processing device.

Description

technical field [0001] The present invention relates to the field of processors, in particular to processor cores and processors for speculative execution. Background technique [0002] Modern processors or processor cores process instructions in a pipelined fashion. A typical pipeline usually includes various pipeline stages such as instruction fetching, instruction decoding, instruction scheduling, instruction execution, and instruction retirement. In today's multi-issue high-performance processors, in the instruction decoding stage, multiple instructions can be sequentially decoded within the same clock cycle, and then in the instruction scheduling stage, the sequentially decoded instructions are determined according to the instruction type and pipeline The downstream instruction execution state sends instructions out of order to each instruction execution stage, so that multiple instructions are executed simultaneously in the instruction execution stage. Finally, in th...

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/3867G06F9/3842G06F9/3861G06F9/3804G06F9/30145
Inventor 刘畅张如琴
Owner ALIBABA GRP HLDG LTD
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