Claims Analysis
Total Claims: 2
Claim 1
Independent Claim
425 words
In a data processing system including a memory, microcode, at least one central processing unit having an instruction execution means and an instruction pre-processing unit connected to a vector processor which has a vector status register, an extension of said instruction execution means and vector registers containing elements, and programs running in said central processing unit which have vector instructions that operate on said vector registers, the method for reducing the time for switching between programs, comprising the steps of: setting a change bit by execution of said microcode in response to a signal provided by said instruction pre-processing unit following the execution of one of said vector instructions, in one of said programs, in said instruction pre-processing unit, which changed an element in one of said vector registers corresponding to said change bit, said change bit residing in a first field of said vector status register for indicating that at least one element of said corresponding vector register is changed, and setting a bit in a second field of said vector status register, corresponding to said vector register for indicating that said vector register is in use, interrupting said one of said vector instructions and executing an interruptible privileged one of said vector instructions, in said extension of said instruction execution means which is controlled by said microcode in said vector processor, following said interruption, said execution of said privileged instruction providing for the writing of the elements of said vector register, corresponding to said change bit, into the same area of said memory from which said vector register was previously restored prior to said execution of said privileged instruction, when said change bit corresponding to said vector register is set, thereby saving said vector register only when said vector register is changed thus reducing program switching time, and resetting said change bit corresponding to said vector register without resetting said bit in said second field corresponding to said vector register whose contents were saved by execution of said privileged instruction and saving the contents of said vector status register in said central processing unit, and executing a different one of said programs that accesses said vector register which corresponds to said bit in said second field of said vector status register indicating that said vector register is in-use by said different one of said programs, said change bit in said first field of said vector status register corresponding to said vector register remaining reset indicating that no instruction in said different one of said programs has changed an element in said vector register.
Claim 2
Dependent Claim
425 words
In a data processing system including a memory, microcode, at least one central processing unit having an instruction execution means and an instruction pre-processing unit connected to a vector processor which has a vector status register, an extension of said instruction execution means and vector registers containing elements, and programs running in said central processing unit which have vector instructions that operate on said vector registers, the method for reducing the time for switching between programs, comprising the steps of: setting a change bit by execution of said microcode in response to a signal provided by said instruction pre-processing unit following the execution of one of said vector instructions, in one of said programs, in said instruction pre-processing unit, which changed an element in one of said vector registers corresponding to said change bit, said change bit residing in a first field of said vector status register for indicating that at least one element of said corresponding vector register is changed, and setting a bit in a second field of said vector status register, corresponding to said vector register for indicating that said vector register is in use, interrupting said one of said vector instructions and executing an interruptible privileged one of said vector instructions, in said extension of said instruction execution means which is controlled by said microcode in said vector processor, following said interruption, said execution of said privileged instruction providing for the writing of the elements of said vector register, corresponding to said change bit, into the same area of said memory from which said vector register was previously restored prior to said execution of said privileged instruction, when said change bit corresponding to said vector register is set, thereby saving said vector register only when said vector register is changed thus reducing program switching time, and resetting said change bit corresponding to said vector register without resetting said bit in said second field corresponding to said vector register whose contents were saved by execution of said privileged instruction and saving the contents of said vector status register in said central processing unit, and executing a different one of said programs that accesses said vector register which corresponds to said bit in said second field of said vector status register indicating that said vector register is in-use by said different one of said programs, said change bit in said first field of said vector status register corresponding to said vector register remaining reset indicating that no instruction in said different one of said programs has changed an element in said vector register.