Claims
- 1. Apparatus for providing efficient context switching between tasks in a manifold array (ManArray) one-by-one processor environment comprising:
a first set of registers stored in a first register file; a second set of registers stored in a second register file; a sequence processor/processing element (SP/PE) selection bit in an instruction; and a context select bit (CSB) in a processor state register which in conjunction with the SP/PE selection bit determines which set of registers is to be accessed by the instruction.
- 2. The apparatus of claim 1 in which the first register file is a sequence processor register file and the second register file is a processing element register file.
- 3. The apparatus of claim 1 further comprising means for allowing the first set of registers to be saved and restored from memory in the background while a task is using the second set of registers in the foreground; and for allowing the second set of registers to be saved and restored from memory in the background while a task is using the first set of registers in the foreground.
- 4. The apparatus of claim 3 wherein said means for allowing comprises a pair of background address registers to provide store and load addresses.
- 5. The apparatus of claim 1 further comprising a plurality of execution units and a multiplexer connected to select which registers the execution units read data from and write data to, the multiplexer controlled by a logical combination of the SP/PE selection bit and the CSB.
- 6. The apparatus of claim 1 wherein the SP/PE selection bit is used in a 1×1 array core having SP register files and PE register files to determine which register files the SP's or the PE's are to be accessed for each instruction execution when the CSB is inactive and to have both SP and PE instructions use the PE register files when the CSB is active.
- 7. The apparatus of claim 1 wherein the first or second register files may comprise reconfigurable compute register files (CRF), address register files (ARF), miscellaneous register files (MRF) or a combination of CRF, ARF and MRF files.
- 8. Apparatus for providing efficient context switching between tasks in a manifold array (ManArray) multiple processor environment in which a sequence processor (SP) and multiple processing elements (PE) are employed, said apparatus comprising:
a first set of registers stored in a first register file for the SP; a second set of registers stored in a second register file for each of the PEs; a sequence processor/processing element (SP/PE) selection bit in an instruction; and a software controllable context select bit (CSB) in a processor state register which in a logical combination with the SP/PE selection bit reconfigures the ManArray by selecting a first context in which the ManArray is configured in a first configuration or a second context in which the ManArray is configured in a second configuration.
- 9. The apparatus of claim 8 wherein said ManArray is a 1×2 array and said first configuration is a 1×2 and said second configuration is a 1×1.
- 10. The apparatus of claim 8 wherein said ManArray is a 1×5 array and said first configuration is a 1×5 and said second configuration is a 2×2.
- 11. A method for providing efficient context switching in a manifold array processor having a sequence processor and multiple processing elements, the method comprising:
setting a sequence processor/processing element (SP/PE) selection bit in an instruction; setting a context select bit (CSB); utilizing the SP/PE selection bit in conjunction with the context select bit to determine a context for operation; and configuring the manifold array processing depending upon the context.
- 12. The method of claim 11 further comprising the steps of:
identifying each PE of said manifold array with both a virtual identifier and a physical identifier; and identifying each PE utilizing its physical identifier in a first context and identifying each PE utilizing its virtual identifier in a second context.
- 13. The method of claim 12 wherein the first context is when the CSB bit is inactive and the second context is when the CSB bit is active.
RELATED APPLICATIONS
[0001] The present application claims the benefit of U.S. Provisional Application Serial No. 60/140,244 entitled “Methods and Apparatus for Providing One-By-One Manifold Array (1×1 ManArray) Program Context Switch Control” and filed Jun. 21, 1999 which is incorporated by reference herein in its entirety.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60140244 |
Jun 1999 |
US |
Continuations (1)
|
Number |
Date |
Country |
Parent |
09598558 |
Jun 2000 |
US |
Child |
10761564 |
Jan 2004 |
US |