Patents
US 7,096,348 B2#5828992 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for allocating entries in a branch target buffer

16Forward Citations (#5828992 Global)
0.8/yrCitation Velocity (#9136539 Global)
2.64Citation PageRank (#9337998 Global)
9Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

A method ( 200 ) and apparatus ( 100 ) for allocating entries in a branch target buffer (BTB) ( 144 ) in a pipelined data processing system includes: sequentially fetching instructions; determining that one of the instructions is a branch instruction ( 210, 215, 220 ); decoding the branch instruction to determine a branch target address; determining if the branch target address can be obtained without causing a stall condition in the pipelined data processing system; and selectively allocating an entry of the BTB ( 144 ) based on the determination. In one embodiment, an entry of the BTB ( 144 ) is allocated if the branch instruction is not loaded into a predetermined slot (S 1 ) of a prefetch buffer ( 102 ) and no other stall condition will occur. The method ( 200 ) and apparatus ( 100 ) combine the advantages of using a BTB ( 144 ) and branch lookahead to reduce stall conditions in the data processing system.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 16.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method for allocating entries in a branch target buffer (BTB) in a pipelined data processing system, comprising: fetching instructions from a plurality of instructions; determining that one of the plurality of instructions is a branch instruction; decoding the branch instruction to determine a branch target address; determining that the branch instruction was not loaded into a predetermined slot of a prefetch buffer and no other stall condition will occur; selectively allocating a BTB entry based on the determination; and loading a branch target address corresponding to the branch instructio

  2. Claim 2Depends on #1

    The method of claim 1 wherein determining if the branch target address location can be obtained further comprises examining a predetermined slot of a prefetch buffer having a plurality of slots to identify the branch i

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (1)

  • PCT/US04/37627-International Search Report.