Threshold-based load address prediction and new thread identification in a multithreaded microprocessor
Abstract
A method and apparatus for predicting load addresses and identifying new threads of instructions for execution in a multithreaded processor. A load prediction unit scans an instruction window for load instructions. A load prediction table is searched for an entry corresponding to a detected load instruction. If an entry is found in the table, a load address prediction is made for the load instruction and conveyed to the data cache. If the load address misses in the cache, the data is prefetched. Subsequently, if it is determined that the load prediction was incorrect, a miss counter in the corresponding entry in the load prediction table is incremented. If on a subsequent detection of the load instruction, the miss counter has reached a threshold, the load instruction is predicted to miss. In response to the predicted miss, a new thread of instructions is identified for execution.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 46.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A microprocessor comprising: an instruction buffer, wherein said instruction buffer is configured to store a plurality of instructions; a load prediction unit coupled to said instruction buffer, wherein said load prediction unit comprises a load prediction table with a plurality of entries and circuitry which supports load address prediction and new thread creation, wherein the plurality of entries in the load prediction table comprise a valid field, an instruction address field, an effective address field, a stride field, and a threshold field; wherein the load prediction unit is configured t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 46 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (5)
- "Discrete Last-Address Predictor"; Morancho, Llaberia, & Olive; Universitat Politecnica de Catalunya, Department d'Arquitectura de Computadores; Barcelona (Spain).
- "Load Latency Tolerance In Dynamically Scheduled Processors"; IEEE 98; Srinivasan & Lebeck; Duke University, Department of Computer Science; Durham, North Carolina.
- "Speculative Execution via Address Prediction and Data Prefetching"; Gonzalez & Gonzalez; Universitat Politecnica de Catalunya, Department d'Arquitectura de Computadors; Barcelona (Spain).
- "The Predictability of Data Values"; Sazeides & Smith; University of Wisconsin-Madison, Department of Electrical and Computer Engineering; Madison, Wisconsin.
- "Understanding the Differences Between Value Prediction and Instruction Reuse"; Sodani & Sohi; University of Wisconsin-Madison, Computer Sciences Department; Madison, Wisconsin.