[go: up one dir, main page]

HK1061445B - Registers for data transfers within a multithreaded processor - Google Patents

Registers for data transfers within a multithreaded processor Download PDF

Info

Publication number
HK1061445B
HK1061445B HK04102104.5A HK04102104A HK1061445B HK 1061445 B HK1061445 B HK 1061445B HK 04102104 A HK04102104 A HK 04102104A HK 1061445 B HK1061445 B HK 1061445B
Authority
HK
Hong Kong
Prior art keywords
programming
registers
engines
data
processor
Prior art date
Application number
HK04102104.5A
Other languages
German (de)
French (fr)
Chinese (zh)
Other versions
HK1061445A1 (en
Inventor
Gilbert Wolrich
Mark Rosenbluth
Debra Bernstein
Matthew Adiletta
Original Assignee
Intel Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US10/116,670 external-priority patent/US7437724B2/en
Application filed by Intel Corporation filed Critical Intel Corporation
Publication of HK1061445A1 publication Critical patent/HK1061445A1/en
Publication of HK1061445B publication Critical patent/HK1061445B/en

Links

Description

BACKGROUND
Parallel processing is an efficient form of information processing of concurrent events in a computing process. Parallel processing demands concurrent execution of many programs, in contrast to sequential processing. In the context of parallel processing, parallelism involves doing more than one thing at the same time. Unlike a serial paradigm where all tasks are performed sequentially at a single station or a pipelined machine where tasks are performed at specialized stations, with parallel processing, many stations are provided, each capable of performing and carrying out various tasks and functions simultaneously. A number of stations work simultaneously and independently on the same or common elements of a computing task. Accordingly, parallel processing solves various types of computing tasks and certain problems are suitable for solution by applying several instruction processing units and several data streams.
WO01/16718 discloses a system that uses a parallel hardware-based multithreaded processor. The processor includes a general purpose processor that coordinates system functions and a plurality of microengines that support multiple hardware threads. The processor also includes a memory control system that has a first memory controller that sorts memory references based on whether the memory references are directed to an even bank or an odd bank of memory and a second memory controller that optimizes memory references based upon whether the memory references are read or write references.
"The Multicluster Architecture: Reducing Cycle Time Through Partitioning" by Farkas et al., discloses a dynamically-scheduled, partitioned architecture called multicluster architecture, in which the register files, dispatch queue, and functional units of the architecture are distributed across multiple clusters, and each cluster is assigned a subset of the architectural registers. The motivation for this multicluster architecture is to reduce clock cycle time, relative to a single-cluster architecture.
US5574939 also discloses a parallel data processing system where the processors are grouped in clusters of processors which share register files.
BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a block diagram of a processing system.
  • FIG. 2 is a detailed block diagram of the processing system of FIG. 1 where one of the embodiments of the invention may be advantageously practiced.
  • FIG. 3 is a block diagram of a functional pipeline unit of the processing system of FIG. 1.
  • FIG. 4 is a block diagram illustrating details of the processing system of FIG. 1 where one of the embodiments of the invention may be advantageously practiced.
  • FIG. 5 is a simplified block diagram of a context pipeline process.
  • FIG. 6 is a flowchart illustrating the process of a context pipeline where one of the embodiments of the invention may be advantageously practiced.
  • FIG. 7 is a flowchart illustrating the process of determining the address of the Next Neighbor registers.
DESCRIPTION
The invention is set in the independent claims.
Architecture:
Referring to FIG. 1, a computer processing system 10 includes a parallel, hardware-based multithreaded network processor 12. The hardware-based multithreaded processor 12 is coupled to a memory system or memory resource 14. Memory system 14 includes dynamic random access memory (DRAM) 14a and static random access memory 14b (SRAM). The processing system 10 is especially useful for tasks that can be broken into parallel subtasks or functions. Specifically, the hardware-based multithreaded processor 12 is useful for tasks that are bandwidth oriented rather than latency oriented. The hardware-based multithreaded processor 12 has multiple functional microengines or programming engines 16a-16h (collectively, programming engines 16) each with multiple hardware controlled threads that are simultaneously active and independently work on a specific task.
The programming engines 16 each maintain program counters in hardware and states associated with the program counters. Effectively, corresponding sets of context or threads can be simultaneously active on each of the programming engines 16 while only one is actually operating at any one time.
In this example, eight programming engines 16a-16h are illustrated in FIG. 1. Each programming engine 16a-16h processes eight hardware threads or contexts. The eight programming engines 16a-16h operate with shared resources including memory resource 14 and bus interfaces (not shown).
The hardware-based multithreaded processor 12 includes a dynamic random access memory (DRAM) controller 18a and a static random access memory (SRAM) controller 18b. The DRAM memory 14a and DRAM controller 18a are typically used for processing large volumes of data, e.g., processing of network payloads from network packets. The SRAM memory 14b and SRAM controller 18b are used in a networking implementation for low latency, fast access tasks, e.g., accessing look-up tables, memory for the core processor 20, and the like.
The eight programming engines 16a-16h access either the DRAM memory 14a or SRAM memory 14b based on characteristics of the data. Thus, low latency, low bandwidth data are stored in and fetched from SRAM memory 14b, whereas higher bandwidth data for which latency is not as important, are stored in and fetched from DRAM memory 14a. The programming engines 16 can execute memory reference instructions to either the DRAM controller 18a or SRAM controller 18b.
The hardware-based multithreaded processor 12 also includes a processor core 20 for loading microcode control for the programming engines 16. In this example, although other types of processor cores may be used in embodiments of this invention, the processor core 20 is an XScale based architecture, designed by Intel® Corporation, of Santa Clara, CA.
The processor core 20 performs general-purpose computer type functions such as handling protocols, exceptions, and extra support for packet processing where the programming engines 16 pass the packets off for more detailed processing such as in boundary conditions.
The processor core 20 executes an operating system (not shown). Through the operating system (OS), the processor core 20 can call functions to operate on the programming engines 16a-16h. For the core processor 20 implemented as an XScale architecture, operating systems such as Microsoft® NT real-time of Microsoft® Corporation, of Seattle, Washington, VxWorks® real-time operating system of WindRiver®, of Alameda, California, or a freeware OS available over the Internet can be used.
Advantages of hardware multithreading can be explained by SRAM or DRAM memory accesses. As an example, an SRAM access requested by a context (e.g., Thread_0), from one of the programming engines 16, e.g., programming engine 16a, will cause the SRAM controller 18b to initiate an access to the SRAM memory 14b. The SRAM controller 18b accesses the SRAM memory 14b, fetches the data from the SRAM memory 14b, and returns data to a requesting programming engine 16.
During an SRAM access, if one of the programming engines 16a-16h has a single thread that could operate, that programming engine would be dormant until data was returned from the SRAM memory 14b.
By employing hardware context swapping within each of the programming engines 16a-16h, the hardware context swapping enables other contexts with unique program counters to execute in that same programming engine. Thus, another thread e.g., Thread_1 can function while the first thread, Thread_0, is awaiting the read data to return. During execution, Thread_1 may access the DRAM memory 14a. While Thread_1 operates on the DRAM unit, and Thread_0 is operating on the SRAM unit, a new thread, e.g., Thread_2 can now operate in the programming engine 16. Thread_2 can operate for a certain amount of time until it needs to access memory or perform some other long latency operation, such as making an access to a bus interface. Therefore, simultaneously, the multi-threaded processor 12 can have a bus operation, an SRAM operation, and a DRAM operation all being completed or operated upon by one of the programming engines 16 and have one more threads or contexts available to process more work.
The hardware context swapping also synchronizes the completion of tasks. For example, two threads can access the shared memory resource, e.g., the SRAM memory 14b. Each one of the separate functional units, e.g., the SRAM controller 18b, and the DRAM controller 18a, when they complete a requested task from one of the programming engine threads or contexts reports back a flag signaling completion of an operation. When the programming engines 16a-16h receive the flag, the programming engines 16a-16h can determine which thread to turn on.
One example of an application for the hardware-based multithreaded processor 12 is as a network processor. As a network processor, the hardware-based multithreaded processor 12 interfaces to network devices such as a Media Access Controller (MAC) device, e.g., a 10/100BaseT Octal MAC or a Gigabit Ethernet device compliant with IEEE 802.3. In general, as a network processor, the hardware-based multithreaded processor 12 can interface to any type of communication device or interface that receives or sends large amount of data. The computer processing system 10 functioning in a networking application can receive network packets and process those packets in a parallel manner.
Registers in Programming Engines:
Referring to FIG. 2, one exemplary programming engine 16a from the programming engines 16, is shown. The programming engine 16a includes a control store 30, which in one example includes a RAM of 4096 instructions, each of which is 40-bits wide. The RAM stores a microprogram that the programming engine 16a executes. The microprogram in the control store 30 is loadable by the processor core 20 (FIG. 1) .
In addition to event signals that are local to an executing thread, the programming engine 16a employs signaling states that are global. With signaling states, an executing thread can broadcast a signal state to all programming engines 16a-16h. Any and all threads in the programming engines can branch on these signaling states.
As described above, the programming engine 16a supports multi-threaded execution of eight contexts. This allows one thread to start executing just after another thread issues a memory reference and must wait until that reference completes before doing more work. Multi-threaded execution is critical to maintaining efficient hardware execution of the programming engine 16a because memory latency is significant. Multi-threaded execution allows the programming engines 16 to hide memory latency by performing useful independent work across several threads.
The programming engine 16a, to allow for efficient context swapping, has its own register set, program counter, and context specific local registers. Having a copy per context eliminates the need to move context specific information to and from shared memory and programming engine registers for each context swap. Fast context swapping allows a context to perform computations while other contexts wait for input-output (I/O), typically, external memory accesses to complete or for a signal from another context or hardware unit.
General Purpose Registers
The programming engine 16a executes the eight contexts by maintaining eight program counters and eight context relative sets of registers. A number of different types of context relative registers, such as general purpose registers (GPRs) 32, inter-programming agent registers (not shown), Static Random Access Memory (SRAM) input transfer registers 34, Dynamic Random Access Memory (DRAM) input transfer registers 36, SRAM output transfer registers 38, DRAM output transfer registers 40.
The GPRs 32 are used for general programming purposes. The GPRs 32 are read and written exclusively under program control. The GPRs 32, when used as a source in an instruction, supply operands to an execution datapath 44.
The execution datapath 44 can take one or two operands, perform an operation, and optionally write back a result. The execution datapath 44 includes a content addressable memory (CAM) 45. Each entry of the CAM 45 stores a 32-bit value, which can be compared against a source operand. All entries are compared in parallel and the result of the lookup is a 6-bit value.
When used as a destination in an instruction, the GPRs 32 are written with the result of the execution datapath 44. The programming engine 16a also includes I/O transfer registers 34, 36, 38 and 40 which are used for transferring data to and from the programming engine 16a and locations external to the programming engines 16a, e.g., the DRAM memory 14a, the SRAM memory 14b, and the like.
Transfer Registers
The programming engine 16a also includes transfer registers 34, 36, 38 and 40. Transfer registers 34, 36, 38 and 40 are used for transferring data to and from the programming engine 16a and locations external to the programming engine, e.g., DRAMs, SRAMs etc. There are four types of transfer registers as illustrated in FIG. 2, namely, input transfer registers and output transfer registers.
The input transfer registers, when used as a source in an instruction, supply operands to the execution datapath 44, whereas output transfer registers are written with the result from the execution datapath 44 when utilized as a destination in an instruction.
Local Control and Status Registers (CSRs)
Local control and status registers (CSRs) 37 are external to the execution datapath 44 and hold specific purpose information. They can be read and written by special instructions (local_csr_ rd and local_csr_wr) and are typically accessed less frequently than datapath registers.
Next Neighbor Registers
The programming engine 16a also includes one hundred and twenty eight (128) Next Neighbor (NN) registers, collectively referred to as NN registers 35. Each NN Register 35, when used as a source in an instruction, also supplies operands to the execution datapath 44. Each NN register 35 is written either by an external entity, not limited to, an adjacent programming engine, or by the same programming engine 16a where each NN register 35 resides. The specific register is selected by a context-relative operation where the register number is encoded in the instruction, or as a ring operation, selected via, e.g., NN_Put (NN write address) and NN_Get (NN read address) in the CSR Registers.
NN_Put registers are used when the previous neighboring programming engine executes an instruction with NN_Put as a destination. The NN register selected by the value in this register is written, and the value in NN_Put is then incremented (a value of 127 wraps back to 0). The value in this register is compared to the value in NN_Get register to determine when to assert NN_Full and NN_Empty status signals.
NN_Get registers are used when the NN register 35 is accessed as a source, which is specified in the source field of the instruction. The NN register selected by the value in this register is read, and the value in NN_Put is then decremented (a value of 127 wraps back to 0). The value in this register is compared to the value in the NN_Put register to determine when to assert NN_Full and NN_Empty status signals.
Specifically, when each NN register 35 is used as a destination in an instruction, the instruction result data are sent out of the programming engine 16a, typically to another, adjacent programming engine. On the other hand, when the NN register 35 is used as a destination in an instruction, the instruction result data are written to the selected NN Register 35 in the programming engine 16a. The data are not sent out of the programming engine 16a as it would be when each NN register 35 is used as a destination.
Each NN register 35 is used in a context pipelining method, as described below.
A local memory 42 is also used. The local memory 42 includes addressable storage located in the programming engine 16a. The local memory 42 is read and written exclusively under program control. The local memory 42 also includes variables shared by all the programming engines 16.
Shared variables are modified in various assigned tasks during functional pipeline stages by the programming engines 16a-16h, which are described next. The shared variables include a critical section, defining the read-modify-write times. The implementation and use of the critical section in the computing processing system 10 is also described below.
Functional Pipelining and Pipeline Stages
Referring to FIG. 3, the programming engine 16a is shown in a functional pipeline unit 50. The functional pipeline unit 50 includes the programming engine 16a and a data unit 52 that includes data, operated on by the programming engine, e.g., network packets 54. The programming engine 16a is shown having a local register unit 56. The local register unit 56 stores information from the data packets 54.
In the functional pipeline unit 50, the contexts 58 of the programming engines 16a, namely, Programming Engine0.1 (PE0.1) through Programming Engine0.n (PE0.n), remain with the programming engine 16a while different functions are performed on the data packets 54 as time 66 progresses from time = 0 to time = t. A programming execution time is divided into "m" functional pipeline stages or pipe-stages 60a-60m. Each pipeline stage of the pipeline stages 60a-60m performs different pipeline functions 62a, 64, or 62p on data in the pipeline.
The pipeline stage 60a is, for example, a regular time interval within which a particular processing function, e.g., the function 62a is applied to one of the data packets 54. A processing function 62 can last one or more pipelines stages 60. The function 64, for example, lasts two pipeline stages, namely pipeline stages 60b and 60c.
A single programming engine such as the programming engine 16a can constitute a functional pipeline unit 50. In the functional pipeline unit 50, the functions 62a, 64, and 62p move through the functional pipeline unit 50 from one programming engine (e.g., programming engine 16a), to another programming engine (e.g., programming engine 16b), as will be described next.
Referring to FIG. 4, the data packets 54 are assigned to programming engine contexts 58 in order. Thus, if "n" threads or contexts 58 execute in the programming engine 16a, the first context 58, "PE0.1" completes processing of the data packet 54 before the data packets 54 from the "PE0.n" context arrives. With this approach the programming engine 16b can begin processing the "n+1" packet.
Dividing the execution time of the programming engine 16a, for example, into functional pipeline stages 60a-60c results in more than one of the programming engines 16 executing an equivalent functional pipeline unit 70 in parallel. The functional pipeline stage 60a is distributed across two programming engines 16a and 16b, with each of the programming engines 16a and 16b executing eight contexts each.
In operation, each of the data packets 54 remains with one of the contexts 58 for a longer period of time as more programming engines 16 are added to the functional pipeline units 50 and 70. In this example, the data packet 54 remains with a context sixteen data packet arrival times (8 contexts x 2 programming engines) because context PE0.1 is not required to accept another data packet 58 until the other contexts 58 have received their data packets.
In this example, function 62a of the functional pipeline stage 60a can be passed from the programming engine 16a to the programming engine 16b. Passing of the function 62a is accomplished by using Next Neighbor registers, as illustrated by dotted lines 80a-80c in FIG. 4.
The number of functional pipeline stages 60a-60m is equal to the number of the programming engines 16a and 16b in the functional pipeline units 50 and 70. This ensures that a particular pipeline stage executes in only one programming engine 16 at any one time.
Context Pipelining:
Each of the programming engine 16 supports multi-threaded execution of eight contexts. One reason for this is to allow one thread to start executing just after another thread issues a memory reference and must wait until that reference completes before doing more work. This behavior is critical to maintaining efficient hardware execution of the programming engines 16a-16f because memory latency is significant. Stated differently, if only a single thread execution was supported, the programming engine would sit idle for a significant number of cycles waiting for references to complete and thereby reduce overall computational throughput. Multi-threaded execution allows a programming engine to hide memory latency by performing useful independent work across several threads.
The programming engines 16a-16h (Fig. 1) each have eight available contexts. To allow for efficient context swapping, each of the eight contexts in the programming engine has its own register set, program counter, and context specific local registers. Having a copy per context eliminates the need to move context specific information to/from shared memory and programming engine registers for each context swap. Fast context swapping allows a context to do computation while other contexts wait for I/O, typically external memory accesses, to complete or for a signal from another context or hardware unit.
Referring now to FIG. 5, the context for a specific assigned task is maintained on the programming engines 16a-16c using CAM 45a-45c. The packets are processed in a pipelined fashion similar to an assembly line using NN registers 35a-35c to pass data from one programming engine to a subsequent, adjacent programming engine. Data are passed from one stage 90a to a subsequent stage 90b and then from stage 90b to stage 90c of the pipeline, and so forth. In other words, data are passed to the next stage of the pipeline allowing the steps in the processor cycle to overlap. In particular, while one instruction is being executed, the next instruction can be fetched, which means that more than one instruction can be in the "pipe" at any one time, each at a different stage of being processed.
For example, data can be passed forward from one programming engine 16 to the next programming engine 16 in the pipeline using the NN registers 35a-35c, as illustrated by example in FIG. 5. This method of implementing pipelined processing has the advantage that the information included in CAM 45a-45c for each stage 90a-c is consistently valid for all eight contexts of the pipeline stage. The context pipeline method may be utilized when minimal data from the packet being processed must advance through the context pipeline.
Referring to FIG. 6, as described above, context pipelining requires that the data resulting from a pipe stage, such as pipe stage P, be sent to the next pipe stage, e.g., pipe stage P+1 (100). Then, Next Neighbor registers can be written from the ALU output of the processing engine 16a in pipe stage P (102), and the Next Neighbor registers can be read as a source operand by the next programming engine 16b at the pipe stage P+1 (104).
Referring to FIG. 7, two processes may be used to determine the address of the Next Neighbor registers to be written in the programming engine 16b. In one process, each context of the programming engine 16a may write to the same Next Neighbor registers for the same context in programming engine 16b (200). In another method, a write pointer register in the programming engine 16a and a read pointer register in the programming engine 16b may be used (300) to implement an inter processing engine FIFO (302). The values of write pointer register in the programming engine 16a and the read pointer register in the programming engine 16b are used to produce a full indication checked by the programming engine 16 before inserting data onto the FIFO (304), and an empty indication may be used the programming engine 16b before removing data from the FIFO (306). The FIFO Next Neighbor configuration may provide the elasticity between contexts in the pipe stages P and P+1. When a context in the pipe stage P+1 finds the Next Neighbor FIFO is empty, that context can perform a No-op function, allowing the pipe stage to maintain a predetermined execution rate or "beat" even if the previous pipe stage may not be supplying an input at this same rate.
Other Embodiments:
In the examples described above in conjunction with FIGS. 1-7, the computer processing system 10 may implement programming engines 16 using a variety of network processors.
It is to be understood that while the invention has been described in conjunction with the detailed description thereof, the foregoing description is intended to illustrate and not limit the scope of the invention, which is defined by the scope of the appended claims. Other aspects, advantages, and modifications are within the scope of the following claims.

Claims (30)

  1. A processor (12) comprising:
    a plurality of programming engines (16)
    each programming engine (16a....16h) configured to process in parallel a plurality of threads, each programming engine including a plurality of registers (32, 34, 36, 38 40) for transferring data between the programming engine (16a...16h) and locations external to the programming engine characterized in that said plurality of programming engines is arranged to provide a pipeline (50) the plurality of registers comprising next neighbour registers (35) configured to receive data from an external entity and selected by a context-relative , said next neighbour registers being used to transfer data between the programming engine and a subsequent, adjacent Programming engine in the pipeline.
  2. The processor (12) of claim 1 wherein the plurality of registers (32, 34, 36, 38, 40) comprises next neighbour registers (35) arranged in a first-in-first-out configuration.
  3. The processor (12) of claim 1 wherein the plurality of registers (32, 34, 36, 38, 40) are configured to assign tasks for packet processing to the plurality of programming engines (16).
  4. The processor (12) of claim 1 wherein the plurality of registers (32, 34, 36, 38, 40) are configured to establish programming stages corresponding to the plurality of programming engines (16).
  5. The processor (12) of claim 1 wherein the plurality of registers (32, 34, 36, 38, 40) establish a plurality of pipelines between the programming stages.
  6. The processor (12) of claim 1 wherein the plurality of registers (32, 34, 36, 3 8, 40) of a first programming engine (16a...16h) maintain a currently operating programming stage of the pipeline (50) and the plurality of registers of a second adjacent progamming engine (16a ... 16h) maintain a subsequent programming stage of the pipeline (50).
  7. The processor (12) of claim 1 wherein the plurality of registers (32, 34, 36, 38, 40) support a functional pipeline (50) by a functional pipeline control unit that passes functional data among the plurality of programming engines (16).
  8. The processor (12) of claim 7 further comprising a synchronization unit across the functional pipeline unit.
  9. The processor (12) of claim 7 wherein the functional pipeline control unit includes a plurality of functional pipeline stages (60a...60m).
  10. The processor (12) of claim 7 wherein each of the plurality of functional pipeline stages (60a...60m) perform a different system function.
  11. The processor (12) of claim 7 wherein the plurality of programming engines (16) process a data packet in order.
  12. The processor (12) of claim 7 wherein the data packet are assigned to multiple contexts of the plurality of programming engines (16).
  13. The processor (12) of claim 7 wherein the plurality of programming engines (16) execute a data packet processing function using the functional pipeline unit of the system.
  14. The processor (12) of claim 7 wherein the plurality of programming engines (16) perform inter-thread signalling.
  15. A method of transferring data between programming engines (16), the method comprising:
    reading data from a plurality of data registers (32, 34, 36, 38, 40) of a first programming engine (16a...16h) for processing the data in a parallel processor having a plurality of programming engines arranged to provide a pipeline, which supports parallel execution of multiple contexts in each of the plurality of programming engines (16); and
    writing data to a plurality of data registers (32, 34, 36, 38, 40) of a second programming engine (16a...16h), the first and second programming engines being adjacent programming engines, the plurality of registers comprising next neighbour registers configured to receive data from an external entity and selected by a context relative operation, said next neighbour registers being used to transfer data between a programming engine and a subsequent, adjacent programming engine in the pipeline.
  16. The method of claim 15 wherein the plurality of registers (32, 34, 36, 38, 40) of the first and second programming engines are next neighbour registers (35) arranged in a first-in-first-out configuration.
  17. The method of claim 15 further comprising assigning tasks for packet processing to the plurality of programming engines (16).
  18. The method of claim 15 further comprising establishing programming stages corresponding to the plurality of programming engines (16) and to establish a plurality of pipelines between the programming stages.
  19. The method of claim 15 further comprising maintaining a currently operating programming stage of the pipeline in the plurality of registers (32, 34, 36, 3 8, 40) of the first programming engine (16a...16h) and maintaining a subsequent programming stage of the pipeline in the plurality of registers (32, 34, 36, 38, 40) of the second programming engine (16a ... 16h).
  20. The method of claim 15 wherein the reading and the writing of data includes supporting a functional pipeline (50) by a functional pipeline control unit that passes functional data among the plurality of programming engines (16).
  21. A computer program product stored on a computer readable medium, the program comprising instructions for causing a parallel processor to perform the method of claim 15.
  22. The computer program product of claim 21 further comprising instructions causing the processor (12) to transfer data between next neighbour registers (35) of the adjacent first and second programming engines.
  23. The computer program product of claim 21 wherein the plurality of registers (32, 34, 36, 38, 40) execute data transfers using a pipeline configuration of the registers (32, 34, 36, 38, 40) and programming engines (16).
  24. The computer program product of claim 21 further comprising instructions causing the processor (12) to configure the plurality of data registers (32, 34, 36, 38, 40) to assign tasks for packet processing to the plurality of programming engines (16).
  25. An article comprising:
    a storage medium having stored thereon instructions that when executed by a machine results in the following:
    transfer of data from one of a first plurality of registers (32, 34, 36, 38, 40) in an executing programming engine (16a...16h) to one of a second plurality of registers (32, 34, 36, 38, 40) residing in another programming engine (16a...16h), each programming engine configured to process in parallel a plurality of threads, at least one of the first or second plurality of registers comprising next neighbour registers configured to receive data from an external entity and selected by a context-relative operation;
    assigning of tasks for packet processing to the programming engines (16a...16h); and
    establishing programming stages corresponding to the plurality of programming engines (16a... 16h).
  26. The article of claim 25 further comprising instructions to transfer data from a next neighbour register (35) residing in a currently executing programming engine (16a...16h) of the programming engines (16) to a next neighbour register (35) residing in programming engine (16a...16h) adjacent to the currently executing programming engine (16a...16h).
  27. The article of claim 25 further comprising instructions to maintain, in the first plurality of registers (32, 34, 36, 38, 40), a currently operating programming stage of the pipeline (50) and to maintain, in the second plurality of registers (32, 34, 36, 38, 40), a subsequent programming stage of the pipeline (50).
  28. A multiprocessing system comprising:
    a synchronization unit to process data packets across a functional pipeline unit; and
    a plurality of programming engines (16) , each of the plurality of programming engines configured to process in parallel a plurality of threads, and includes a plurality of next neighbour registers (35) configured to perform the method of claim 15.
  29. The multiprocessing system of claim 28 further comprising shared memory locations utilized by a plurality of programming stages of the plurality of programming engines (16), the shared variables including a critical section defining the read-modify-write time of the memory locations
  30. The multiprocessing system of claim 28 wherein each of the plurality of programming engines further includes a content addressable memory (CAM) (45).
HK04102104.5A 2002-04-03 2003-03-27 Registers for data transfers within a multithreaded processor HK1061445B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US10/116,670 US7437724B2 (en) 2002-04-03 2002-04-03 Registers for data transfers
US10/116,670 2002-04-03
PCT/US2003/009478 WO2003085517A1 (en) 2002-04-03 2003-03-27 Registers for data transfers within a multithreaded processor

Publications (2)

Publication Number Publication Date
HK1061445A1 HK1061445A1 (en) 2004-09-17
HK1061445B true HK1061445B (en) 2009-06-26

Family

ID=

Similar Documents

Publication Publication Date Title
EP1381939B1 (en) Registers for data transfers within a multithreaded processor
US6934951B2 (en) Parallel processor with functional pipeline providing programming engines by supporting multiple contexts and critical section
EP1481323B1 (en) Pipelines of multithreaded processor cores for packet processing
US6671827B2 (en) Journaling for parallel hardware threads in multithreaded processor
EP1236088B9 (en) Register set used in multithreaded parallel processor architecture
EP1582980B1 (en) Context switching method, device, program, recording medium, and central processing unit
US6944850B2 (en) Hop method for stepping parallel hardware threads
US20050132380A1 (en) Method for hiding latency in a task-based library framework for a multiprocessor environment
JP2007200288A (en) System and method for grouping execution threads
EP1504349B1 (en) Signal aggregation
HK1061445B (en) Registers for data transfers within a multithreaded processor
EP0136218A2 (en) Multiple port pipelined processor
US7899995B1 (en) Apparatus, system, and method for dependent computations of streaming multiprocessors
HK1072298B (en) Pipelines of multithreaded processor cores for packet processing