Prefetching instructions in mis-predicted path for low confidence branches
Abstract
In a first aspect of the present invention, a method for prefetching instructions in a superscalar processor is disclosed. The method comprises the steps of fetching a set of instructions along a predicted path and prefetching a predetermined number of instructions if a low confidence branch is fetched and storing the predetermined number of instructions in a prefetch buffer. In a second aspect of the present invention, a system for prefetching instructions in a superscalar processor is disclosed. The system comprises a cache for fetching a set of instructions along a predicted path, a prefetching mechanism coupled to the cache for prefetching a predetermined number of instructions if a low confidence branch is fetched and a prefetch buffer coupled to the prefetching mechanism for storing the predetermined number of instructions. Through the use of the method and system in accordance with the present invention, existing prefetching algorithms are improved with minimal additional hardware cost.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 27.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for prefetching instructions in a superscalar processor comprising the steps of: a) fetching a set of instructions after a branch instruction along a predicted path of the branch instruction where the set of instructions can come from any level of a memory within the processor; b) prefetching a predetermined minter of instructions from the other path of the branch instruction, if the branch instruction is a low confidence branch where the predetermined number of instructions can come from any level of the memory; and c) storing the predetermined number of instructions in a prefetch bu
- Claim 2Depends on #1
The method of claim 1 wherein step b) further comprises prefetching the predetermined number of instr
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗