hottub.patents
US 12,229,565 B2#2236580 Most CitedActiveUnited States (USPTO)Utility

In-core parallelization in a data processing apparatus and method

1Forward Citations (#2236580 Global)
1.0/yrCitation Velocity (#2236580 Global)
0.17Citation PageRank (#2236580 Global)
27Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

A data processing apparatus and a method for processing data are disclosed. The data processing apparatus comprises: multithreaded processing circuitry to perform processing operations of a plurality of micro-threads, each micro-thread operating in a corresponding execution context defining an architectural state. Thread control circuitry collects runtime data indicative of a performance metric relating to the processing operations. Decoder circuitry is responsive to a detach instruction in a first micro-thread of instructions executed in a first execution context defining a first architectural state, the detach instruction specifying an address, to provide detach control signals to the thread control circuitry. When the runtime data meet a parallelization criterion, the thread control circuitry is responsive to the detach control signals to spawn a second micro-thread of instructions executed in a second execution context defining a second architectural state based on the first architectural state, the second micro-thread of instructions comprising a subset of instructions of the first micro-thread of instructions starting at the address.

Interactive Citation Constellation Global Citation Ranking

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

Claims (8)

  1. Claim 1Independent Claim

    A data processing apparatus comprising: multithreaded processing circuitry to perform processing operations of a plurality of micro-threads, each micro-thread operating in a corresponding execution context defining an architectural state; thread control circuitry to collect runtime data indicative of a performance metric relating to the processing operations; and decoder circuitry responsive to a detach instruction in a first micro-thread of instructions executed in a first execution context defining a first architectural state, the detach instruction specifying an address, when the runtime data meet a parallelization criterion at a point where the detach instruction is decoded, to provide detach control signals to the thread control circuitry, wherein the thread control circuitry is responsive to the detach control signals to spawn a second micro-thread of instructions executed in a second execution context defining a second architectural state based on the first architectural state,

  2. Claim 2Depends on #1

    The data processing apparatus of claim 1, wherein the address is a first address, the subset of instructions is a first subset of instructions, and the detach instruction further comprises a second address, and wherein when the runtime data meet the parallelization criterion, the thread control circuitry is responsive to the detach control signals to cause the first micro-thread of instructions to execute a second subset of instructions starting at the second address.

  3. Claim 3Depends on #2

    The data processing apparatus of claim 2, wherein the first subset of instructions and the second subset of instructions are subsets of the first micro-thread of instructions that are non-overlapping during dynamic execution.

  4. Claim 4Depends on #1

    The data processing apparatus of claim 1, wherein when the runtime data does not meet the parallelization criterion, the thread control circuitry is adapted to interpret the detach instruction as one of: an unconditional branch instruction, and a no-operation.

  5. Claim 5Depends on #1

    The data processing apparatus of claim 1, wherein the decoder circuitry is responsive to a reattach instruction in a particular micro-thread of instructions, to provide reattach control signals to the thread control circuitry, and wherein the thread control circuitry is responsive to the reattach control signals to terminate the particular micro-thread of instructions.

  6. Claim 6Depends on #5

    The data processing apparatus of claim 5, wherein the thread control circuitry is responsive to occurrence of a data hazard between the particular micro-thread of instructions and another micro-thread of instructions to indicate an unsuccessful termination of the particular micro-thread; and the thread control circuitry is responsive to the indication of the unsuccessful termination to re-spawn the particular micro-thread of instructions.

  7. Claim 7Depends on #5

    The data processing apparatus of claim 5, wherein when the runtime data does not meet the parallelization criterion, the thread control circuitry is adapted to interpret the reattach instruction as one of: an unconditional branch instruction, and a no-operation.

  8. Claim 8Depends on #5

    The data processing apparatus of claim 5, wherein each micro-thread is identified by an epoch identifier.

Technical Overview & Description

This disclosure relates to in-core parallelization of code in a data processing apparatus. The parallelization of sequential instructions provides a means to improve scaling of sequential performance within a data processing apparatus. Typical out-of-order execution used in modern general purpose CPU processors relies on fine-grain instruction-level parallelism to convert a sequential instruction stream into a restricted dataflow execution model. However, performance gains are restricted within the constraints of the instruction window size of the out-of-order processor. This mechanism is unable to identify and make use of opportunities for coarse-grain task level parallelism within a sequential instruction scheme. Task level parallelism can improve the performance of sequential code. However, task level parallelism typically requires programmer intervention to re-write code, based on extensive profiling of runtime performance of code, to explicitly expose opportunities for parallelization. Alternatively, if compiler support exists, code making use of task level parallelization can incur significant overheads compared to optimized sequential code, thereby requiring two different code versions, one for use when task level parallelization is supported and another for sequential execution. For these reasons typical approaches to task level parallelization that rely on conventional multi-core processors with heavy reliance on software tend to exhibit poor performance scaling and poor efficiency. At least one embodiment of the present disclosure provides a data processing apparatus comprising: multithreaded processing circuitry to perform processing operations of a plurality of micro-threads, each micro-thread operating in a corresponding execution context defining an architectural state; thread control circuitry to collect runtime data indicative of a performance metric relating to the processing operations; and decoder circuitry responsive to a detach instruction in a

Cited By — Indexed Forward Citations (1 of 1 total)

PatentTitleYearCitations
US 12,743,339 B2Synchronous microthreading20260

References Cited — Backward Prior Art (27)

PatentTitleYearCitations

Non-Patent Literature (10)

  • ‘
  • Helper Threads via Virtual Multithreading on an Experimental Itanium 2 Processor-based Platform
  • ’
  • by Wang et al., 2004. (Year: 2004).
  • Hong Wang et al.,
  • “
  • Speculative precomputation: exploring the use of multithreading for latency
  • ”
  • , Intel Technology Journal, XX, US, No. 1, Feb. 14, 2002 (Feb. 14, 2002), pp. 1-14, XP002303432. whole document.
  • Tao B. Schardl, et al.,