摘要 |
PROBLEM TO BE SOLVED: To provide an arithmetic processing unit capable of performing context switch without intervening an OS thread. SOLUTION: This processing unit comprises a register group 113 including a plurality of register files for storing contexts involved by execution of instructions constituting an instruction flow, a context cache 100 for saving contexts stored in the register files, composed of registers, and an ncsp (next context stack pointer) storing information related to a storage destination in a memory unit 106 of a context to be read to the register file in occurrence of a context switch in the register file. When one of threads requests the context switch to another thread, hardware which is executing the thread which received the request reads the context from the context cache 100 and stores it in the register file based on information related to the storage destination stored in the ncsp. COPYRIGHT: (C)2006,JPO&NCIPI
|