Supercharge Your Innovation With Domain-Expert AI Agents!

Double-branch target buffer and branch target processing system and processing method

A branch target buffer and branch target technology, which is applied in the field of branch target buffers, can solve problems such as errors and branch target buffers cannot be correctly predicted, and achieve the effects of improving prediction accuracy and speeding up

Inactive Publication Date: 2015-04-01
苏州睿云智芯微电子有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The problem with the above BTB is that different commands may be registered in the same index, which will cause the branch target buffer to be unable to predict correctly
[0010] Some literature (J. K. F. Lee and A. J. Smith, "Branch prediction strategies and branch target buffer design," IEEE Comput. Mag. pp. 6-22, Jan. 1984) discloses such as figure 2 The BTB structure shown, although this method can alleviate the errors of BTB, there are still a lot of errors
Different commands may be registered in the same index, which will cause the branch target buffer to be incorrectly predicted

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
  • Double-branch target buffer and branch target processing system and processing method
  • Double-branch target buffer and branch target processing system and processing method
  • Double-branch target buffer and branch target processing system and processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, so as to define the protection scope of the present invention more clearly.

[0036] see Figure 4 , the embodiment of the present invention includes:

[0037] A branch target processing system, including: an integer unit of a CPU (not marked), a dual branch target buffer (not marked), a comparator 5, an adder (adder) 6, a branch target prediction unit (PHT) 7 and a selector 8;

[0038] The integer unit of the CPU adopts a pipeline structure and sequentially includes an instruction fetch unit 21, an instruction decoding unit 22, an instruction execution unit 23, a memory access unit 24 and a write ( write back) unit 25, the instruction extraction unit 21 transfers the instruction address (PC) extracted from the instructi...

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 double-branch target buffer which comprises a first branch target buffer and a second branch target buffer, wherein the first branch target buffer comprises a first instruction caching units which has a connection structure of a plurality of channel units, the first instruction caching unit is used for temporarily storing prefetched instructions, and each of the channel units consists of a first storage and a second storage; the second branch target buffer comprises a second instruction caching units which has a connection structure of a plurality of channel units, the second instruction caching unit is used for temporarily storing prefetched instructions, and each of the channel units consists of a third storage and a fourth storage. The double-branch target buffer has two branch target buffers, so that the possibilities that different orders log in the same index can be reduced, the correct prediction accuracy of the branch target buffers is improved, and the speed of a central processing unit can be effectively increased.

Description

technical field [0001] The present invention relates to a processor with a branch prediction unit, in particular to a branch target buffer (Branch target buffer, BTB) in the branch prediction unit. Background technique [0002] Existing calculators are often pipelined, and "pipelining" (or also "speculative execution") is a term that usually refers to a method of operation in which a sequence of instructions is processed using a series of functional steps or processing stages, each processing Stages are usually completed in a single clock cycle. Each processing stage typically completes one or more of its constituent operations within a single clock cycle. [0003] Unlike non-pipelined processors, which process each instruction to completion before starting the next instruction, pipelined processors process several instructions simultaneously at different processing stages in the pipeline. The pipeline stage can be arbitrarily specified by the designer, but usually include...

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
Inventor 孟林
Owner 苏州睿云智芯微电子有限公司
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