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

Active Publication Date: 2020-02-18
CHENGDU HAIGUANG MICROELECTRONICS TECH CO LTD
View PDF12 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[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 will cause the pipeline to pause for a long time, which will cause the performance loss of the processor; it can be seen that the memory access delay is a common cause of the long-term pause of the pipeline, so it is urgent to provide a method for accessing New processing method of store instruction to reduce memory access delay

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
  • 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
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/38G06F9/30
CPCG06F9/3005G06F9/38
Inventor 崔泽汉
Owner CHENGDU HAIGUANG MICROELECTRONICS TECH CO LTD
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