An Improved Pap Branch Prediction Method

A branch prediction and improved technology, applied in the field of electronics, can solve the problems of long training time and low prediction accuracy, and achieve the effects of reducing training time, improving prediction efficiency, and improving branch prediction accuracy.

Active Publication Date: 2018-06-15
TSINGHUA UNIV
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For larger programs, the PAp predictor has a clear advantage in prediction accuracy, but for small and medium-sized programs, due to the long training time, the prediction accuracy during training is low

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
  • An Improved Pap Branch Prediction Method
  • An Improved Pap Branch Prediction Method
  • An Improved Pap Branch Prediction Method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The specific implementation manners of the embodiments of the present invention will be further described below in conjunction with the accompanying drawings. The embodiments described below by referring to the figures are exemplary only for explaining the invention and should not be construed as limiting the invention.

[0026] figure 1 It is a schematic diagram of the PAp prediction method of the present invention, including a method for reducing predictor training time and a method for improving branch prediction accuracy. The method for reducing predictor training time includes: using a new finite state machine to represent the jump direction of a jump instruction; improving The jump direction training method during the first training; and improving the PT table counter counting rule; the method for improving the accuracy of branch prediction includes: when a jump instruction that does not jump is encountered at the fetch level, multiple fetches in the same fetch pa...

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

An improved PAp branch prediction method comprises a predictor training time reducing method and a branch prediction accuracy improving method. The predictor training time reducing method comprises the steps of using a new finite-state machine to express the jump direction of a jump instruction, improving a jump direction training method of first training, and improving PT table counter counting rules. The branch prediction accuracy improving method comprises the steps of taking one more set of prediction information from the same fetch packet when encountering a jump instruction failing to jump in fetch, and resetting the PT table counter accurately after jump goes wrong. The method can reduce prediction training time, increase prediction efficiency and prediction accuracy and further improve processor performance.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to an improved PAp branch prediction method. Background technique [0002] In modern processors, pipeline technology is widely used, but for jump instructions, there are problems in its application in pipeline technology. For processors that do not perform branch prediction, when a jump instruction is encountered, the pipeline must be cleared and re-executed from the jump target address. Another way to treat the jump instruction is to add empty instructions such as bubbles after the jump instruction in the compilation stage. The purpose of this is to wait for the jump instruction to decode the jump target address before executing the next instruction. These practices greatly waste the execution cycle and seriously reduce the execution efficiency of the processor. For deeper series pipelines, the jump penalty is even greater. It can be seen that branch prediction technology is...

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 Patents(China)
IPC IPC(8): G06F9/38
CPCG06F9/382
Inventor 何虎付家为麻军平王旭马千里
Owner TSINGHUA UNIV
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