Patents
US 7,865,702 B2#27232632 Most CitedActiveUnited States (USPTO)Utility

Stall prediction thread management

4Forward Citations (#27232632 Global)
0.3/yrCitation Velocity (#27789918 Global)
1.07Citation PageRank (#37933728 Global)
8Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

Thread switching prevents pipeline stalls when executing multiple threads. An analysis of a first thread identifies instructions capable of causing pipeline stalls. If pipeline stalls from the identified instructions are likely, thread switching instructions are added to the first thread in place of the identified instructions. Thread switching instructions direct a microprocessor to suspend executing the thread and begin executing a second thread. Thread switching instructions can be added to the second thread to enable the resumption of the first thread at the location specified by the identified instruction. The thread switching instructions are configured to avoid pipeline stalls when switching threads. Thread switching instructions can store and retrieve thread-specific information upon the suspension and resumption of threads. Thread switching instructions can schedule the execution of two or more threads in accordance with load balancing schemes. Threads can be modified using static or dynamic code analysis and modification techniques.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 4.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method of optimizing a plurality of threads to be executed by a processor, the method comprising: identifying an instruction of a first thread as a high latency floating point instruction; determining if a pipeline stall is likely from the identified high latency floating point instruction; and in response to a determination that the pipeline stall is likely from the identified high latency floating point instruction, adding at least one thread switching instruction to the first thread, wherein the thread switching instruction is adapted to switch from the execution of the first thread to a

  2. Claim 2Depends on #1

    The method of claim 1 , wherein adding the at least one thread switching instruction comprises: adding an instruction prehint to the first thread, wherein the instruction prehint is adapted to prevent a pipeline stal

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (2)

  • Eichenberger, A.E. et al., "Optimizing Compiler for a CELL Processor," 2005, IEEE, 12 pages.
  • Mcnairy, C. et al., "Montecito: A Dual-Core, Dual Thread Itanium Processor," 2005, IEEE, pp. 10-20.