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

Method for improving prediction accuracy of branch direction predictor

A technology of direction prediction and branch prediction, applied in instruments, machine execution devices, error detection/correction, etc., can solve problems such as limited repair degree and no consideration of the historical direction of branch instruction B, achieve high repair degree and improve prediction accuracy , the effect of small power consumption and area overhead

Pending Publication Date: 2021-10-26
JIANGNAN UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when dealing with the delayed update problem, the IUM module simply takes the last historical direction of the branch instruction B as the predicted direction of the branch instruction B this time, without considering more historical directions of the branch instruction B. Therefore, the IUM module The fix for the loss of prediction accuracy caused by delayed updates is limited, about 3 / 4

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 improving prediction accuracy of branch direction predictor
  • Method for improving prediction accuracy of branch direction predictor
  • Method for improving prediction accuracy of branch direction predictor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] This embodiment provides a branch direction predictor that can effectively solve the problem of delayed update. The structure of the branch direction predictor is as follows: figure 1 As shown, including traditional branch direction predictors (such as GShare, TAGE, etc.) and branch update backup devices.

[0053] The traditional branch direction predictor includes an Index generation module, a branch prediction table and a prediction output module, and for a traditional branch direction predictor including Tag (such as TAGE), it also includes a Tag generation module and a Tag matching module.

[0054] The Index generation module is used to generate the index address Index of the branch prediction table according to the PC of the branch instruction and the value of the history register;

[0055] The branch prediction table is used to store the prediction information of the branch instruction, the prediction information is the value ctr0 of the saturation counter, and fo...

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 improving prediction accuracy of a branch direction predictor, and belongs to the field of branch predictor design of a processor. The branch direction predictor is additionally provided with a branch update backup device on the basis of the composition of a traditional branch direction predictor, and the branch update backup device comprises n paths of backup tables, an HIT check module, a CTR update module and a backup address selector; the backup table, the HIT checking module and the CTR updating module are connected in sequence, and the backup table, the HIT checking module and the CTR updating module are all connected with the backup address selector. Compared with an existing method of adding an IUM module, more historical directions of the branch instruction are considered as much as possible, so that the prediction accuracy of the branch direction predictor is more effectively improved, experiments prove that the repair degree of the prediction accuracy of the TAGE predictor exceeds 80%, and the problem of delayed updating of the TAGE predictor is effectively solved.

Description

technical field [0001] The invention relates to a method for improving the prediction accuracy of a branch direction predictor, belonging to the field of processor branch predictor design. Background technique [0002] For modern processors, the prediction accuracy of the branch predictor seriously affects the performance of the processor. [0003] There are two types of branch predictors: branch direction predictor and branch target predictor. The branch direction predictor can predict the direction of the branch instruction (jump or not), and the branch target predictor can predict the jump address of the branch instruction. Make predictions. At present, mainstream branch direction predictors include Bimode, GShare, and TAGE-based, etc., and they are all predictors based on multi-bit saturation counters. [0004] As we all know, there are three stages in the pipeline of the processor that can update the saturation counter, which are the instruction fetching stage, the ex...

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/38G06F11/14
CPCG06F9/3842G06F9/3861G06F11/1446
Inventor 虞致国郭俊顾晓峰
Owner JIANGNAN UNIV
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