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

Multi-level hybrid algorithm filtering type branch prediction method and prediction system

A branch prediction and hybrid algorithm technology, applied in the field of computer systems, can solve the problems such as the inability to reduce the power consumption of the predictor and the difficulty of branch prediction, and achieve the effects of ensuring the prediction accuracy, shortening the prediction time, and reducing the power consumption.

Active Publication Date: 2022-08-02
SUZHOU RICORE IC TECH LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

but figure 1 The prediction method shown does not distinguish the difficulty of branch prediction, so the two prediction tables in the two-level predictor need to predict all branches at the same time, so the power consumption of the predictor still cannot be reduced

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
  • Multi-level hybrid algorithm filtering type branch prediction method and prediction system
  • Multi-level hybrid algorithm filtering type branch prediction method and prediction system
  • Multi-level hybrid algorithm filtering type branch prediction method and prediction system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0058] figure 2 A flow chart of a method according to an embodiment of the present invention, such as figure 2 As shown, this embodiment provides a multi-level hybrid algorithm filtering branch prediction method, which includes:

[0059] Step S1: setting a two-level branch target prediction table (branch target prediction table, hereinafter referred to as BTPT), which are respectively a first-level branch target prediction table (L...

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 multi-level hybrid algorithm filtering type branch prediction method and system, and the method comprises the steps: S1, setting two levels of branch target prediction tables, namely a first-level branch target prediction table and a second-level branch target prediction table; s2, any branch instruction accesses the first-level branch target prediction table, whether the first-level branch target prediction table is hit or not is judged, and if the first-level branch target prediction table is hit, S3 is executed; if the first-level branch target prediction table is not hit, entering S4; s3, judging whether the current predicted branch instruction is filtered out by the first-stage branch target prediction table or not, and if the current predicted branch instruction is filtered out, entering S4; otherwise, taking the prediction result provided by the first-stage branch target prediction table as the prediction address of the corresponding branch instruction; and S4, accessing the second-level branch target prediction table, and taking a prediction result provided by the second-level branch target prediction table as a prediction address of the corresponding branch instruction.

Description

technical field [0001] The present invention relates to the technical field of computer systems, in particular, to a multi-level hybrid algorithm filtering branch prediction method and prediction system. Background technique [0002] Modern processors generally use branch prediction technology to predict the direction and target address of the branch before the branch instruction is executed. If the prediction is a jump, the instruction is fetched in advance according to the predicted address to avoid pipeline bubbles when the branch occurs and affect performance. The principle of branch prediction is to save the historical information of the branch instruction. When the same branch instruction is encountered again, the behavior of the branch instruction is predicted according to the saved historical information. [0003] The impact of branch instructions on performance mainly comes from two parts: the first part comes from the time consumed by branch prediction, that is, 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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/38
CPCG06F9/3806G06F9/3848G06F9/3867Y02D10/00
Inventor 张然王飞范东睿
Owner SUZHOU RICORE IC TECH LTD