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

Device and method for realizing indirect branch and prediction among modern processors

A transfer prediction and processor technology, applied in machine execution devices, electrical digital data processing, instruments, etc., can solve the problems of chip occupancy, reduced processor energy efficiency, hindered processor performance, etc., to avoid errors and improve prediction accuracy. rate and processor power efficiency

Active Publication Date: 2012-01-04
BEIJING PKUNITY MICROSYST TECH
View PDF3 Cites 18 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 and prediction among modern processors
  • Device and method for realizing indirect branch and prediction among modern processors
  • Device and method for realizing indirect branch and prediction among modern processors

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] 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.

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

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

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

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

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

[0060] When obtaining an indirect transfer ins...

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 indirect branch and prediction among modern processors, wherein the device comprises a branch direction predictor which generates a target pointer according to an indirect branch direction predicted by a plurality of sub-predictors, a target address mapping device which maps the target pointer generated by the branch direction predictor to a virtual address of an indexing branch target buffer, and a branch target buffer which distributes a target address item and a distribution item to an indirect branch instruction; the target address item is indexed through the virtual address; and the distribution item records the use condition of each indirect branch instruction target address item and is indexed through a value of a program counter. On the basis of not needing bulk-storage memory support, both the prediction accuracy and the processor energy efficiency are increased at the cost of time similar to that of the existing indirect branch prediction technique.

Description

technical field [0001] The invention relates to the design of a modern microprocessor and its application system, in particular to a device and a method for realizing the indirect transfer instruction prediction of the 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 branch ...

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/323
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