Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Device and method for realizing indirect branch prediction of modern processor

A transfer prediction and processor technology, applied in the direction of machine execution devices, electrical digital data processing, instruments, etc., can solve problems such as large energy consumption, chip occupation, and reduced energy efficiency of processors, so as to achieve simple update logic and improve energy efficiency Effect

Active Publication Date: 2012-01-04
BEIJING PKUNITY MICROSYST TECH
View PDF4 Cites 39 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Techniques such as this use dedicated components are faster to predict, but their additional memory cell requirements take up real estate on the chip and generate a lot of power
The VPC technology that focuses on the use of existing branch prediction components can achieve higher prediction accuracy, but this kind of prediction that requires multiple cycles to complete an indirect transfer will hinder the further improvement of processor performance on the one hand, and on the other hand Incurs more energy overhead, resulting in less energy-efficient processors

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
  • Device and method for realizing indirect branch prediction of modern processor
  • Device and method for realizing indirect branch prediction of modern processor
  • Device and method for realizing indirect branch prediction of modern processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] The technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and preferred embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, and are not intended to limit the technical solution of the present invention.

[0066] The method and device for realizing indirect branch prediction of modern processors provided by the present invention have the following three key points:

[0067] 1) How to store multiple target addresses of the same indirect transfer instruction into the target address prediction structure;

[0068] 2) How to identify different indirect transfer scenarios and correspond to the target address

[0069] 3) How to update when a prediction error occurs.

[0070] For above-mentioned three problems, the present invention adopts the following ways to solve respectively:

[0071] (1) Multi-target address mapping of the ...

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 device and a method for realizing the indirect branch prediction of a modern processor. The device comprises a direction predictor, a group-path pointer register and a branch target buffer, wherein the direction predictor selects a first access index and a second access index of a mode historical record while predicting an indirect branch instruction direction, and generates and outputs a corresponding group-path pointer through the mode historical record; the group-path pointer register stores the group-path pointer output by the mode historical record; the branch target buffer establishes subblocks and allocation items; each subblock allocates a destination address item indexed by the group-path pointer to each indirect branch instruction; and each allocation item is used for recording the using condition of the destination address item of each indirect branch instruction. By the device and the method, a prediction effect similar to the effect of direct address prediction can be achieved on the basis that the support of a high-capacity storage structure is not needed, so the energy efficiency of the processor can be improved.

Description

technical field [0001] The invention relates to the design of a modern microprocessor and its application system, in particular to a device and method for realizing the prediction of an indirect transfer instruction of a modern processor. Background technique [0002] Modern high-performance processors utilize branch instruction prediction techniques to exploit instruction-level parallelism to increase processor performance. Previous studies mainly focused on developing high-accuracy direct branch instruction prediction techniques, but for indirect branch instruction prediction, it is usually difficult to achieve high accuracy. In recent years, with the wide application of object-oriented language programs, there are more occasions where indirect transfer instructions are used. This type of instruction is usually used to implement common data structures such as virtual function pointers, function pointers, and Switch-Case statements. In addition, a dedicated indirect branc...

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/30061
Inventor 程旭谢子超宋天宝黄明凯史秦青陆俊林佟冬
Owner BEIJING PKUNITY MICROSYST TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products