Memory access instruction processing method and processor

A technology for instruction processing and processors, which is applied in the field of memory access instruction processing methods and processors, can solve problems such as processor performance loss, large memory access delay, and pipeline stalls, and achieve the effects of improving processing efficiency and reducing pipeline pause time

A technology for instruction processing and processors, which is applied in the field of memory access instruction processing methods and processors, can solve problems such as processor performance loss, large memory access delay, and pipeline stalls, and achieve the effects of improving processing efficiency and reducing pipeline pause time

CN110806900AActive Publication Date: 2020-02-18CHENGDU HAIGUANG MICROELECTRONICS TECH CO LTD

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory access instruction processing method and processor
  • Memory access instruction processing method and processor
  • Memory access instruction processing method and processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Embodiments of the present invention provide an improved memory access instruction processing method and a processor to set the criticality of the memory access instruction based on the pipeline pause time caused by the memory access instruction, wherein the longer the pipeline pause time caused by the memory access instruction, the longer the pipeline pause time caused by the memory access instruction. The higher the criticality of the memory access instruction is; thus, by preferentially executing the memory access instruction with high criticality, the memory access instruction that causes the pipeline to pause for a long time can be executed first, and the corresponding memory access instruction that affects the long-term pause of the pipeline can be reduced. Delay, thereby reducing the pipeline pause time caused by memory access delay, and improving the processing efficiency of the processor.

[0033] The following will clearly and completely describe the technical ...

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 embodiment of the invention provides a memory access instruction processing method and a processor. The method comprises the steps: reading a memory access instruction from a cache, and obtainingthe criticality of the memory access instruction from the cache, wherein the criticality of the memory access instruction is in a positive correlation relationship with assembly line dwell time causedby the memory access instruction, and the criticality of the memory access instruction is stored in an instruction cache block of the cache; when the memory access instruction is executed, adjustingthe execution priority of the memory access instruction according to the criticality of the memory access instruction, wherein the criticality of the memory access instruction is in positive correlation with the execution priority of the memory access instruction; outputting an execution result corresponding to the memory access instruction; and executing memory access according to the execution result. According to the embodiment of the invention, the pipeline pause time caused by memory access delay can be reduced, and the processing efficiency of the processor is improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of processors, and in particular to a memory access instruction processing method and a processor. Background technique [0002] Modern processors generally use pipeline technology to process instructions in parallel to speed up instruction processing efficiency; instructions processed by processors include but are not limited to: branch instructions, logical operation instructions, memory access instructions, etc.; where memory access instructions refer to instructions for accessing storage . [0003] In the process of processing memory access instructions, memory access latency is one of the reasons that affect processor performance; if the processor executes subsequent instructions that depend on the memory access results of memory access instructions, it takes a long time to access storage to obtain memory access results (That is, the memory access delay is relatively large), which...

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
18 Feb 2020
Publication
CN110806900A
IPC
G06F9/38; G06F9/30
CPC
G06F9/3005; G06F9/38
Inventors
崔泽汉