Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for realizing instruction prefetching in front-end assembly line by advanced pointer method

An instruction prefetch and pipeline technology, which is applied in concurrent instruction execution, instrumentation, climate sustainability, etc., can solve the problems affecting the execution efficiency of the front-end pipeline and high cost, so as to reduce hardware logic overhead, reduce cost, and improve execution efficiency Effect

Active Publication Date: 2020-05-29
HUAXIA GENERAL PROCESSOR TECH INC
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a method for realizing instruction prefetching in the front-end pipeline by the advanced pointer method, so as to solve the problem that the traditional pc access mode icache proposed in the above background technology will cause the internal instruction pipeline of icache to be erased due to the jump of the branch instruction, and branch The cost caused by prediction errors is too high, and cache misses cannot be predicted, so icache misses will send a large number of bubbles into the front-end pipeline, affecting the execution efficiency of the front-end pipeline

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
  • Method for realizing instruction prefetching in front-end assembly line by advanced pointer method
  • Method for realizing instruction prefetching in front-end assembly line by advanced pointer method
  • Method for realizing instruction prefetching in front-end assembly line by advanced pointer method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0020] 2. See figure 1 and 3 , the present invention provides a technical solution: a method for realizing instruction prefetching in the front-end pipeline by a leading pointer method, and the method for realizing instruction prefetching in the front-end pipeline by the leading pointer method is as follows:

[0021] Fetch sends the access mode of 1 beat, and then the second beat pc pointer is determined by the internal register of the prefetch cache. The ori...

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 a method for realizing instruction prefetching in a front-end assembly line by an advanced pointer method in the technical field of front-end assembly lines. The method for realizing instruction prefetching in the front-end assembly line by using the lead pointer method comprises the following steps of: pre-knowing cache miss in advance, pre-knowing the specific position ofdata to be accessed by pc (Personal Computer) of a fetch in data sram and pre-knowing branch skip in advance by pre-fetching tag logic of a pointer in advance in bottom hardware; therefore, the dataaccessed by the pipeline in the icache module due to branch skip can be reduced; the power consumption of the icache is further reduced; the flow series of the front-end assembly line is shortened; after the icache miss is foreseen, the data L2 can be scheduled back in advance before the real pc points to the cache line of the miss; therefore, assembly line bubles caused by icache miss on a front-end assembly line are reduced to a great extent, and the execution efficiency of the front-end assembly line is improved.

Description

technical field [0001] The invention discloses a method for realizing instruction prefetching in a front-end assembly line by an advanced pointer method, and specifically relates to the technical field of the front-end assembly line. Background technique [0002] Due to most of the current CPU architecture design, the front-end pipeline of the CPU uses icache and branch prediction at the same time, and icache / branch prediction usually requires a delay of 2-3 clocks regardless of whether serial or parallel access is used. , that is to say, in the case of a branch instruction jump, the result of the instruction jump needs to be known after accessing the icache and the branch predictor. If the jump needs to be erased at this time, the third level of the icache accessed before the jump instruction Pipeline, this will inevitably waste the dynamic power consumption during the period. In addition, when a cache miss occurs in the icache, the L2cache is accessed. At this time, the co...

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/3814G06F9/3867Y02D10/00
Inventor 费晓龙
Owner HUAXIA GENERAL PROCESSOR TECH INC