Check patentability & draft patents in minutes with Patsnap Eureka AI!

Instruction prefetching method and device, equipment and medium

An instruction prefetching and instruction technology, applied in the computer field, can solve the problems of increasing the processing and manufacturing cost of the processor, increasing the overall area of ​​the processor, etc., and achieve the effect of reducing time delay and improving the efficiency of instruction fetching

Pending Publication Date: 2021-06-04
昆仑芯(北京)科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, adding one level of icache to each processor core will undoubtedly increase the overall area of ​​the processor and increase the processing and manufacturing cost of the processor

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 prefetching method and device, equipment and medium
  • Instruction prefetching method and device, equipment and medium
  • Instruction prefetching method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0043] figure 1 It is a flow chart of an instruction prefetching method disclosed according to the embodiment of the present application. This embodiment can be applied to how to reduce the instruction read delay of each core of the processor when there is an instruction jump. The method of this embodiment can be executed by an instruction prefetching device, which ...

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 prefetching method and device, equipment and a medium, and relates to the data storage technology, and the method comprises the steps that before a processor core obtains a needed instruction from a target buffer area corresponding to the processor core, the instruction in the target buffer area is pre-compiled; if it is determined that the jump instruction exists in the target buffer area according to the pre-compilation result, and the branch instruction with the jump instruction is not cached in the target buffer area, the branch instruction which is not cached is prefetched from the instruction cache region to a candidate buffer region corresponding to the processor core so as to wait for the processor core to obtain the branch instruction from the candidate buffer region, wherein the target buffer area and the candidate buffer area are alternately multiplexed in the instruction prefetching process. According to the embodiment of the invention, on the basis of not increasing the processing and manufacturing cost of the processor, the instruction fetching efficiency of each processor core can be improved, the instruction fetching time delay can be reduced, and the influence of the coverage of the cache instruction on the operation of the processor can be reduced.

Description

technical field [0001] The embodiments of the present application relate to computer technology, in particular to data storage technology, and in particular to an instruction prefetching method, device, device, and medium. Background technique [0002] Prefetching instruction operations are widely used in various processors to achieve the purpose of improving processor performance. At present, for multi-core processors, prefetch instruction operations are mainly implemented in the following two ways: [0003] Solution 1: Adding a first-level register cache in each processor core, the cache size is generally the read path bandwidth of the instruction cache area (icache). Read multiple instructions from icache at a time and store them in the increased register cache, and continue to read multiple instructions from icache after the instructions in the register cache are used up. When operations such as instruction branching and jumping occur in each processor core, if the jum...

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/3806G06F9/3804G06F9/3814Y02D10/00G06F9/383G06F9/30047G06F9/32G06F9/3844G06F9/3861
Inventor 唐潮杜学亮徐英男
Owner 昆仑芯(北京)科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More