Communication between threads of multi-thread processor
Abstract
Embodiments of the present disclosure support hardware based thread switching in a multithreading environment. The thread switching is implemented on a multithread microprocessor by utilizing thread mailbox registers and other auxiliary registers that can be pre-programmed for hardware based thread switching. A set of mailbox registers can be allocated to each thread of a plurality of threads that can be executed in the microprocessor. A mailbox register in the set of mailbox registers comprises an identifier of a next thread of the plurality of threads to which an active thread switches based on a thread switch condition further indicated in the mailbox register. The auxiliary registers in the microprocessor can be used to configure a number of threads for simultaneous execution in the microprocessor, a priority for thread switching, and to store a program counter of each thread and states of registers of each thread.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method in a microprocessor, comprising: allocating a set of mailbox registers to each thread of a plurality of threads for execution in the microprocessor; including, in a field of a mailbox register in the set of mailbox registers, an identifier of a next thread of the plurality of threads to be executed in the microprocessor upon thread switching; switching execution of the thread to execution of the next thread based upon a thread switch condition indicated in the mailbox register and the identifier of the next thread; setting a bit in a first field of a thread enable register to enable a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (50)
Non-Patent Literature (3)
- Markovic, Nikola. "Hardware thread scheduling algorithms for single-ISA asymmetric CMPs." (2015). (Year: 2015).
- Raju Pandey, Lecture Notes-"Process and Thread Scheduling", Department of Computer Sciences, University of California, Davis, Winter 2005 (Year: 2005).
- Raju Pandey, Lecture Notes—“Process and Thread Scheduling”, Department of Computer Sciences, University of California, Davis, Winter 2005 (Year: 2005).