Branch target buffer for a data processing apparatus
Abstract
A data processing apparatus is provided having branch prediction circuitry, the branch prediction circuitry having a Branch Target Buffer, BTB. A fetch target queue receives entries corresponding to a sequence of instruction addresses, at least one of the sequence having been predicted using the branch prediction circuitry. A fetch engine is provided to fetch instruction addresses taken from a top of the fetch target queue whilst a prefetch engine sends a prefetch probe to an instruction cache. The BTB is to detect a BTB miss when attempting to populate a storage slot of the fetch target queue and the BTB triggers issuance of a BTB miss probe to the memory to fetch at least one instruction from the memory to resolve the BTB miss using branch-prediction based prefetching.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A data processing apparatus comprising: branch prediction circuitry to predict an outcome of a branch instruction, the branch prediction circuitry having a Branch Target Buffer, BTB, to store a plurality of BTB entries, each BTB entry comprising both a branch indexing address and a predicted branch target address for a branch instruction, the branch indexing address to map to a program counter of an instruction being fetched wherein a BTB hit returns a predicted branch target address corresponding to the program counter; a fetch target queue having a plurality of storage slots to receive entri
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (4)
- ‘Instruction Cache Prefetching Using Multilevel Branch Prediction’ by Alexander V. Veidenbaum et al., University of Illinois at Chicago, Aug. 10, 2017. (Year: 2017).
- Cansu Kaynak et al., Confluence: unified instruction supply for scale-out servers, Proceedings of the 48th International Symposium on Microarchitecture, Jan. 1, 2015, pp. 166-177, New York, New York.
- International Search Report, for International Application No. PCT/GB2018/050294; dated Apr. 24, 2018.
- Reinman G et al: Fetch Directed Instruction Prefetching, Micro-32, Proceedings of the 32nd, Annual ACM/IEEE International Symposium on Microarchitecture, Nov. 16-18, 1999; pp. 16-27, Los Alamitos, CA.