Fetch director employing barrel-incrementer-based round-robin apparatus for use in multithreading microprocessor
Abstract
A fetch director in a multithreaded microprocessor that concurrently executes instructions of N threads is disclosed. The N threads request to fetch instructions from an instruction cache. In a given selection cycle, some of the threads may not be requesting to fetch instructions. The fetch director includes a circuit for selecting one of threads in a round-robin fashion to provide its fetch address to the instruction cache. The circuit adds a first addend to a 1-bit left-rotated version of a second addend to generate a sum and a carry-out bit. The circuit includes the carry-out bit as a carry-in bit of the add to generate the sum. The sum is ANDed with the inverse of the first addend to generate a 1-hot vector indicating which of the threads is selected next. The first addend is an N-bit vector where each bit is false if the corresponding thread is requesting to fetch instructions from the instruction cache. The second addend is a 1-hot vector indicating the last selected thread. In one embodiment threads with an empty instruction buffer are selected at highest priority; a last dispatched but not fetched thread at middle priority; all other threads at lowest priority. The threads
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 11.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus for selecting one of N fetch addresses associated with N corresponding threads for providing to an instruction cache for fetching instructions therefrom in a multithreading microprocessor that concurrently executes the N threads, wherein a subset of the N threads may request to fetch instructions in a selection cycle, the apparatus comprising: a first input, for receiving a first corresponding N-bit value specifying which of the N threads was last selected to fetch instructions, wherein only one of said N bits of said first value corresponding to said last selected thread is true;
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "A Survey of Processors With Explicit Multithreading", in ACM Computing Surverys, vol. 35, No. 1, Mar. 2003, pp. 29-63 by Theo Ungerer, et al.
- "Instruction Recycling on a Multiple-Path Processor", in 5th International Symposium on High Performance Computer Architecture, Jan. 1999 by Wallace et al.
- "Interleaving: A Multithreading Technique Targeting Multiprocessors and Workstations", from Proceedings of the 6th International Conference on Architectural Support for Programming Languages and Operating Systems, 1994 by Laudon et al.
- "MC432 8-port Switch Short Datasheet." Revision 1.2. Mercury Computer Systems, Inc. Feb. 7, 2006.
- "Mercury Computer Systems Introduces The MC432 Serial RapidIO Switch With a Breakthrough Feature Set." connectiviyZone Products for the week of Dec. 12, 2005. Downloaded on Aug. 18, 2006 from http://www.analogzone.com/iop-1212.htm.